/* ===================================
   Global Styles & Variables
   =================================== */
:root {
    --primary-color: #2e2574;
    --secondary-color: #8b5cf6;
    --dark-color: #1e293b;
    --light-color: #f8fafc;
    --text-color: #334155;
    --text-light: #64748b;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #2e2574 0%, #8b5cf6 100%);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

[data-theme="dark"] {
    --dark-color: #f8fafc;
    --light-color: #0f172a;
    --text-color: #e2e8f0;
    --text-light: #94a3b8;
    --white: #1e293b;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.7);
}

[data-theme="dark"] body {
    background-color: #0f172a;
}

[data-theme="dark"] .navbar {
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(10px);
}

[data-theme="dark"] .hero-background {
    opacity: 0.08;
}

[data-theme="dark"] .service-card,
[data-theme="dark"] .portfolio-item,
[data-theme="dark"] .stat,
[data-theme="dark"] .contact-form {
    background: #1e293b;
    border-color: #334155;
}

[data-theme="dark"] .about {
    background: #0f172a;
}

[data-theme="dark"] .portfolio {
    background: #0f172a;
}

[data-theme="dark"] .footer {
    background: #020617;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ===================================
   Typography
   =================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-color);
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient);
    background-size: 200% 200%;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: var(--transition);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
    animation: pulse 1s ease infinite;
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    gap: 20px;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: var(--transition);
}

.logo img {
    height: 50px;
    width: auto;
    transition: var(--transition);
}

.logo a:hover img {
    transform: scale(1.05);
}

[data-theme="dark"] .logo img {
    filter: brightness(1.2);
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--dark-color);
    transition: var(--transition);
    border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

.theme-toggle {
    width: 45px;
    height: 45px;
    background: var(--gradient);
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    margin-left: 20px;
}

.theme-toggle:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.6);
}

.theme-toggle svg {
    width: 22px;
    height: 22px;
    color: white;
    transition: var(--transition);
}

.theme-toggle .sun-icon {
    display: block;
}

.theme-toggle .moon-icon {
    display: none;
}

[data-theme="dark"] .theme-toggle .sun-icon {
    display: none;
}

[data-theme="dark"] .theme-toggle .moon-icon {
    display: block;
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    opacity: 0.05;
    z-index: -1;
    transition: transform 0.5s ease-out;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: var(--gradient);
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    animation: float 8s ease-in-out infinite;
}

.hero-background::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #8b5cf6 0%, #2e2574 100%);
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.2;
    animation: float 10s ease-in-out infinite reverse;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 0;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease;
    position: relative;
    display: inline-block;
}

.hero-title .typing-text {
    position: relative;
    display: inline-block;
}

.hero-title .cursor {
    display: inline-block;
    width: 3px;
    height: 1em;
    background: var(--primary-color);
    margin-left: 5px;
    animation: blink 1s infinite;
    vertical-align: text-bottom;
}

.hero-title .code-brackets {
    color: var(--primary-color);
    font-family: 'Courier New', monospace;
    opacity: 0.6;
    font-weight: 400;
}

.hero-title .matrix-effect {
    position: relative;
    display: inline-block;
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
}

.hero-title .matrix-effect .matrix-char {
    display: inline-block;
    position: relative;
    transition: all 0.1s ease;
}

.hero-title .matrix-effect .matrix-char.decoding {
    color: #10b981;
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.8);
}

@keyframes matrix-decode {
    0% {
        opacity: 0.5;
        transform: translateY(-2px);
    }
    50% {
        opacity: 1;
        transform: translateY(2px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.matrix-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    pointer-events: none;
    overflow: hidden;
    font-family: 'Courier New', monospace;
    color: var(--primary-color);
    font-size: 14px;
    line-height: 20px;
    z-index: -1;
}

.terminal-output {
    font-family: 'Courier New', monospace;
    font-size: 1.5rem;
    margin-bottom: 10px;
    opacity: 0.4;
    line-height: 1.8;
    height: 200px;
    min-height: 200px;
    max-height: 200px;
    overflow: hidden;
}

.terminal-output .terminal-line {
    display: block;
    color: var(--text-light);
    animation: fadeIn 0.3s ease;
}

.terminal-output .terminal-line .code-brackets {
    color: var(--primary-color);
    opacity: 0.6;
}

.terminal-output .terminal-line .highlight {
    background: linear-gradient(135deg, #2e2574 0%, #8b5cf6 50%, #2e2574 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    opacity: 0.6;
}

[data-theme="dark"] #particleCanvas {
    opacity: 0.4;
}

.highlight {
    background: linear-gradient(135deg, #2e2574 0%, #8b5cf6 50%, #2e2574 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: var(--text-light);
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

/* ===================================
   Section Styles
   =================================== */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* ===================================
   About Section
   =================================== */
.about {
    background: var(--light-color);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    margin-bottom: 20px;
    color: var(--dark-color);
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat {
    text-align: center;
    padding: 20px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.25);
    border: 2px solid rgba(99, 102, 241, 0.2);
}

.stat::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient);
    border-radius: 15px;
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
    filter: blur(10px);
}

.stat:hover::before {
    opacity: 0.3;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.stat-label {
    display: block;
    color: var(--text-light);
    font-size: 0.9rem;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-visual-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.about-visual-img:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 60px rgba(46, 37, 116, 0.3);
}

/* ===================================
   Services Section
   =================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    opacity: 0;
    border-radius: 20px;
    transition: var(--transition);
    z-index: -1;
}

.service-card:hover::before {
    opacity: 0.05;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: var(--gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-icon svg {
    width: 40px;
    height: 40px;
    color: var(--white);
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.service-card p {
    line-height: 1.8;
}

/* ===================================
   Portfolio Section
   =================================== */
.portfolio {
    background: var(--light-color);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.portfolio-item {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

.portfolio-item {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
}

.portfolio-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
    z-index: 1;
}

.portfolio-item:hover {
    transform: translateY(-15px) rotateZ(1deg);
    box-shadow: var(--shadow-lg);
}

.portfolio-item:hover::after {
    opacity: 0.1;
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.portfolio-image::before {
    content: 'Bekijk Project →';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(99, 102, 241, 0.95);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    opacity: 0;
    transition: var(--transition);
    z-index: 2;
    white-space: nowrap;
}

.portfolio-item:hover .portfolio-image::before {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: object-position 3s ease;
}

.portfolio-item:hover .portfolio-img {
    object-position: bottom;
}

.portfolio-link-wrapper {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.portfolio-info {
    padding: 25px;
}

.portfolio-info h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.portfolio-info p {
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.portfolio-tag {
    display: inline-block;
    padding: 5px 15px;
    background: var(--gradient);
    color: var(--white);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* ===================================
   Pricing Section
   =================================== */
.pricing {
    background: var(--white);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

@media (max-width: 920px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

.pricing-card {
    background: var(--white);
    border-radius: 25px;
    padding: 40px 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid #e2e8f0;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.pricing-card.featured {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.08) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: -15px;
    right: 30px;
    background: var(--gradient);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.pricing-header {
    text-align: center;
    margin-bottom: 30px;
}

.pricing-header h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.pricing-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pricing-icon svg {
    width: 35px;
    height: 35px;
    color: var(--white);
}

.pricing-price {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--light-color);
    border-radius: 15px;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.pricing-price .price-from {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-price .price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.pricing-price .price-period {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.pricing-price .price-recurring {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
}

.pricing-price .package-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    font-style: italic;
}

.package-best-for {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 25px;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-color);
    border-left: 3px solid var(--primary-color);
}

.package-best-for strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 5px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1;
}

.pricing-features li {
    padding: 12px 0;
    color: var(--text-color);
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features .check {
    color: #10b981;
    font-weight: 700;
    font-size: 1.2rem;
    margin-right: 10px;
    min-width: 20px;
}

.pricing-features .cross {
    color: #94a3b8;
    font-weight: 700;
    font-size: 1.2rem;
    margin-right: 10px;
    min-width: 20px;
}

.pricing-card .btn {
    width: 100%;
    text-align: center;
}

/* Pricing info grid styling */
.pricing-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.pricing-info-card {
    background: var(--white);
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.pricing-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.pricing-info-card:hover::before {
    transform: scaleX(1);
}

.pricing-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
    border-color: var(--primary-color);
}

.info-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: inline-block;
    animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.pricing-info-card h3 {
    font-size: 1.3rem;
    color: var(--dark-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.pricing-info-card > p {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 0;
}

.info-item {
    margin-bottom: 20px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-label {
    display: block;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.info-item p {
    color: var(--text-color);
    line-height: 1.7;
    margin: 0;
}

/* Highlight card styling */
.highlight-card {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    border: 2px solid var(--primary-color);
}

.highlight-card::before {
    transform: scaleX(1);
}

/* Accent card styling */
.accent-card {
    background: linear-gradient(135deg, #2e2574 0%, #8b5cf6 100%);
    color: white;
}

.accent-card h3,
.accent-card p,
.accent-card .info-label {
    color: white;
}

.accent-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

/* Dark mode support */
[data-theme="dark"] .pricing-info-card {
    background: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .highlight-card {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
}

/* Make accent card full width */
.accent-card {
    grid-column: 1 / -1;
}

/* Responsive */
@media (max-width: 768px) {
    .pricing-info-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-info-card {
        padding: 25px;
    }
    
    .accent-card {
        grid-column: 1;
    }
}

/* ===================================
   Quiz Section
   =================================== */
.quiz-section {
    background: var(--white);
    padding: 80px 0;
}

.quiz-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: var(--light-color);
    border-radius: 25px;
    padding: 40px;
    box-shadow: var(--shadow);
}

.quiz-progress-container {
    margin-bottom: 40px;
}

.quiz-progress-bar-bg {
    width: 100%;
    height: 10px;
    background: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
}

.quiz-progress-bar {
    height: 100%;
    background: var(--gradient);
    width: 16.66%;
    transition: width 0.4s ease;
}

.quiz-progress-text {
    text-align: center;
    color: var(--text-light);
    font-weight: 600;
}

.quiz-step {
    display: none;
}

.quiz-step.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

.quiz-step-title {
    font-size: 1.8rem;
    color: var(--dark-color);
    margin-bottom: 10px;
    text-align: center;
}

.quiz-step-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 30px;
    font-style: italic;
}

.quiz-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.quiz-option-card {
    position: relative;
    cursor: pointer;
}

.quiz-option-card input[type="radio"],
.quiz-option-card input[type="checkbox"] {
    position: absolute;
    opacity: 0;
}

.quiz-option-card .option-content {
    background: var(--white);
    border: 3px solid #e2e8f0;
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    transition: var(--transition);
    min-height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    position: relative;
}

.quiz-option-card input[type="radio"]:checked + .option-content,
.quiz-option-card input[type="checkbox"]:checked + .option-content {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    transform: scale(1.05);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

/* Checkmark indicator voor checkboxes */
.quiz-option-card input[type="checkbox"]:checked + .option-content::after {
    content: '✓';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.quiz-option-card:hover .option-content {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.quiz-option-card .option-icon {
    font-size: 2.5rem;
}

.quiz-option-card .option-label {
    font-weight: 600;
    color: var(--dark-color);
    font-size: 1.05rem;
}

.quiz-options-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.quiz-option-label {
    position: relative;
    cursor: pointer;
}

.quiz-option-label input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.quiz-option-label .option-content-full {
    background: var(--white);
    border: 3px solid #e2e8f0;
    border-radius: 15px;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
}

.quiz-option-label input[type="radio"]:checked + .option-content-full {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
}

.quiz-option-label:hover .option-content-full {
    border-color: var(--primary-color);
    transform: translateX(10px);
    box-shadow: var(--shadow);
}

.option-icon-large {
    font-size: 2.5rem;
    min-width: 60px;
    text-align: center;
}

.option-text-block {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.option-title {
    font-weight: 600;
    color: var(--dark-color);
    font-size: 1.1rem;
}

.option-description {
    color: var(--text-light);
    font-size: 0.9rem;
}

.quiz-nav-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

/* Verberg next buttons (auto-advance op click) behalve manual next */
.quiz-next-btn:not(.quiz-manual-next) {
    display: none;
}

.quiz-prev-btn,
.quiz-next-btn {
    min-width: 150px;
}

/* Toon submit button op laatste stap */
.quiz-step[data-step="8"] .quiz-nav-buttons {
    justify-content: space-between;
}

.quiz-step[data-step="8"] #quiz-submit-btn {
    display: block;
}

/* Quiz contact form styling */
.quiz-contact-form {
    max-width: 500px;
    margin: 30px auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.quiz-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.quiz-form-group label {
    font-weight: 600;
    color: var(--dark-color);
    font-size: 0.95rem;
}

.quiz-form-group input {
    padding: 15px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.quiz-form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.quiz-form-group input::placeholder {
    color: var(--text-light);
}

.quiz-result-display {
    text-align: center;
    padding: 40px 20px;
    animation: fadeIn 0.5s ease;
}

.result-check-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.quiz-result-display h3 {
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.quiz-result-display p {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 30px;
    line-height: 1.6;
}

.result-recommendation {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    padding: 25px;
    margin: 30px 0;
    text-align: left;
}

.result-recommendation h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.result-recommendation p {
    margin-bottom: 10px;
    font-size: 1rem;
}

/* ===================================
   Process Section
   =================================== */
.process {
    background: var(--light-color);
    position: relative;
}

.process-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
    overflow-x: hidden;
}

.process-step {
    display: flex;
    gap: 30px;
    margin-bottom: 60px;
    position: relative;
    max-width: 100%;
    overflow: hidden;
}

.process-step::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 70px;
    bottom: -60px;
    width: 2px;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.process-step:last-child::before {
    display: none;
}

.step-number {
    width: 70px;
    height: 70px;
    min-width: 70px;
    max-width: 70px;
    flex-shrink: 0;
    background: var(--gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
    position: relative;
    z-index: 1;
}

.step-content {
    flex: 1;
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    max-width: 100%;
    overflow: hidden;
    word-wrap: break-word;
}

.step-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.step-content > p {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 20px;
}

.step-action {
    background: var(--light-color);
    padding: 20px;
    border-radius: 12px;
    border-left: 3px solid var(--primary-color);
}

.step-action strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 12px;
    font-size: 1.05rem;
}

.step-action ul {
    list-style: none;
    padding-left: 0;
}

.step-action ul li {
    padding: 6px 0;
    color: var(--text-color);
}

.choice-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

.choice-card {
    background: var(--white);
    padding: 25px;
    border-radius: 15px;
    border: 2px solid #e2e8f0;
    transition: var(--transition);
    position: relative;
}

.choice-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.choice-card.recommended {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
}

.choice-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--gradient);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.choice-card h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.choice-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.choice-card ul {
    list-style: none;
    padding-left: 0;
}

.choice-card ul li {
    font-size: 0.85rem;
    padding: 5px 0;
    color: var(--text-color);
}

.process-cta {
    text-align: center;
    margin-top: 60px;
    padding: 50px 30px;
    background: var(--white);
    border-radius: 25px;
    box-shadow: var(--shadow);
}

.process-cta h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.process-cta p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
}



/* ===================================
   Legal Pages Styling
   =================================== */
.legal-content {
    padding: 100px 0 80px;
    background: var(--white);
}

.legal-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: var(--light-color);
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.legal-wrapper h1 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.legal-updated {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 30px;
    font-style: italic;
}

.legal-intro {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    margin-bottom: 40px;
}

.legal-intro p {
    margin: 0;
    line-height: 1.7;
    color: var(--text-color);
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.legal-section h3 {
    font-size: 1.3rem;
    color: var(--dark-color);
    margin-top: 25px;
    margin-bottom: 15px;
}

.legal-section p {
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 15px;
}

.legal-section ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.legal-section ul li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 10px;
    line-height: 1.7;
    color: var(--text-color);
}

.legal-section ul li::before {
    content: '▸';
    position: absolute;
    left: 10px;
    color: var(--primary-color);
    font-weight: bold;
}

.legal-section a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.legal-section a:hover {
    text-decoration: underline;
}

.legal-contact {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    margin-top: 50px;
    border: 2px solid var(--primary-color);
}

.legal-contact h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.legal-contact p {
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 10px;
}

.legal-contact strong {
    color: var(--dark-color);
    display: block;
    margin-bottom: 5px;
}

/* Dark mode voor legal pages */
[data-theme="dark"] .legal-content {
    background: var(--dark-color);
}

[data-theme="dark"] .legal-wrapper {
    background: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .legal-intro {
    background: rgba(99, 102, 241, 0.2);
}

[data-theme="dark"] .legal-contact {
    background: rgba(255, 255, 255, 0.03);
}

/* ===================================
   Contact Section
   =================================== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h3 {
    margin-bottom: 20px;
    font-size: 2rem;
}

.contact-info > p {
    margin-bottom: 40px;
    line-height: 1.8;
    font-size: 1.1rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: start;
}

.contact-item svg {
    width: 40px;
    height: 40px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-item h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.contact-item p {
    color: var(--text-light);
    margin: 0;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.error-message {
    display: block;
    color: #ef4444;
    font-size: 0.85rem;
    margin-top: 5px;
    min-height: 20px;
}

.form-group.error input,
.form-group.error textarea {
    border-color: #ef4444;
}

.contact-form .btn {
    width: 100%;
    margin-top: 10px;
}

.form-success {
    margin-top: 20px;
    padding: 15px;
    background: #10b981;
    color: var(--white);
    border-radius: 10px;
    text-align: center;
}

.form-success p {
    margin: 0;
    color: var(--white);
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-section p,
.footer-section li {
    color: #94a3b8;
    margin-bottom: 10px;
}

.footer-section a {
    color: #94a3b8;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #334155;
}

.footer-legal-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.footer-legal-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-legal-links a:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer-legal-links span {
    color: #475569;
}

.footer-bottom p {
    color: #94a3b8;
    margin: 0;
}

/* ===================================
   FAQ Page Styling
   =================================== */
.faq-page {
    padding: 100px 0 80px;
    background: var(--white);
}

.faq-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.faq-category {
    margin-bottom: 50px;
}

.faq-category-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--primary-color);
}

.faq-item {
    background: var(--light-color);
    border-radius: 15px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: var(--transition);
    border: 2px solid transparent;
}

.faq-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
}

.faq-item.active {
    border-color: var(--primary-color);
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 25px;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 0 25px 25px 25px;
}

.faq-answer p {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 15px;
}

.faq-answer ul {
    list-style: none;
    padding-left: 0;
    margin: 15px 0;
}

.faq-answer ul li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 10px;
    line-height: 1.6;
    color: var(--text-color);
}

.faq-answer ul li::before {
    content: '✓';
    position: absolute;
    left: 5px;
    color: var(--primary-color);
    font-weight: bold;
}

.faq-answer a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.faq-answer a:hover {
    text-decoration: underline;
}

.faq-contact-cta {
    text-align: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    padding: 50px 30px;
    border-radius: 20px;
    margin-top: 60px;
    border: 2px solid var(--primary-color);
}

.faq-contact-cta h3 {
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.faq-contact-cta p {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 25px;
}

/* Cookie table styling */
.cookie-table {
    overflow-x: auto;
    margin: 20px 0;
}

.cookie-table table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
}

.cookie-table th,
.cookie-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.cookie-table th {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
}

.cookie-table tr:last-child td {
    border-bottom: none;
}

.cookie-table tr:hover {
    background: var(--light-color);
}

/* ===================================
   Cookie Consent Banner
   =================================== */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark-color);
    color: white;
    padding: 25px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.cookie-consent-text {
    flex: 1;
    min-width: 300px;
}

.cookie-consent-text h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.cookie-consent-text p {
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 10px;
}

.cookie-consent-text a {
    color: var(--primary-color);
    text-decoration: underline;
}

.cookie-consent-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 12px 30px;
    border-radius: 50px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.cookie-btn-accept {
    background: var(--gradient);
    color: white;
}

.cookie-btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.4);
}

.cookie-btn-decline {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn-decline:hover {
    background: rgba(255, 255, 255, 0.2);
}

.cookie-btn-settings {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn-settings:hover {
    border-color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
    .cookie-consent-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-consent-buttons {
        justify-content: center;
        width: 100%;
    }
    
    .cookie-btn {
        flex: 1;
        min-width: 120px;
    }
}

/* Dark mode voor FAQ en cookie banner */
[data-theme="dark"] .faq-page {
    background: var(--dark-color);
}

[data-theme="dark"] .faq-item {
    background: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .faq-contact-cta {
    background: rgba(99, 102, 241, 0.2);
}

[data-theme="dark"] .cookie-table table {
    background: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .cookie-table tr:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* ===================================
   Animations
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(5deg);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-10deg) scale(0.9);
    }
    to {
        opacity: 1;
        transform: rotate(0) scale(1);
    }
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

@keyframes glitch-anim {
    0% {
        clip: rect(42px, 9999px, 44px, 0);
    }
    5% {
        clip: rect(12px, 9999px, 59px, 0);
    }
    10% {
        clip: rect(48px, 9999px, 29px, 0);
    }
    15% {
        clip: rect(42px, 9999px, 73px, 0);
    }
    20% {
        clip: rect(63px, 9999px, 27px, 0);
    }
    25% {
        clip: rect(34px, 9999px, 55px, 0);
    }
    30% {
        clip: rect(86px, 9999px, 73px, 0);
    }
    35% {
        clip: rect(20px, 9999px, 20px, 0);
    }
    40% {
        clip: rect(26px, 9999px, 60px, 0);
    }
    45% {
        clip: rect(25px, 9999px, 66px, 0);
    }
    50% {
        clip: rect(57px, 9999px, 98px, 0);
    }
    55% {
        clip: rect(5px, 9999px, 46px, 0);
    }
    60% {
        clip: rect(82px, 9999px, 31px, 0);
    }
    65% {
        clip: rect(54px, 9999px, 27px, 0);
    }
    70% {
        clip: rect(28px, 9999px, 99px, 0);
    }
    75% {
        clip: rect(45px, 9999px, 69px, 0);
    }
    80% {
        clip: rect(23px, 9999px, 85px, 0);
    }
    85% {
        clip: rect(54px, 9999px, 84px, 0);
    }
    90% {
        clip: rect(45px, 9999px, 47px, 0);
    }
    95% {
        clip: rect(37px, 9999px, 20px, 0);
    }
    100% {
        clip: rect(4px, 9999px, 91px, 0);
    }
}

@keyframes matrix-rain {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(100vh);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease;
}

.fade-in-left {
    animation: fadeInLeft 0.8s ease;
}

.fade-in-right {
    animation: fadeInRight 0.8s ease;
}

.fade-in-scale {
    animation: fadeInScale 0.6s ease;
}

.slide-in-bottom {
    animation: slideInFromBottom 0.8s ease;
}

.rotate-in {
    animation: rotateIn 0.7s ease;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 30px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .theme-toggle {
        margin-left: auto;
        margin-right: 15px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .terminal-output {
        font-size: 0.9rem;
        height: 120px;
        min-height: 120px;
        max-height: 120px;
    }

    .hero-content {
        min-height: 500px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-card {
        padding: 30px 20px;
    }

    .about-content {
        flex-direction: column;
    }

    .about-text,
    .about-image {
        max-width: 100%;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .process-timeline {
        padding: 0;
    }

    .process-timeline {
        padding: 0;
        overflow-x: hidden;
    }

    .process-step {
        flex-direction: column;
        padding-left: 0;
        margin-bottom: 40px;
    }

    .process-step::before {
        display: none;
    }

    .step-number {
        position: relative;
        left: 0;
        margin-bottom: 15px;
        flex-shrink: 0;
        width: 60px;
        height: 60px;
        min-width: 60px;
        max-width: 60px;
        font-size: 1.5rem;
    }

    section {
        padding: 60px 0;
    }

    .contact-form {
        padding: 30px 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .quiz-options-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .quiz-option-card .option-content {
        padding: 20px 15px;
    }

    .quiz-step-title {
        font-size: 1.3rem;
    }

    .nav-menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .terminal-output {
        font-size: 0.75rem;
        height: 80px;
        min-height: 80px;
        max-height: 80px;
        line-height: 1.4;
    }

    .hero-content {
        min-height: 450px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .pricing-price .price-amount {
        font-size: 2rem;
    }

    .pricing-price .price-recurring {
        font-size: 1rem;
    }

    .pricing-card {
        padding: 25px 15px;
    }

    .pricing-features {
        font-size: 0.9rem;
    }

    .service-card,
    .portfolio-item {
        padding: 20px 15px;
    }

    .footer-legal-links {
        flex-wrap: wrap;
        gap: 8px;
        font-size: 0.85rem;
    }

    .stat {
        padding: 15px 10px;
    }

    .quiz-wrapper {
        padding: 30px 20px;
    }

    .quiz-option-card .option-content {
        padding: 18px 12px;
    }

    .option-icon {
        font-size: 2rem;
    }

    .quiz-step-title {
        font-size: 1.2rem;
    }
}

/* ===================================
   Scroll Reveal Classes
   =================================== */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1 !important;
    transform: translateY(0) !important;
    transition: all 0.8s ease;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.reveal-left.active {
    opacity: 1 !important;
    transform: translateX(0) !important;
    transition: all 0.8s ease;
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.reveal-right.active {
    opacity: 1 !important;
    transform: translateX(0) !important;
    transition: all 0.8s ease;
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.85);
    transition: all 0.8s ease;
}

.reveal-scale.active {
    opacity: 1 !important;
    transform: scale(1) !important;
    transition: all 0.8s ease;
}

/* Stagger animations */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* ===================================
   Utility Classes
   =================================== */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
