/* Import modern geometric Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    /* Color Palette - Emerald Green (Trust, Wealth) & Slate Blue (Professional, Tech) */
    --primary-hue: 160;
    --primary: hsl(var(--primary-hue), 84%, 39%); /* Emerald */
    --primary-light: hsl(var(--primary-hue), 79%, 48%);
    --primary-dark: hsl(var(--primary-hue), 86%, 28%);
    --primary-glow: hsla(var(--primary-hue), 84%, 39%, 0.2);
    
    /* Light Theme Default */
    --bg-gradient: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%);
    --bg-main: #f8fafc;
    --bg-card: rgba(255, 255, 255, 0.8);
    --border-card: rgba(0, 0, 0, 0.08);
    --text-main: #1e293b;
    --text-muted: #64748b;
    --text-highlight: #0f172a;
    --nav-bg: rgba(248, 250, 252, 0.85);
    --footer-bg: #f1f5f9;
    --accent: #059669;
    --accent-glow: rgba(5, 150, 105, 0.1);
    --promo-bg: linear-gradient(135deg, rgba(209, 250, 229, 0.45) 0%, rgba(241, 245, 249, 0.8) 100%);
    
    /* Animation Speeds */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    --container-max-width: 1200px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --shadow-main: 0 10px 30px -15px rgba(0, 0, 0, 0.15);
    --shadow-hover: 0 20px 40px -15px rgba(5, 150, 105, 0.25);
}

/* Dark Theme Variables */
[data-theme="dark"] {
    --bg-gradient: linear-gradient(135deg, #0b111e 0%, #111827 50%, #1e293b 100%);
    --bg-main: #0b111e;
    --bg-card: rgba(30, 41, 59, 0.6);
    --border-card: rgba(255, 255, 255, 0.08);
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --text-highlight: #ffffff;
    --nav-bg: rgba(11, 17, 30, 0.8);
    --footer-bg: #070b14;
    --accent: #34d399;
    --accent-glow: rgba(52, 211, 153, 0.15);
    --promo-bg: linear-gradient(135deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.9) 100%);
    --shadow-main: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    --shadow-hover: 0 20px 40px -15px rgba(5, 150, 105, 0.3);
}

/* Global Reset & Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    height: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-main);
    background-image: var(--bg-gradient);
    background-attachment: fixed;
    color: var(--text-main);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--text-highlight);
    font-weight: 700;
    line-height: 1.25;
}

a {
    color: var(--primary-light);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--accent);
}

ul {
    list-style-type: none;
}

/* Wrapper / Container */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography Utilities */
.text-center { text-align: center; }
.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 10px auto 0 auto;
    border-radius: 2px;
}
.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-normal);
    cursor: pointer;
    border: none;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(5, 150, 105, 0.4);
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    color: #ffffff;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-card);
    color: var(--text-main);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-highlight);
    transform: translateY(-2px);
}

/* Glass Card */
.card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-card);
    border-radius: var(--border-radius-md);
    padding: 30px;
    box-shadow: var(--shadow-main);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(52, 211, 153, 0.3);
}

/* Header & Navigation */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--nav-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-card);
    transition: background-color var(--transition-normal);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-highlight);
    gap: 8px;
}

.logo svg {
    fill: var(--primary);
    width: 32px;
    height: 32px;
}

.logo span {
    color: var(--primary-light);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding: 6px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-light);
    transition: width var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-highlight);
}

/* Dropdown Navigation Menu */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--bg-main);
    border: 1px solid var(--border-card);
    border-radius: var(--border-radius-sm);
    padding: 8px 0;
    min-width: 150px;
    box-shadow: var(--shadow-main);
    display: none;
    z-index: 1000;
    flex-direction: column;
    gap: 2px;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.active .dropdown-menu {
    display: flex;
}

/* Hover bridge to cover the gap created by translateY(10px) */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
    background: transparent;
}

.dropdown-item {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 16px;
    text-align: left;
    white-space: nowrap;
    display: block;
    text-decoration: none;
    transition: background var(--transition-normal), color var(--transition-normal);
}

.dropdown-item:hover,
.dropdown-item.active {
    background: var(--accent-glow);
    color: var(--accent);
}

.dropdown-toggle {
    display: inline-block;
}


/* Theme Toggle Button */
.theme-toggle-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-card);
    transition: all var(--transition-normal);
}

.theme-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-light);
    transform: scale(1.05);
}

.theme-toggle-btn svg {
    width: 20px;
    height: 20px;
}

.theme-toggle-btn .sun-icon { display: none; }
.theme-toggle-btn .moon-icon { display: block; }

[data-theme="light"] .theme-toggle-btn .sun-icon { display: block; }
[data-theme="light"] .theme-toggle-btn .moon-icon { display: none; }

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-main);
    transition: all var(--transition-normal);
}

/* Page Section padding */
.py-section {
    padding: 80px 0;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 120px 0 100px 0;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.15;
}

.hero-content h1 span {
    color: var(--primary-light);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 540px;
}

.hero-btns {
    display: flex;
    gap: 16px;
}

.hero-illustration {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-shape-glow {
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    z-index: -1;
    filter: blur(40px);
    animation: pulse 8s infinite alternate ease-in-out;
}

.hero-svg {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.3));
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.2); opacity: 0.9; }
}

/* Services Three Pillars Section */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.pillar-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-sm);
    background: rgba(5, 150, 105, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--primary-light);
    border: 1px solid rgba(5, 150, 105, 0.2);
}

.pillar-icon svg {
    width: 32px;
    height: 32px;
}

.pillar-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.pillar-card p {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.pillar-link {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    gap: 8px;
    color: var(--primary-light);
}

.pillar-link svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-fast);
}

.pillar-link:hover svg {
    transform: translateX(4px);
}

/* Banner / Promo Teaser Box */
.promo-banner {
    margin-top: 80px;
    background: var(--promo-bg);
    border: 1px solid var(--border-card);
    border-radius: var(--border-radius-lg);
    padding: 60px;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 48px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.promo-banner::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(52, 211, 153, 0.15) 0%, transparent 75%);
    border-radius: 50%;
    filter: blur(20px);
}

.promo-badge {
    display: inline-block;
    padding: 6px 14px;
    background: var(--accent-glow);
    border: 1px solid rgba(52, 211, 153, 0.2);
    border-radius: 50px;
    color: var(--accent);
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.promo-banner h2 {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.promo-banner p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 24px;
}

.promo-banner .illustration-box {
    display: flex;
    justify-content: center;
}

/* Section Specific Layouts */

/* About Us Page */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-muted);
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.stat-card {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-card);
    border-radius: var(--border-radius-md);
}

.stat-number {
    font-size: 3rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    color: var(--primary-light);
    margin-bottom: 8px;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Services Page list */
.services-list-section {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.service-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.service-block:nth-child(even) {
    direction: rtl;
}

.service-block:nth-child(even) .service-desc {
    direction: ltr;
}

.service-desc h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--text-highlight);
}

.service-desc p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.service-features-list {
    margin-bottom: 24px;
}

.service-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--text-muted);
}

.service-features-list li svg {
    color: var(--primary-light);
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 3px;
}

/* Reference Page */
.references-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.reference-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 30px;
    height: 200px;
}

.reference-logo-placeholder {
    font-size: 1.5rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--text-highlight);
    margin-bottom: 12px;
}

.reference-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Contact Page Layout */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-item {
    display: flex;
    gap: 20px;
}

.contact-item-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius-sm);
    background: rgba(5, 150, 105, 0.1);
    color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item-icon svg {
    width: 24px;
    height: 24px;
}

.contact-item-text h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.contact-item-text p, .contact-item-text a {
    color: var(--text-muted);
}

.contact-map-placeholder {
    width: 100%;
    height: 250px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-card);
    border-radius: var(--border-radius-md);
    margin-top: 40px;
    overflow: hidden;
    position: relative;
}

.contact-map-placeholder iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: invert(90%) hue-rotate(180deg) grayscale(10%); /* Clean dark map integration */
}

[data-theme="light"] .contact-map-placeholder iframe {
    filter: none;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: var(--text-highlight);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid var(--border-card);
    border-radius: var(--border-radius-sm);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all var(--transition-normal);
}

[data-theme="light"] .form-control {
    background: rgba(255, 255, 255, 0.6);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-light);
    background: rgba(15, 23, 42, 0.6);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

[data-theme="light"] .form-control:focus {
    background: #ffffff;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Flash alerts */
.alert-container {
    margin-bottom: 24px;
}

.alert {
    padding: 16px 20px;
    border-radius: var(--border-radius-sm);
    font-weight: 500;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert-success {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
}

.alert-error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
}

/* Resources Links Page */
.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.link-card {
    display: flex;
    gap: 20px;
    padding: 24px;
    align-items: flex-start;
}

.link-card-icon {
    width: 48px;
    height: 48px;
    background: rgba(5, 150, 105, 0.1);
    color: var(--primary-light);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.link-card-icon svg {
    width: 24px;
    height: 24px;
}

.link-card-content h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.link-card-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.link-card-content a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 0.95rem;
}

.link-card-content a svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-fast);
}

.link-card-content a:hover svg {
    transform: translate(2px, -2px);
}

/* AI Page - Coming Soon Teaser Page style */
.ai-section {
    padding: 100px 0;
    text-align: center;
}

.ai-teaser-box {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px;
}

.ai-sparkle-icon {
    display: inline-flex;
    padding: 16px;
    background: radial-gradient(circle, rgba(52, 211, 153, 0.25) 0%, transparent 70%);
    border-radius: 50%;
    margin-bottom: 24px;
    color: var(--accent);
    animation: rotateSparkle 12s infinite linear;
}

.ai-sparkle-icon svg {
    width: 48px;
    height: 48px;
}

@keyframes rotateSparkle {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.ai-teaser-box h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.15;
}

.ai-teaser-box h1 span {
    color: var(--primary-light);
}

.ai-teaser-box .lead-text {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.ai-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 40px 0;
    text-align: left;
}

.ai-feat-card {
    padding: 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-card);
    border-radius: var(--border-radius-sm);
}

.ai-feat-card h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--text-highlight);
}

.ai-feat-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.ai-lead-form-box {
    max-width: 500px;
    margin: 40px auto 0 auto;
    text-align: left;
}

.ai-lead-form-box h3 {
    margin-bottom: 20px;
    text-align: center;
}

/* Clients Portal page */
.portal-box {
    max-width: 500px;
    margin: 0 auto;
}

.portal-header {
    text-align: center;
    margin-bottom: 30px;
}

.portal-header svg {
    width: 64px;
    height: 64px;
    color: var(--primary-light);
    margin-bottom: 16px;
}

.portal-actions {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.portal-divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 10px 0;
}

.portal-divider::before,
.portal-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border-card);
}

.portal-divider:not(:empty)::before {
    margin-right: 15px;
}

.portal-divider:not(:empty)::after {
    margin-left: 15px;
}

/* Footer styling */
.footer {
    margin-top: auto;
    background: var(--footer-bg);
    border-top: 1px solid var(--border-card);
    padding: 60px 0 30px 0;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}

.footer-about h3 {
    margin-bottom: 16px;
}

.footer-about p {
    margin-bottom: 16px;
}

.footer-links h4, .footer-contact h4 {
    color: var(--text-highlight);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-card);
    font-size: 0.85rem;
}

.footer-copyright {
    display: flex;
    gap: 16px;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .hero-grid, .about-grid, .service-block, .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .service-block:nth-child(even) {
        direction: ltr;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-btns {
        justify-content: center;
    }
    
    .pillars-grid {
        grid-template-columns: 1fr;
    }
    
    .promo-banner {
        grid-template-columns: 1fr;
        padding: 40px;
        text-align: center;
    }
    
    .promo-banner .illustration-box {
        order: -1;
    }
}

@media (max-width: 1024px) {
    .navbar {
        height: 70px;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-main);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 40px;
        transition: left var(--transition-slow);
        z-index: 999;
        border-top: 1px solid var(--border-card);
        background-image: var(--bg-gradient);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .ai-features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}
