/* Standardized Modern SaaS Design */
:root {
    --primary: #4f46e5;
    --primary-hover: #4338ca;
    --secondary: #f8fafc;
    --bg-main: #ffffff;
    --bg-alt: #f1f5f9;
    --text-main: #0f172a;
    --text-muted: #475569;
    --border-color: #e2e8f0;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

@media (prefers-color-scheme: dark) {
    :root {
        --primary: #6366f1;
        --primary-hover: #4f46e5;
        --secondary: #1e293b;
        --bg-main: #0f172a;
        --bg-alt: #020617;
        --text-main: #f8fafc;
        --text-muted: #94a3b8;
        --border-color: #1e293b;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html, body {
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

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

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

.highlight {
    background: linear-gradient(135deg, var(--primary), #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: #ffffff !important;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

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

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

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.mt-4 { margin-top: 1.5rem; }

/* Navbar */
.navbar {
    position: fixed;
    top: 0; left: 0; width: 100%;
    background-color: var(--bg-main);
    border-bottom: 1px solid transparent;
    z-index: 1000;
    transition: all 0.3s;
}

.navbar.scrolled {
    border-bottom-color: var(--border-color);
    box-shadow: var(--shadow-sm);
    background-color: rgba(var(--bg-main), 0.9);
    backdrop-filter: blur(8px);
}

.nav-wrapper {
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-icon {
    width: 32px; height: 32px;
    background-color: var(--primary);
    color: white;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
}

.brand-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-main);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-main);
    cursor: pointer;
}

.mobile-menu {
    display: none;
    background-color: var(--bg-main);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 24px;
}
.mobile-menu.active {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.mobile-menu a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 0;
}

/* Hero Section */
.hero {
    padding: 140px 0 80px;
    background-color: var(--bg-alt);
    overflow: hidden;
}

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

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.pulse {
    width: 8px; height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-text h1 {
    font-size: clamp(2.2rem, 8vw, 3.5rem);
    margin-bottom: 24px;
}

.hero-text p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 500px;
}

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

/* Hero Abstract Graphic */
.hero-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.abstract-graphic {
    position: relative;
    width: 280px; height: 280px;
    max-width: 100%;
}

.circle-main {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--primary), #8b5cf6);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 5rem;
    color: white;
    box-shadow: 0 20px 40px rgba(79, 70, 229, 0.3);
}

.floating-badge {
    position: absolute;
    background-color: var(--bg-main);
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    font-weight: 600;
    display: flex; align-items: center; gap: 8px;
    border: 1px solid var(--border-color);
    animation: float 4s ease-in-out infinite;
}

.fb-1 { top: 10%; left: -20%; animation-delay: 0s; color: #f97316; }
.fb-2 { bottom: 20%; right: -20%; animation-delay: 1s; color: #eab308; }
.fb-3 { bottom: -10%; left: 10%; animation-delay: 2s; color: #3b82f6; }

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

/* Features Grid */
.features-section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 16px;
}

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 32px;
}

.feature-card {
    padding: 32px;
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s, transform 0.2s;
}

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

.f-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.bg-blue { background-color: rgba(59, 130, 246, 0.1); color: #3b82f6; }
.bg-purple { background-color: rgba(168, 85, 247, 0.1); color: #a855f7; }
.bg-orange { background-color: rgba(249, 115, 22, 0.1); color: #f97316; }
.bg-gold { background-color: rgba(234, 179, 8, 0.1); color: #eab308; }
.bg-green { background-color: rgba(34, 197, 94, 0.1); color: #22c55e; }
.bg-pink { background-color: rgba(236, 72, 153, 0.1); color: #ec4899; }

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-muted);
}

/* Split Section */
.highlight-section {
    padding: 100px 0;
    background-color: var(--bg-alt);
}

.split-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.split-text h2 {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 24px;
}

.split-text p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.benefit-list {
    list-style: none;
}

.benefit-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-weight: 500;
}

.benefit-list i {
    color: var(--primary);
    font-size: 1.2rem;
}

.split-image {
    display: flex;
    justify-content: center;
}

.illustration-box {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

.icon-huge {
    font-size: 6rem;
    color: var(--primary);
    margin-bottom: 24px;
}

.sub-text {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-muted);
}

/* FAQ */
.faq-section {
    padding: 100px 0;
}

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

.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 24px 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question i {
    transition: transform 0.3s;
    color: var(--text-muted);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer p {
    padding-bottom: 24px;
    color: var(--text-muted);
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* CTA Banner */
.cta-banner {
    padding: 80px 0;
    background-color: var(--primary);
    color: white;
}

.cta-banner h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.cta-banner p {
    font-size: 1.125rem;
    margin-bottom: 32px;
    opacity: 0.9;
}

.cta-banner .btn-primary {
    background-color: white;
    color: var(--primary) !important;
}
.cta-banner .btn-primary:hover {
    background-color: #f8fafc;
}

/* Footer */
.footer {
    padding: 80px 0 24px;
    background-color: var(--bg-alt);
    border-top: 1px solid var(--border-color);
}

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

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

.brand-col p {
    color: var(--text-muted);
    max-width: 300px;
}

.footer-col h4 {
    font-size: 1rem;
    margin-bottom: 20px;
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.2s;
}

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

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

/* Responsive */
@media (max-width: 992px) {
    .hero-container, .split-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h1 { font-size: 3rem; }
    .hero-text p { margin: 0 auto 32px; }
    .hero-cta-group { justify-content: center; }
    
    .hero-visual { margin-top: 40px; }
    
    .benefit-list li { justify-content: center; }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-actions .btn {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .hero-cta-group { flex-direction: column; }
    
    .abstract-graphic { transform: scale(0.7); }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .brand-col p { margin: 0 auto; }
}

@media (max-width: 400px) {
    .container { padding: 0 16px; }
    .hero { padding: 110px 0 60px; }
    .abstract-graphic { width: 220px; height: 220px; transform: scale(0.8); margin-top: -30px; }
    .floating-badge { padding: 8px 12px; font-size: 0.8rem; }
    .fb-1 { left: -10%; }
    .fb-2 { right: -10%; }
    .hero-visual { height: 200px; }
    .btn-large { padding: 14px 24px; width: 100%; }
}
