:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fc;
    --bg-tertiary: #f0f2f7;
    --bg-card: #ffffff;
    --bg-card-hover: #f8f9fc;
    --bg-hero: #0b1120;
    --border-color: #e5e7ef;
    --border-hover: #c7cbe0;
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --text-muted: #9ca3af;
    --text-on-dark: #f9fafb;
    --text-on-dark-secondary: #d1d5db;
    --accent-primary: #2563eb;
    --accent-secondary: #0891b2;
    --accent-tertiary: #059669;
    --accent-warm: #dc2626;
    --gradient-main: linear-gradient(135deg, #1d4ed8, #2563eb);
    --gradient-text: linear-gradient(135deg, #1d4ed8, #0891b2);
    --gradient-hero-accent: linear-gradient(135deg, #3b82f6, #06b6d4, #22d3ee);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.1);
    --shadow-card: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-card-hover: 0 10px 30px rgba(0,0,0,0.08);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --font-sans: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

a { color: var(--accent-primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent-secondary); }

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255,255,255,0.96);
    box-shadow: 0 1px 12px rgba(0,0,0,0.06);
}

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

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
}

.brand-icon {
    display: flex;
    align-items: center;
    color: var(--accent-primary);
}

.brand-icon svg {
    width: 22px;
    height: 22px;
}

.brand-text { color: var(--text-primary); }

.navbar-nav {
    display: flex;
    list-style: none;
    gap: 2px;
}

.nav-link {
    display: block;
    padding: 8px 18px;
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--text-primary);
    background: var(--bg-secondary);
}

.nav-link.active {
    color: var(--accent-primary);
    background: rgba(37,99,235,0.06);
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.navbar-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-secondary);
    border-radius: 2px;
    transition: var(--transition);
}

.main-content { padding-top: 68px; }

.hero {
    position: relative;
    background: var(--bg-hero);
    padding: 140px 0 120px;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 1200px;
    height: 800px;
    background: radial-gradient(ellipse at center, rgba(37,99,235,0.12) 0%, rgba(6,182,212,0.06) 40%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, var(--bg-primary) 0%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(37,99,235,0.08);
    border: 1px solid rgba(37,99,235,0.2);
    border-radius: 100px;
    font-size: 0.82rem;
    color: #93c5fd;
    margin-bottom: 36px;
    font-weight: 500;
    position: relative;
    letter-spacing: 0.3px;
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22d3ee;
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero-title {
    font-size: clamp(2.8rem, 7vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 28px;
    letter-spacing: -1.5px;
    color: var(--text-on-dark);
    position: relative;
}

.hero-title .gradient {
    background: var(--gradient-hero-accent);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 200% 200%;
    animation: gradientShift 6s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-subtitle {
    font-size: clamp(1rem, 2.2vw, 1.15rem);
    color: var(--text-on-dark-secondary);
    max-width: 640px;
    margin: 0 auto 52px;
    line-height: 1.9;
    position: relative;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    position: relative;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 0.92rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-sans);
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-main);
    color: #fff;
    box-shadow: 0 4px 20px rgba(37,99,235,0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(37,99,235,0.45);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: var(--text-on-dark);
    border: 1px solid rgba(255,255,255,0.2);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.35);
    color: #fff;
}

.btn-outline-light {
    background: transparent;
    color: var(--accent-primary);
    border: 1px solid var(--border-color);
}

.btn-outline-light:hover {
    background: var(--bg-secondary);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.section {
    padding: 100px 0;
}

.section-alt {
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-primary);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-main);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-card-hover);
}

.feature-card:hover::before { transform: scaleX(1); }

.feature-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37,99,235,0.06);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent-primary);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.feature-icon svg.filled {
    fill: var(--accent-primary);
    stroke: none;
}

.hero-dark-section .feature-icon svg {
    stroke: #93c5fd;
}

.hero-dark-section .feature-icon svg.filled {
    fill: #93c5fd;
}

.contact-card .icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37,99,235,0.06);
    border-radius: var(--radius-md);
    margin: 0 auto 16px;
}

.contact-card .icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent-primary);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.team-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--gradient-main);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.team-avatar svg {
    width: 32px;
    height: 32px;
    stroke: #fff;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.feature-card p {
    font-size: 0.93rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    transition: var(--transition);
}

.product-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-card-hover);
}

.product-badge {
    display: inline-block;
    padding: 3px 10px;
    font-size: 0.72rem;
    font-weight: 600;
    border-radius: 100px;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.badge-active { background: #ecfdf5; color: #059669; border: 1px solid #a7f3d0; }
.badge-dev { background: #fffbeb; color: #d97706; border: 1px solid #fde68a; }
.badge-plan { background: #eff6ff; color: #2563eb; border: 1px solid #bfdbfe; }

.product-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.product-card .product-sub {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.product-card p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.stats-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    padding: 48px 0;
}

.stat-item {
    text-align: center;
    padding: 28px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.stat-item:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 6px;
}

.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    padding: 16px 24px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
    background: var(--bg-secondary);
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.comparison-table td {
    font-size: 0.92rem;
    color: var(--text-primary);
}

.comparison-table tr:last-child td { border-bottom: none; }

.comparison-table .highlight {
    color: var(--accent-primary);
    font-weight: 600;
}

.comparison-table .dim {
    color: var(--text-muted);
}

.tag {
    display: inline-block;
    padding: 3px 10px;
    font-size: 0.75rem;
    font-weight: 500;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    border-radius: 6px;
}

.tags-group {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 14px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.project-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-card-hover);
}

.project-card-header {
    padding: 24px 24px 16px;
    border-bottom: 1px solid var(--border-color);
}

.project-card-body { padding: 20px 24px 24px; }

.project-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.project-card .project-sub {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.project-card p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.section-divider {
    height: 1px;
    background: var(--border-color);
    margin: 0;
}

.quote-block {
    background: var(--bg-secondary);
    border-left: 3px solid var(--accent-primary);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: 28px 32px;
    margin: 48px 0;
}

.quote-block p {
    font-size: 1.05rem;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.8;
}

.quote-block cite {
    display: block;
    margin-top: 12px;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: normal;
}

.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 64px 0 32px;
}

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.footer-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.footer-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }

.footer-links a, .footer-links span {
    font-size: 0.88rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-links a:hover { color: var(--accent-primary); }

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    transition: var(--transition);
}

.contact-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-card-hover);
}

.contact-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.contact-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.contact-card .note {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 8px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.team-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
}

.team-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-card-hover);
}

.team-card h3 { font-size: 1.1rem; margin-bottom: 4px; color: var(--text-primary); }
.team-card .role { font-size: 0.88rem; color: var(--accent-primary); margin-bottom: 12px; }
.team-card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; }

.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-primary), var(--accent-secondary), var(--accent-tertiary));
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 24px;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -32px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent-primary);
    box-shadow: 0 0 0 4px rgba(37,99,235,0.15);
}

.timeline-item.future::before {
    background: var(--text-muted);
    box-shadow: 0 0 0 4px rgba(156,163,175,0.15);
}

.timeline-date {
    font-size: 0.85rem;
    color: var(--accent-primary);
    font-weight: 600;
    margin-bottom: 6px;
}

.timeline-item h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.timeline-item p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.filter-bar {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 48px;
}

.filter-btn {
    padding: 8px 20px;
    font-size: 0.88rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
    border-radius: 100px;
    background: var(--bg-card);
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-sans);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: #fff;
}

.project-card.hidden { display: none; }

.hero-dark-section {
    background: var(--bg-hero);
    padding: 100px 0;
    color: var(--text-on-dark);
}

.hero-dark-section .section-label { color: #93c5fd; }
.hero-dark-section .section-title { color: var(--text-on-dark); }
.hero-dark-section .section-desc { color: var(--text-on-dark-secondary); }

.hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.btn-ghost {
    background: transparent;
    color: rgba(255,255,255,0.6);
    border: 1px dashed rgba(255,255,255,0.2);
}

.btn-ghost:hover {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.4);
    color: #fff;
}

.carousel-wrap {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.carousel-container {
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(37,99,235,0.03) 0%, rgba(6,182,212,0.03) 100%);
    border: 1px solid var(--border-color);
    min-height: 140px;
    position: relative;
}

.carousel-container::before {
    content: '"';
    position: absolute;
    top: 12px;
    left: 20px;
    font-size: 3rem;
    color: var(--accent-primary);
    opacity: 0.12;
    font-family: Georgia, serif;
    line-height: 1;
    pointer-events: none;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
    flex: 0 0 100%;
    padding: 32px 36px 28px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide .quote-text {
    font-size: 1.1rem;
    line-height: 1.85;
    color: var(--text-primary);
    font-style: italic;
    margin-bottom: 12px;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.carousel-slide .quote-author {
    font-size: 0.9rem;
    color: var(--accent-primary);
    font-style: normal;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-color);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-dot:hover {
    background: var(--border-hover);
    transform: scale(1.3);
}

.carousel-dot.active {
    background: var(--accent-primary);
    border-color: rgba(37,99,235,0.2);
    transform: scale(1.4);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
    transition: var(--transition);
    background: var(--bg-card);
}

.faq-item:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-sm);
}

.faq-item.active {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 1px rgba(37,99,235,0.1), var(--shadow-md);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--accent-primary);
    background: rgba(37,99,235,0.02);
}

.faq-chevron {
    flex-shrink: 0;
    color: var(--text-muted);
    transition: transform 0.3s ease, color 0.3s ease;
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
    color: var(--accent-primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 24px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 24px 20px;
}

.faq-answer p {
    font-size: 0.93rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
    .navbar-nav {
        display: none;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 16px;
        border-bottom: 1px solid var(--border-color);
        box-shadow: var(--shadow-md);
    }

    .navbar-nav.open { display: flex; }
    .navbar-toggle { display: flex; }

    .hero { padding: 80px 0 60px; }
    .hero-title { font-size: 2rem; }
    .section { padding: 64px 0; }
    .features-grid, .products-grid, .projects-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .stats-bar { grid-template-columns: repeat(2, 1fr); }
    .comparison-table { font-size: 0.82rem; }
    .comparison-table th, .comparison-table td { padding: 10px 14px; }
    .faq-question { font-size: 0.93rem; padding: 16px 20px; }
    .faq-answer p { font-size: 0.88rem; }
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-actions .btn { width: 100%; max-width: 280px; justify-content: center; }
    .carousel-slide { padding: 24px 20px 20px; }
    .carousel-slide .quote-text { font-size: 1rem; line-height: 1.75; }
    .carousel-container { min-height: 120px; }
    .carousel-container::before { font-size: 2.5rem; top: 10px; left: 15px; }
}
