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

:root {
    --purple: #6940A5;
    --purple-dark: #523080;
    --purple-light: #8B6BC0;
    --orange: #D94F0F;
    --white: #FFFFFF;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-500: #6B7280;
    --gray-700: #374151;
    --gray-900: #111827;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --radius: 8px;
    --radius-lg: 12px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: var(--gray-700);
    background: var(--white);
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

.container,
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.625rem 1.5rem;
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background: var(--purple);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--purple-dark);
}

.btn-primary:focus-visible {
    outline: 2px solid var(--purple);
    outline-offset: 2px;
}

.btn-secondary {
    background: var(--white);
    color: var(--purple);
    border-color: var(--purple);
}

.btn-secondary:hover {
    background: var(--purple);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--purple);
}

.btn-lg {
    padding: 0.875rem 2rem;
    font-size: 1.05rem;
}

/* Header & Nav */
header {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo img {
    height: 40px;
}

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

.nav-links a {
    color: var(--gray-500);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
    padding: 0.25rem 0;
}

.nav-links a:hover,
.nav-links a.active,
.nav-links a:focus-visible {
    color: var(--purple);
}

.nav-actions {
    display: flex;
    gap: 0.75rem;
}

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

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    transition: all 0.3s;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--purple) 0%, #4A2D7A 50%, #2D1B4E 100%);
    color: var(--white);
    padding: 5rem 0;
    min-height: 600px;
}

.hero > * {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero .hero-content,
.hero .hero-image {
    max-width: none;
    margin: 0;
    padding: 0;
}

.hero > .section-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    max-width: 560px;
}

.hero-rotate {
    display: inline-block;
    transition: opacity 0.3s ease, transform 0.3s ease;
    color: var(--orange);
}

.hero h1 {
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.hero-sub {
    font-size: 1.15rem;
    color: #fff;
    opacity: 1;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    flex: 0 0 auto;
    padding-left: 2rem;
}

.hero-image img {
    width: 280px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* Features Preview */
.features-preview {
    padding: 6rem 2rem;
    background: var(--gray-50);
}

.features-preview h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--gray-900);
    text-align: center;
    margin-bottom: 0.75rem;
}

.section-sub {
    text-align: center;
    color: var(--gray-500);
    font-size: 1.1rem;
    margin-bottom: 3.5rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s, transform 0.2s;
}

.feature-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(105, 64, 165, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    color: var(--purple);
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--gray-500);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* CTA */
.cta {
    background: linear-gradient(135deg, var(--purple) 0%, #4A2D7A 100%);
    color: var(--white);
    text-align: center;
    padding: 5rem 2rem;
}

.cta h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.btn-white {
    background: var(--white);
    color: var(--purple);
}

.btn-white:hover {
    background: var(--gray-100);
}

/* Footer */
footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: 4rem 2rem 0;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    height: 36px;
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 280px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

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

.footer-col ul li {
    margin-bottom: 0.625rem;
}

.footer-col ul a {
    color: var(--gray-300);
    font-size: 0.95rem;
    transition: color 0.2s;
}

.footer-col ul a:hover {
    color: var(--white);
}

.footer-bottom {
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.85rem;
}

.footer-trademark {
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-top: 0.25rem;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    background: var(--purple);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-weight: 600;
    z-index: 10000;
    text-decoration: none;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 8px;
}

/* Responsive */
@media (max-width: 1024px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem 2rem 1.5rem;
        gap: 0;
        border-bottom: 1px solid var(--gray-200);
        box-shadow: var(--shadow-md);
    }

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

    .nav-links li {
        padding: 0.5rem 0;
    }

    .nav-actions {
        display: none;
    }

    .nav-links.open ~ .nav-actions,
    .nav-actions.mobile-visible {
        display: flex;
    }

    .hero {
        padding: 3rem 0;
        min-height: auto;
    }

    .hero > .section-container {
        flex-direction: column;
        text-align: center;
    }

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

    .hero-actions {
        justify-content: center;
    }

    .hero-image {
        padding-left: 0;
        margin-top: 2rem;
    }

    .hero-image img {
        width: 180px;
    }

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

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