:root {
    --bg-main: #0a0a0f;
    --bg-secondary: #13141c;
    --bg-card: rgba(25, 26, 36, 0.7);
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --accent-primary: #7c3aed; /* Purple */
    --accent-secondary: #3b82f6; /* Blue */
    --accent-error: #ef4444; /* Red */
    --gradient-brand: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    --card-border: rgba(255, 255, 255, 0.05);
    --font-main: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

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

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; font-weight: 800; letter-spacing: -1px; }
h2 { font-size: 2.5rem; font-weight: 700; letter-spacing: -0.5px; }
h3 { font-size: 1.5rem; font-weight: 600; }

p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.text-gradient {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-red {
    color: #f87171;
}

.text-highlight {
    color: white;
}

.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }
.ml-2 { margin-left: 1rem; }
.w-100 { width: 100%; }
.text-sm { font-size: 0.875rem; }
.text-gray { color: #6b7280; }

/* Layout Basics */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 6rem 0;
}

.bg-darker {
    background-color: var(--bg-secondary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

.btn-primary {
    background: var(--gradient-brand);
    color: white;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.5);
}

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

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-secondary {
    background: rgba(255,255,255,0.05);
    color: white;
    border: 1px solid transparent;
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
}

.glow-effect {
    position: relative;
    z-index: 1;
}

.glow-effect::before {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    background: var(--gradient-brand);
    z-index: -1;
    border-radius: 10px;
    filter: blur(10px);
    opacity: 0;
    transition: var(--transition);
}

.glow-effect:hover::before {
    opacity: 0.8;
}

/* Nav */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.5);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 1rem 0;
    transition: var(--transition);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: white;
    transition: var(--transition);
}

/* Hero */
.hero {
    position: relative;
    padding: 12rem 0 8rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.blur-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.4;
}

.blob-1 {
    top: -10%; left: -10%;
    width: 500px; height: 500px;
    background: var(--accent-primary);
}

.blob-2 {
    bottom: 10%; right: -10%;
    width: 400px; height: 400px;
    background: var(--accent-secondary);
}

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

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #c4b5fd;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.hero-trust {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.highlight {
    color: white;
    font-weight: 600;
}

/* Mockup */
.app-mockup {
    background: #0f1016;
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 30px 60px -12px rgba(124, 58, 237, 0.2), 0 0 0 1px rgba(255,255,255,0.05) inset;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: var(--transition);
}

.app-mockup:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
    box-shadow: 0 40px 80px -12px rgba(124, 58, 237, 0.3);
}

.mockup-header {
    background: #1a1b26;
    padding: 12px 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.window-dots {
    position: absolute;
    left: 15px;
    display: flex;
    gap: 8px;
}

.window-title {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.dot {
    width: 12px; height: 12px;
    border-radius: 50%;
}
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.mockup-body {
    position: relative;
    padding: 1.5rem;
    height: 380px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, rgba(124, 58, 237, 0.05) 0%, transparent 70%);
}

.security-badge {
    position: absolute;
    top: 15px; right: 15px;
    background: rgba(39, 201, 63, 0.1);
    color: #27c93f;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.mockup-video {
    width: 90%;
    height: 80%;
    background: #050508;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 1px solid rgba(255,255,255,0.1);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.play-btn {
    width: 60px; height: 60px;
    background: rgba(124, 58, 237, 0.2);
    border: 1px solid rgba(124, 58, 237, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.play-btn:hover {
    background: var(--gradient-brand);
    transform: scale(1.1);
}

.watermark-overlay {
    position: absolute;
    color: rgba(255,255,255,0.15);
    font-size: 1.2rem;
    font-weight: 700;
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
}

.animated-watermark {
    animation: moveWatermark 8s linear infinite alternate;
}

@keyframes moveWatermark {
    0% { top: 15%; left: 10%; transform: rotate(-15deg); }
    50% { top: 75%; left: 25%; transform: rotate(-5deg); }
    100% { top: 30%; left: 45%; transform: rotate(-25deg); }
}

/* Sections Grid structure */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

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

.card {
    background: var(--bg-card);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 2rem;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(124, 58, 237, 0.3);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.red-icon { color: #f87171; }
.gradient-icon {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Solution Section */
.solution-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-list {
    list-style: none;
    margin: 2rem 0;
}

.feature-list li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.integration-logos {
    position: relative;
    height: 400px;
}

.floating-logo {
    position: absolute;
    padding: 1rem 2rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    font-weight: 600;
    animation: float 6s ease-in-out infinite;
}

.logo-1 { top: 10%; left: 10%; background: rgba(59, 130, 246, 0.1); border-color: rgba(59, 130, 246, 0.3); }
.logo-2 { top: 40%; right: 10%; animation-delay: 1.5s; }
.logo-3 { bottom: 20%; left: 20%; animation-delay: 3s; }
.logo-4 { top: 50%; left: 40%; animation-delay: 4.5s; background: rgba(124, 58, 237, 0.1); }

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

/* How It Works Steps */
.steps-container {
    margin-top: 4rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 60px; height: 60px;
    background: var(--gradient-brand);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    box-shadow: 0 0 20px rgba(124,58,237,0.4);
}

.step-connector {
    flex: 0.5;
    height: 2px;
    background: rgba(255,255,255,0.1);
    margin-top: 30px;
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 3rem auto 0;
}

.pricing-card {
    position: relative;
    padding: 3rem 2rem;
}

.pricing-card.popular {
    transform: scale(1.05);
    border-color: rgba(124, 58, 237, 0.5);
    box-shadow: 0 0 40px rgba(124, 58, 237, 0.15);
}

.popular-badge {
    position: absolute;
    top: 0; left: 50%;
    transform: translate(-50%, -50%);
    background: var(--gradient-brand);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--card-border);
    padding-bottom: 2rem;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    margin: 1rem 0;
}

.currency { font-size: 1.5rem; vertical-align: top; margin-top: 0.5rem; display: inline-block; }
.period { font-size: 1rem; color: var(--text-secondary); font-weight: 400; }

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.pricing-features li {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

/* Comparison Table */
.table-container {
    overflow-x: auto;
    margin-top: 3rem;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
}

.comparison-table th, .comparison-table td {
    padding: 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--card-border);
}

.comparison-table th {
    background: rgba(255,255,255,0.02);
    font-weight: 600;
}

.highlight-col {
    background: rgba(124, 58, 237, 0.05);
}

.comparison-table th.highlight-col {
    color: var(--accent-primary);
}

/* Testimonials */
.stars { color: #f59e0b; font-size: 1.2rem; margin-bottom: 1rem; }
.quote { font-style: italic; margin-bottom: 1.5rem; font-size: 1.05rem; }
.author { display: flex; align-items: center; gap: 1rem; }
.avatar { font-size: 2.5rem; }
.author h4 { margin-bottom: 0.2rem; }
.author p { margin-bottom: 0; font-size: 0.9rem; }

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

.faq-list {
    margin-top: 3rem;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: white;
    padding: 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: inherit;
}

.faq-question .icon {
    font-size: 1.5rem;
    transition: var(--transition);
}

.faq-question.active .icon {
    transform: rotate(45deg);
    color: var(--accent-primary);
}

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

.faq-answer p {
    padding-bottom: 1.5rem;
}

/* Final CTA */
.final-cta {
    background: linear-gradient(to bottom, transparent, rgba(124, 58, 237, 0.1));
}

.final-cta h2 { font-size: 3rem; }

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

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    margin-left: 2rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

.footer-copyright {
    width: 100%;
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--card-border);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Simple Animation Classes (Triggered via JS Observer) */
[data-aos] {
    opacity: 0;
    transition: all 0.8s ease;
}

[data-aos="fade-up"] { transform: translateY(30px); }
[data-aos="fade-left"] { transform: translateX(30px); }
[data-aos="fade-right"] { transform: translateX(-30px); }
[data-aos="zoom-in"] { transform: scale(0.95); }

[data-aos].aos-animate {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* Responsive */
@media (max-width: 992px) {
    .section { padding: 4rem 0; }
    
    .hero-container, .solution-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-ctas {
        justify-content: center;
    }
    
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .pricing-card.popular {
        transform: scale(1);
    }
    
    .integration-logos {
        height: 300px;
    }
    
    .app-mockup {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .section { padding: 3rem 0; }
    
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.3rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .final-cta h2 { font-size: 2.2rem; }
    .price { font-size: 2.5rem; }
    
    .nav-links, .nav-cta {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .grid-3, .grid-2 {
        grid-template-columns: 1fr;
    }
    
    .hero {
        padding-top: 7rem;
        padding-bottom: 4rem;
    }
    
    .hero-ctas {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 350px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .btn {
        width: 100%;
        padding: 1rem;
    }
    
    .steps-container {
        flex-direction: column;
        align-items: center;
        gap: 2.5rem;
    }
    
    .step-connector {
        display: none;
    }
    
    .mockup-body {
        height: 250px;
        padding: 1rem;
    }
    
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .footer-links a {
        margin-left: 0;
    }
    
    .comparison-table th, .comparison-table td {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .faq-question {
        font-size: 1rem;
        padding: 1.25rem;
    }
}
