:root {
    --primary: #3B82F6;
    --primary-dark: #2563EB;
    --primary-light: #60A5FA;
    --secondary: #1E293B;
    --text-main: #0F172A;
    --text-muted: #64748B;
    --bg-light: #F8FAFC;
    --white: #FFFFFF;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.5);
    --shadow-soft: 0 10px 40px -10px rgba(0,0,0,0.08);
    --shadow-hover: 0 20px 40px -10px rgba(59, 130, 246, 0.15);
    --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.05);

    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

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

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.grid {
    display: grid;
    gap: 1.5rem;
}

.flex {
    display: flex;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* Header */
.main-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 50;
    transition: all 0.3s ease;
    height: 80px;
    display: flex;
    align-items: center;
}

.header-glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

.header-scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo-placeholder {
    height: 40px;
    width: 40px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.25rem;
}

.logo-text {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-main);
}

.desktop-nav {
    display: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--primary);
}

.header-cta {
    display: none;
    align-items: center;
    gap: 1rem;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: block;
    color: var(--text-muted);
}

.icon {
    width: 32px;
    height: 32px;
}

/* Mobile Menu Panel */
.mobile-menu-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--white);
    z-index: 60;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
}

.mobile-menu-panel.open {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    font-size: 1.125rem;
}

.mobile-link {
    color: var(--text-main);
    font-weight: 500;
}

.mobile-cta {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.full-width {
    width: 100%;
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    box-shadow: 0 4px 14px 0 rgba(59, 130, 246, 0.39);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.23);
}

.btn-secondary {
    background: var(--white);
    color: var(--text-main);
    border: 1px solid #E2E8F0;
}

.btn-secondary:hover {
    background-color: #F1F5F9;
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.icon-small {
    width: 20px;
    height: 20px;
}

.group:hover .group-hover-move {
    transform: translateX(4px);
    transition: transform 0.2s;
}

/* Hero Section */
.hero-section {
    padding-top: 140px;
    padding-bottom: 80px;
    overflow: hidden;
    position: relative;
}

.hero-bg {
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.1) 0%, transparent 40%),
                radial-gradient(circle at bottom left, rgba(59, 130, 246, 0.05) 0%, transparent 40%);
}

.hero-container {
    display: grid;
    gap: 3rem;
    align-items: center;
}

.hero-content {
    max-width: 650px;
}

.badge {
    display: inline-block;
    padding: 0.375rem 1rem;
    background-color: #EFF6FF;
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 9999px;
    margin-bottom: 1.5rem;
    border: 1px solid #DBEAFE;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-proof-mini {
    margin-top: 2.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.avatars {
    display: flex;
    margin-left: 0.5rem;
}

.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--white);
    margin-left: -0.5rem;
}

/* Hero Visual */
.hero-visual {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 8px solid rgba(255, 255, 255, 0.5);
    background: white;
    transform: rotate(1deg);
    transition: transform 0.5s ease;
}

.hero-image-wrapper:hover {
    transform: rotate(0deg);
}

.hero-img {
    width: 100%;
    height: auto;
    display: block;
}

.blob {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    z-index: -1;
}

.blob-blue {
    background: var(--primary);
    top: -50px;
    right: -50px;
}

.blob-purple {
    background: #A855F7;
    bottom: -50px;
    left: -50px;
}

/* Floating Cards */
.floating-card {
    position: absolute;
    background: white;
    padding: 1rem;
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(226, 232, 240, 0.8);
    animation: float 6s ease-in-out infinite;
    z-index: 10;
}

.top-left {
    top: 2.5rem;
    left: -3rem;
}

.bottom-right {
    bottom: 5rem;
    right: -2rem;
    animation-delay: 1s;
}

.card-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.icon-box {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-green { background-color: #DCFCE7; color: #16A34A; }
.icon-blue { background-color: #DBEAFE; color: var(--primary); }

.card-title {
    font-size: 0.875rem;
    font-weight: 700;
}

.card-subtitle {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.text-green { color: #16A34A; font-weight: 600; }

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

.hidden-mobile {
    display: none;
}

/* Features Section */
.section-features {
    padding: 5rem 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    max-width: 768px;
    margin: 0 auto 4rem;
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
}

.bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.feature-card {
    background: var(--white);
    border-radius: 24px;
    padding: 2rem;
    transition: all 0.3s ease;
    border: 1px solid #F1F5F9;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: var(--shadow-card);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(59, 130, 246, 0.2);
}

.feature-content {
    margin-bottom: 1.5rem;
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.icon-blue-light { background: #DBEAFE; color: var(--primary); }
.icon-purple-light { background: #F3E8FF; color: #9333EA; }
.icon-green-light { background: #DCFCE7; color: #16A34A; }
.icon-orange-light { background: #FFEDD5; color: #F97316; }

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-main);
}

.feature-desc {
    color: var(--text-muted);
    line-height: 1.6;
}

.feature-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    margin-top: auto;
}

/* Testimonials */
.section-testimonials {
    padding: 5rem 0;
    background-color: var(--bg-light);
    border-top: 1px solid #E2E8F0;
}

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

.testimonial-card {
    background: var(--white);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow-card);
    border: 1px solid #F1F5F9;
}

.stars {
    color: #FACC15;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.testimonial-text {
    color: var(--text-main);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.author-name {
    font-weight: 700;
    font-size: 0.875rem;
}

.author-role {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.partners-logos {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #E2E8F0;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    opacity: 0.6;
    filter: grayscale(100%);
    transition: all 0.5s;
}

.partners-logos:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.partner-logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: #94A3B8;
}

/* Footer */
.main-footer {
    background: var(--white);
    padding: 4rem 0 2rem;
    border-top: 1px solid #E2E8F0;
}

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

.logo-placeholder.small {
    width: 32px;
    height: 32px;
    font-size: 1rem;
}

.footer-desc {
    margin-top: 1rem;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer-heading {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.875rem;
    transition: color 0.2s;
}

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

.footer-bottom {
    border-top: 1px solid #F1F5F9;
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
}

.copyright {
    color: #94A3B8;
    font-size: 0.875rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: #94A3B8;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.social-links a:hover {
    color: var(--text-main);
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

.stagger-1 { transition-delay: 100ms; }
.stagger-2 { transition-delay: 200ms; }
.stagger-3 { transition-delay: 300ms; }

/* Responsive Media Queries */
@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
    }

    .header-cta {
        display: flex;
    }

    .mobile-menu-btn {
        display: none;
    }

    .hero-container {
        grid-template-columns: 1fr 1fr;
    }

    .hero-title {
        font-size: 4rem;
    }

    .hero-buttons {
        flex-direction: row;
    }

    .hidden-mobile {
        display: block;
    }

    .bento-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, minmax(250px, auto));
    }

    .bento-large {
        grid-column: span 2;
        grid-row: span 2;
    }

    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}
