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

:root {
    /* Primary Colors */
    --teal-500: #00B6B4;
    --teal-600: #00A09D;
    --teal-700: #008D82;
    --blue-500: #0A84FF;
    --blue-600: #006AD4;
    --blue-700: #0050A3;
    --safe-500: #1589C4;
    
    /* Neutral Colors */
    --neutral-50: #F8F8FA;
    --neutral-100: #F2F2F7;
    --neutral-200: #E5E5EA;
    --neutral-600: #8E8E93;
    --neutral-700: #636366;
    --neutral-800: #48484A;
    --neutral-900: #3A3A3C;
    
    /* Accent Colors */
    --red-500: #E70E00;
    --orange-500: #FEA009;
    --green-500: #32D74B;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--neutral-900);
    background-color: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.2;
}

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

/* Navigation */
nav {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    height: 120px;
    width: auto;
}

.logo .logo-dark {
    display: none;
}

[data-theme="dark"] .logo .logo-light {
    display: none;
}

[data-theme="dark"] .logo .logo-dark {
    display: block;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--neutral-800);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--teal-600);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Hero Section */
.hero {
    margin-top: 120px;
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--blue-600) 0%, var(--teal-600) 100%);
    color: white;
}

.hero-content {
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-description {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.7;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: white;
    color: var(--teal-600);
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: transparent;
    color: white;
    padding: 1rem 2rem;
    border: 2px solid white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background 0.3s ease;
    display: inline-block;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
}

/* Solutions Section */
.solutions {
    padding: 5rem 0;
    background: var(--neutral-50);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--neutral-700);
    max-width: 600px;
    margin: 0 auto;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    padding: 0.5rem 0 1rem;
}

.solutions-grid {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.solution-card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    width: calc((100% - 4rem) / 3);
    min-width: calc((100% - 4rem) / 3);
    margin-right: 2rem;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.solution-card:last-child {
    margin-right: 2rem;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--teal-600), var(--blue-600));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.carousel-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.carousel-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid var(--neutral-200);
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--neutral-700);
}

.carousel-btn:hover {
    border-color: var(--teal-600);
    color: var(--teal-600);
    box-shadow: 0 4px 12px rgba(0, 182, 180, 0.2);
}

.carousel-btn:disabled {
    opacity: 0.3;
    cursor: default;
    border-color: var(--neutral-200);
    color: var(--neutral-700);
    box-shadow: none;
}

.carousel-btn svg {
    width: 16px;
    height: 16px;
}

.carousel-dots {
    display: flex;
    gap: 0.5rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--neutral-200);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-dot.active {
    background: var(--teal-600);
    width: 28px;
    border-radius: 5px;
}

.solution-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.solution-icon svg {
    width: 38px;
    height: 38px;
}

.icon-k12 {
    background: linear-gradient(135deg, #64D2FF, #0A84FF);
    color: white;
}

.icon-gov {
    background: linear-gradient(135deg, #32D74B, #25B53D);
    color: white;
}

.icon-religious {
    background: linear-gradient(135deg, #FEA009, #D48400);
    color: white;
}

.icon-medical {
    background: linear-gradient(135deg, #E70E00, #B90B00);
    color: white;
}

.solution-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--neutral-900);
    margin-bottom: 1rem;
}

.solution-card p {
    color: var(--neutral-700);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.solution-link {
    color: var(--teal-600);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.solution-link:hover {
    gap: 1rem;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.feature {
    text-align: left;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--teal-600);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 1.5rem;
}

.feature-icon svg {
    width: 26px;
    height: 26px;
}

.feature h3 {
    font-size: 1.3rem;
    color: var(--neutral-900);
    margin-bottom: 1rem;
}

.feature p {
    color: var(--neutral-700);
    line-height: 1.7;
}

/* Footer */
footer {
    background: var(--neutral-900);
    color: white;
    padding: 3rem 0 2rem;
    margin-top: 5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--teal-500);
}

.footer-brand .footer-logo {
    height: 80px;
    width: auto;
}

.footer-brand p {
    color: var(--neutral-200);
    line-height: 1.7;
}

.footer-column h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-column ul {
    list-style: none;
}

.footer-column a {
    color: var(--neutral-200);
    text-decoration: none;
    line-height: 2;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--teal-500);
}

.footer-social {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.footer-social a {
    color: var(--neutral-200);
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--teal-500);
}

.footer-social svg {
    width: 22px;
    height: 22px;
}

.footer-bottom {
    border-top: 1px solid var(--neutral-800);
    padding-top: 2rem;
    text-align: center;
    color: var(--neutral-200);
}

.footer-bottom a {
    color: var(--neutral-200);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--teal-500);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--neutral-800);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
    .solution-card {
        width: calc((100% - 2rem) / 2);
        min-width: calc((100% - 2rem) / 2);
        margin-right: 2rem;
    }

    .nav-links {
        gap: 1.25rem;
    }

    .nav-links a {
        font-size: 0.9rem;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem 20px;
        gap: 0;
        box-shadow: 0 8px 20px rgba(0,0,0,0.1);
        border-top: 1px solid var(--neutral-200);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links li a {
        display: block;
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--neutral-100);
    }

    .logo img {
        height: 80px;
    }

    .hero {
        margin-top: 100px !important;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons a {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .solution-card {
        width: 100%;
        min-width: 100%;
        margin-right: 2rem;
    }

    .carousel-btn {
        display: none;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 16px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-brand {
        grid-column: span 2;
    }
}

/* Responsive - Small Mobile */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.75rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: span 1;
    }
}

/* Dark Mode */
[data-theme="dark"] {
    --neutral-50: #1C1C1E;
    --neutral-100: #2C2C2E;
    --neutral-200: #3A3A3C;
    --neutral-600: #98989D;
    --neutral-700: #AEAEB2;
    --neutral-800: #D1D1D6;
    --neutral-900: #E5E5EA;
    --teal-500: #30D5C8;
    --teal-600: #00C9B7;
    --teal-700: #00B6A6;
    --blue-500: #409CFF;
    --blue-600: #3D8BFF;
    --safe-500: #4AB8E8;
}

[data-theme="dark"] body {
    background-color: #121214;
    color: var(--neutral-900);
}

[data-theme="dark"] nav {
    background: #1C1C1E;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

[data-theme="dark"] .nav-links a {
    color: var(--neutral-800);
}

[data-theme="dark"] .nav-links a:hover,
[data-theme="dark"] .nav-links a.active {
    color: var(--teal-500);
}

[data-theme="dark"] .hamburger span {
    background: var(--neutral-800);
}

@media (max-width: 768px) {
    [data-theme="dark"] .nav-links {
        background: #1C1C1E;
        border-top-color: #3A3A3C;
    }
    [data-theme="dark"] .nav-links li a {
        border-bottom-color: #2C2C2E;
    }
}

[data-theme="dark"] footer {
    background: #0A0A0C;
}

[data-theme="dark"] .footer-links a {
    color: #AEAEB2;
}

[data-theme="dark"] .footer-links a:hover {
    color: var(--teal-500);
}

[data-theme="dark"] .footer-bottom {
    border-top-color: #2C2C2E;
}

.theme-toggle {
    background: none;
    border: 1px solid var(--neutral-200);
    border-radius: 20px;
    cursor: pointer;
    padding: 6px 10px;
    display: flex;
    align-items: center;
    font-size: 0;
    color: var(--neutral-700);
    transition: all 0.3s ease;
    margin-left: 0.75rem;
}

.theme-toggle:hover {
    border-color: var(--teal-600);
    color: var(--teal-600);
}

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

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

[data-theme="dark"] .theme-toggle {
    border-color: #3A3A3C;
    color: #AEAEB2;
}

[data-theme="dark"] .theme-toggle:hover {
    border-color: var(--teal-500);
    color: var(--teal-500);
}

[data-theme="dark"] .features,
[data-theme="dark"] .solutions {
    background: #121214;
}
[data-theme="dark"] .solution-card {
    background: #1C1C1E;
    border-color: #3A3A3C;
}
[data-theme="dark"] .feature-card {
    background: #1C1C1E;
    border-color: #3A3A3C;
}
[data-theme="dark"] .section-header h2 {
    color: var(--neutral-900);
}
[data-theme="dark"] .section-header p {
    color: var(--neutral-700);
}
