/* ===================================
   AE WEB DESIGN - MODERN YOUNG BRAND
   Version 3.1 - Complete & Polished
   =================================== */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
    /* Modern Color Palette - Vibrant & Fresh */
    --primary: #6366F1;           /* Vibrant Indigo */
    --primary-light: #818CF8;     
    --primary-dark: #4F46E5;      
    --secondary: #EC4899;         /* Hot Pink */
    --accent: #14B8A6;            /* Teal */
    --success: #10B981;           /* Green */
    --warning: #F59E0B;           /* Amber */
    
    /* Neutrals - Modern Grays */
    --white: #FFFFFF;
    --bg-light: #F9FAFB;
    --bg-lighter: #F3F4F6;
    --text-dark: #111827;
    --text-body: #374151;
    --text-light: #6B7280;
    --border-color: #E5E7EB;
    
    /* Dark Mode Colors */
    --dark-bg: #0F172A;
    --dark-surface: #1E293B;
    --dark-border: #334155;
    
    /* Typography */
    --font-heading: 'Space Grotesk', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
    
    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 48px;
    --spacing-xl: 96px;
    
    /* Borders & Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    
    /* Shadows - Modern & Soft */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.3);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
}

/* ===================================
   RESET & BASE STYLES
   =================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--white);
    color: var(--text-body);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===================================
   MODERN NAVIGATION
   =================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.logo a {
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    transition: var(--transition-fast);
}

.logo img {
    height: 40px;
    width: auto;
}

.logo a:hover {
    color: var(--primary);
    transform: translateY(-1px);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.nav-menu li a {
    padding: 10px 18px;
    color: var(--text-body);
    font-weight: 500;
    font-size: 15px;
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
    position: relative;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: var(--primary);
    background: rgba(99, 102, 241, 0.08);
}

/* Theme Toggle - Modern Switch */
.theme-toggle {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: var(--bg-lighter);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    color: var(--text-body);
}

.theme-toggle:hover {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.05);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
}

.moon-icon {
    display: none;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: var(--bg-lighter);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    padding: 12px 10px;
    transition: var(--transition-fast);
    z-index: 1001;
}

.hamburger:hover {
    background: var(--primary);
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
    transform-origin: center;
}

.hamburger:hover span {
    background: var(--white);
}

/* Hamburger Active State (X animation) */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ===================================
   HERO SECTION - Modern & Eye-catching
   =================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 50%, #EC4899 100%);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(236, 72, 153, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(139, 92, 246, 0.2) 0%, transparent 50%);
    animation: pulse 10s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.1) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

/* Hero special elements */
.matrix-bg,
.terminal-output,
.hero-background {
    display: none;
}

.code-brackets {
    color: var(--secondary);
}

.typing-text {
    display: inline-block;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 100px;
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    animation: slideDown 0.6s ease-out;
}

.hero-badge span {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero-title {
    font-size: clamp(48px, 8vw, 80px);
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.1;
    animation: slideUp 0.8s ease-out 0.2s both;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, #FDE68A 0%, #FCA5A5 50%, #FBBF24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title .code-brackets {
    color: #FDE68A;
}

.hero-title .typing-text {
    color: var(--white);
}

.hero-subtitle {
    font-size: clamp(18px, 2.5vw, 24px);
    color: var(--white);
    margin-bottom: 40px;
    line-height: 1.6;
    animation: slideUp 0.8s ease-out 0.4s both;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

.hero-buttons,
.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: slideUp 0.8s ease-out 0.6s both;
}

/* Modern Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* ===================================
   SECTIONS - Clean & Modern
   =================================== */

section {
    padding: var(--spacing-xl) 0;
    position: relative;
}

section:nth-child(even) {
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px;
}

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary));
    color: var(--white);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-title {
    font-size: clamp(36px, 5vw, 56px);
    margin-bottom: 16px;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.7;
}

/* ===================================
   SERVICES - Modern Card Grid
   =================================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    color: var(--white);
}

.service-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--white);
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ===================================
   PRICING - Modern Cards
   =================================== */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.pricing-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    border: 2px solid var(--border-color);
    transition: var(--transition);
    position: relative;
}

.pricing-card.featured {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    transform: scale(1.05);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.pricing-card.featured h3,
.pricing-card.featured .price-setup,
.pricing-card.featured .price-recurring {
    color: var(--white);
}

.pricing-card:not(.featured):hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    right: 32px;
    background: linear-gradient(135deg, var(--secondary), var(--warning));
    color: var(--white);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-header h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.pricing-header p {
    font-size: 14px;
    color: var(--text-light);
}

.pricing-card.featured .pricing-header p {
    color: rgba(255, 255, 255, 0.9);
}

.pricing-price {
    margin: 32px 0;
    padding: 24px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.pricing-card.featured .pricing-price {
    border-color: rgba(255, 255, 255, 0.2);
}

.price-setup {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    color: var(--text-dark);
    display: block;
    line-height: 1;
}

.price-recurring {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-body);
    margin-top: 8px;
}

.pricing-features {
    list-style: none;
    margin: 24px 0;
}

.pricing-features li {
    padding: 12px 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
}

.pricing-features li::before {
    content: '✓';
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--success);
    color: var(--white);
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.pricing-card.featured .pricing-features li {
    color: rgba(255, 255, 255, 0.95);
}

.pricing-card .btn {
    width: 100%;
    justify-content: center;
    margin-top: 24px;
}

.pricing-card:not(.featured) .btn-primary {
    background: var(--primary);
    color: var(--white);
}

.pricing-card.featured .btn-primary {
    background: var(--white);
    color: var(--primary);
}

/* ===================================
   QUIZ - Interactive & Modern
   =================================== */

.quiz-wrapper {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 48px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    max-width: 900px;
    margin: 0 auto;
}

.quiz-progress {
    margin-bottom: 40px;
}

.quiz-progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
}

.quiz-progress-bar {
    height: 8px;
    background: var(--bg-lighter);
    border-radius: 100px;
    overflow: hidden;
}

.quiz-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 100px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.quiz-step-title {
    font-size: 28px;
    text-align: center;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.quiz-step-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 40px;
    font-size: 15px;
}

.quiz-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.quiz-option-card {
    cursor: pointer;
}

.quiz-option-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.quiz-option-card .option-content {
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
    min-height: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.quiz-option-card:hover .option-content {
    border-color: var(--primary);
    background: var(--white);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.quiz-option-card input:checked + .option-content {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-color: var(--primary);
    color: var(--white);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.option-icon {
    font-size: 48px;
}

.option-label {
    font-weight: 600;
    font-size: 16px;
    color: var(--text-dark);
}

.quiz-option-card input:checked + .option-content .option-label {
    color: var(--white);
}

.quiz-contact-form {
    max-width: 500px;
    margin: 32px auto 0;
}

.quiz-form-group {
    margin-bottom: 20px;
}

.quiz-form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-size: 14px;
}

.quiz-form-group input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 15px;
    transition: var(--transition-fast);
}

.quiz-form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.quiz-nav-buttons {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 32px;
}

.quiz-nav-buttons .btn {
    flex: 1;
}

/* ===================================
   CONTACT FORM
   =================================== */

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact-info {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border-radius: var(--radius-xl);
    padding: 48px;
}

.contact-info h3 {
    color: var(--white);
    font-size: 32px;
    margin-bottom: 24px;
}

.contact-item {
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item h4 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 8px;
    font-weight: 600;
}

.contact-item p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
}

.contact-form {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 48px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 15px;
    transition: var(--transition-fast);
    color: var(--text-dark);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-success {
    background: var(--success);
    color: var(--white);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    margin-top: 20px;
    font-weight: 600;
    display: none;
    text-align: center;
}

/* ===================================
   PORTFOLIO
   =================================== */

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.portfolio-item {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.portfolio-image {
    width: 100%;
    height: 280px;
    background: var(--bg-lighter);
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.05);
}

.portfolio-info {
    padding: 24px;
}

.portfolio-info h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.portfolio-info p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

/* ===================================
   ABOUT SECTION
   =================================== */

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-text h3 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.about-text p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-body);
    margin-bottom: 32px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.about-stats .stat {
    text-align: center;
    padding: 24px;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.about-stats .stat-number {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 8px;
}

.about-stats .stat-label {
    font-weight: 600;
    color: var(--text-body);
    font-size: 13px;
}

.about-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-visual-img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 968px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   STATS
   =================================== */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    margin: 48px 0;
}

.stat {
    text-align: center;
    padding: 32px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.stat:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    color: var(--primary);
    display: block;
    margin-bottom: 8px;
}

.stat-label {
    font-weight: 600;
    color: var(--text-body);
    font-size: 14px;
}

/* ===================================
   FOOTER
   =================================== */

.footer {
    background: var(--text-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 64px 0 32px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 48px;
    margin-bottom: 48px;
}

.footer-section h3,
.footer-section h4 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-fast);
}

.footer-section a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

.footer-legal-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

/* ===================================
   ANIMATIONS
   =================================== */

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-30px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

.fade-in-up {
    animation: slideUp 0.6s ease-out;
}

/* ===================================
   PROCESS SECTION
   =================================== */

.process-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    margin-bottom: 48px;
}

.process-text h3 {
    font-size: 32px;
    margin-bottom: 20px;
}

.process-text p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-body);
}

.process-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.process-image img {
    width: 100%;
    height: auto;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.process-step {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.process-step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.step-number {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 16px;
}

.process-step h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.process-step p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.6;
}

@media (max-width: 968px) {
    .process-content {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   DARK MODE
   =================================== */

body.dark-mode {
    background: var(--dark-bg);
    color: rgba(255, 255, 255, 0.9);
}

body.dark-mode .navbar {
    background: rgba(15, 23, 42, 0.9);
    border-bottom-color: var(--dark-border);
}

body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4 {
    color: var(--white);
}

body.dark-mode .hero-subtitle,
body.dark-mode .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

body.dark-mode p {
    color: rgba(255, 255, 255, 0.85);
}

body.dark-mode .section-title {
    color: var(--white);
}

body.dark-mode section:nth-child(even) {
    background: var(--dark-surface);
}

body.dark-mode .service-card,
body.dark-mode .pricing-card:not(.featured),
body.dark-mode .portfolio-item,
body.dark-mode .stat,
body.dark-mode .about-stats .stat,
body.dark-mode .process-step,
body.dark-mode .contact-form,
body.dark-mode .quiz-wrapper {
    background: var(--dark-surface);
    border-color: var(--dark-border);
}

body.dark-mode .form-group input,
body.dark-mode .form-group textarea,
body.dark-mode .quiz-form-group input {
    background: var(--dark-bg);
    border-color: var(--dark-border);
    color: var(--white);
}

body.dark-mode .theme-toggle,
body.dark-mode .hamburger {
    background: var(--dark-surface);
}

body.dark-mode .moon-icon {
    display: block;
}

body.dark-mode .sun-icon {
    display: none;
}

/* ===================================
   RESPONSIVE
   =================================== */

@media (max-width: 968px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        max-height: 0;
        overflow: hidden;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active {
        max-height: 500px;
    }
    
    .nav-menu li a {
        padding: 16px 24px;
        border-radius: 0;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .hero {
        min-height: 80vh;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .services-grid,
    .pricing-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .quiz-wrapper,
    .contact-info,
    .contact-form {
        padding: 32px 24px;
    }
    
    .quiz-options-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   UTILITIES
   =================================== */

.quiz-step {
    display: none;
}

.quiz-step.active {
    display: block;
    animation: slideUp 0.4s ease-out;
}

.text-center {
    text-align: center;
}

.hidden {
    display: none !important;
}

/* ===================================
   PORTFOLIO SPECIFIC STYLES
   =================================== */

.portfolio-link-wrapper {
    display: block;
    color: inherit;
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary);
    color: var(--white);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 12px;
}

/* ===================================
   PRICING SPECIFIC STYLES
   =================================== */

.pricing-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: var(--radius-md);
    margin: 0 auto 20px;
}

.pricing-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--white);
}

.price-from {
    font-size: 14px;
    color: var(--text-light);
    display: block;
    margin-bottom: 8px;
}

.price-amount {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 700;
    color: var(--primary);
    display: block;
    line-height: 1;
}

.pricing-card.featured .price-amount {
    color: var(--white);
}

.price-period {
    font-size: 14px;
    color: var(--text-light);
    display: block;
    margin-top: 4px;
}

.pricing-card.featured .price-period,
.pricing-card.featured .price-from {
    color: rgba(255, 255, 255, 0.8);
}

.package-best-for {
    background: var(--bg-light);
    padding: 16px;
    border-radius: var(--radius-md);
    margin: 20px 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-body);
}

.pricing-card.featured .package-best-for {
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.95);
}

.pricing-features li .check {
    margin-right: 8px;
}

.popular-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--secondary), var(--warning));
    color: var(--white);
    padding: 6px 20px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: var(--shadow-md);
}

/* ===================================
   PROCESS TIMELINE
   =================================== */

.process-timeline {
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 800px;
    margin: 0 auto 48px;
}

.process-timeline .process-step {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.process-timeline .step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    border-radius: 50%;
}

.step-content {
    flex: 1;
    padding-top: 8px;
}

.step-content h3 {
    font-size: 22px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.step-content p {
    color: var(--text-body);
    line-height: 1.7;
}

.process-cta {
    text-align: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border-radius: var(--radius-xl);
    padding: 48px 32px;
    margin-top: 48px;
}

.process-cta h3 {
    color: var(--white);
    font-size: 32px;
    margin-bottom: 12px;
}

.process-cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    margin-bottom: 24px;
}

/* ===================================
   QUIZ SPECIFIC STYLES
   =================================== */

.quiz-progress-container {
    margin-bottom: 40px;
}

.quiz-progress-bar-bg {
    height: 8px;
    background: var(--bg-lighter);
    border-radius: 100px;
    overflow: hidden;
    margin-bottom: 12px;
}

.quiz-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 100px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    width: 0%;
}

.quiz-progress-text {
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
}

.quiz-result-display {
    text-align: center;
    padding: 48px 32px;
}

.result-check-icon {
    font-size: 64px;
    margin-bottom: 24px;
}

.quiz-result-display h3 {
    font-size: 28px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.quiz-result-display p {
    font-size: 17px;
    color: var(--text-body);
    margin-bottom: 32px;
    line-height: 1.7;
}

.result-recommendation {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-bottom: 32px;
    border: 2px solid var(--border-color);
}

/* ===================================
   CONTACT SPECIFIC STYLES
   =================================== */

.contact-details {
    margin-top: 32px;
}

.contact-item {
    display: flex;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item svg {
    width: 24px;
    height: 24px;
    stroke: var(--white);
    flex-shrink: 0;
}

.error-message {
    display: none;
    color: #EF4444;
    font-size: 13px;
    margin-top: 6px;
}

.form-group.error .error-message {
    display: block;
}

.form-group.error input,
.form-group.error textarea {
    border-color: #EF4444;
}

/* ===================================
   PARTICLE CANVAS
   =================================== */

#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    opacity: 0.5;
}

/* ===================================
   RESPONSIVE IMPROVEMENTS
   =================================== */

@media (max-width: 768px) {
    .process-timeline .process-step {
        flex-direction: column;
        gap: 16px;
    }
    
    .process-timeline .step-number {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .popular-badge {
        top: 16px;
        left: 16px;
        transform: none;
    }
    
    .contact-info h3 {
        font-size: 24px;
    }
}
