/* ============================================
   RTV Takip - Landing Page
   Premium Dark Theme with Gradients
   ============================================ */

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

:root {
    --bg-primary: #050508;
    --bg-secondary: #0c0c14;
    --bg-card: rgba(18, 18, 30, 0.6);
    --border-color: rgba(255,255,255,0.08);
    --text-primary: #ffffff;
    --text-secondary: rgba(255,255,255,0.75);
    --text-muted: rgba(255,255,255,0.45);
    --accent: #7832ff;
    --accent-2: #00d68f;
    --gradient-1: linear-gradient(135deg, #7832ff, #3291ff, #00d68f);
    --gradient-2: linear-gradient(135deg, #7832ff 0%, #c850ff 50%, #3291ff 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* ============================================
   Navbar
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(5, 5, 8, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.nav-brand {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.3s;
    border-radius: 2px;
}

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

.nav-links a:hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 28px;
    cursor: pointer;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
}

.btn-primary {
    background: var(--gradient-2);
    color: #fff;
    box-shadow: 0 4px 24px rgba(120, 50, 255, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 40px rgba(120, 50, 255, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(255,255,255,0.15);
}

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

.btn-glow {
    background: var(--gradient-2);
    color: #fff;
    padding: 10px 20px;
    font-size: 13px;
    box-shadow: 0 2px 12px rgba(120, 50, 255, 0.3);
}

.btn-glow:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(120, 50, 255, 0.5);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
    border-radius: 14px;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 60px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 30%, rgba(120, 50, 255, 0.15) 0%, transparent 70%),
        radial-gradient(ellipse 60% 50% at 80% 60%, rgba(50, 145, 255, 0.1) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 50% 80%, rgba(0, 214, 143, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(120, 50, 255, 0.4);
    border-radius: 50%;
    animation: float-particle 6s ease-in-out infinite;
}

@keyframes float-particle {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0; }
    25% { opacity: 0.8; }
    50% { transform: translateY(-40px) scale(1.5); opacity: 0.4; }
    75% { opacity: 0.8; }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: rgba(120, 50, 255, 0.1);
    border: 1px solid rgba(120, 50, 255, 0.2);
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: #c4a7ff;
    margin-bottom: 24px;
}

.hero-text h1 {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
}

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

.hero-text p {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.hero-stat {
    display: flex;
    flex-direction: column;
}

.hero-stat strong {
    font-size: 28px;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat span {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

.hero-image {
    position: relative;
}

.hero-image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(120,50,255,0.2) 0%, transparent 70%);
    pointer-events: none;
}

.hero-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.5),
        0 0 60px rgba(120, 50, 255, 0.15);
    position: relative;
    z-index: 1;
    animation: float-dashboard 6s ease-in-out infinite;
}

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

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-muted);
    font-size: 24px;
    animation: bounce-scroll 2s ease-in-out infinite;
}

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

/* ============================================
   Section Headers
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-badge {
    display: inline-block;
    background: rgba(120, 50, 255, 0.1);
    border: 1px solid rgba(120, 50, 255, 0.2);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    color: #c4a7ff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
}

/* ============================================
   Features
   ============================================ */
.features {
    padding: 120px 0;
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(120,50,255,0.3), transparent);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 36px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(120, 50, 255, 0.25);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   How It Works
   ============================================ */
.how-it-works {
    padding: 120px 0;
    background: var(--bg-secondary);
    position: relative;
}

.steps-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px 36px;
    text-align: center;
    flex: 1;
    max-width: 320px;
    transition: all 0.3s;
}

.step-card:hover {
    border-color: rgba(120, 50, 255, 0.25);
    transform: translateY(-4px);
}

.step-number {
    font-size: 48px;
    font-weight: 900;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.step-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.step-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.step-connector {
    color: var(--text-muted);
    font-size: 24px;
    flex-shrink: 0;
}

/* ============================================
   Stats Section
   ============================================ */
.stats-section {
    padding: 100px 0;
    position: relative;
}

.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 60% at 50% 50%, rgba(120, 50, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 56px;
    font-weight: 900;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    display: inline;
}

.stat-plus {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-muted);
    margin-top: -8px;
}

.stat-desc {
    font-size: 15px;
    color: var(--text-secondary);
    margin-top: 8px;
    font-weight: 500;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    padding: 60px 0 120px;
}

.cta-card {
    background: var(--gradient-2);
    border-radius: 28px;
    padding: 80px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(0,0,0,0.2) 0%, transparent 50%);
    pointer-events: none;
}

.cta-card h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
    position: relative;
    letter-spacing: -0.5px;
}

.cta-card p {
    font-size: 17px;
    opacity: 0.85;
    margin-bottom: 32px;
    position: relative;
}

.cta-card .btn {
    background: #fff;
    color: #7832ff;
    font-weight: 700;
    position: relative;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.cta-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
}

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

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

.footer-brand h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s;
}

.footer-social a:hover {
    background: rgba(120, 50, 255, 0.15);
    border-color: rgba(120, 50, 255, 0.3);
    color: #a78bfa;
    transform: translateY(-2px);
}

.footer-links h4,
.footer-contact h4 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-links a {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.3s;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 14px;
}

.contact-item i {
    color: var(--accent);
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
}

/* ============================================
   Mobile Responsive
   ============================================ */
@media (max-width: 1024px) {
    .hero-text h1 {
        font-size: 40px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 68px;
        left: 0;
        right: 0;
        background: rgba(5, 5, 8, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border-color);
    }

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

    .mobile-toggle {
        display: block;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .hero-text p {
        font-size: 16px;
        margin: 0 auto 28px;
    }

    .hero-actions {
        justify-content: center;
        margin-bottom: 36px;
    }

    .hero-stats {
        justify-content: center;
        gap: 24px;
    }

    .hero-image {
        order: -1;
    }

    .section-header h2 {
        font-size: 28px;
    }

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

    .steps-grid {
        flex-direction: column;
    }

    .step-connector {
        transform: rotate(90deg);
    }

    .step-card {
        max-width: 100%;
        width: 100%;
    }

    .stats-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .stat-number {
        font-size: 40px;
    }

    .cta-card {
        padding: 48px 28px;
    }

    .cta-card h2 {
        font-size: 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 26px;
    }

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

    .btn-lg {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }

    .stats-row {
        grid-template-columns: 1fr 1fr;
    }
}
