/* ============================================
   Rolog Landing Page - Dark Navy Theme
   Colors matched from app screenshots & logo
   ============================================ */

:root {
    --bg-primary: #080F1E;
    --bg-secondary: #0B1525;
    --bg-tertiary: #060C19;
    --bg-card: rgba(12, 22, 40, 0.85);
    --bg-card-hover: rgba(16, 28, 50, 0.95);
    --accent-blue: #4A9FD9;
    --accent-blue-hover: #6CB5E8;
    --accent-lilac: #C4A0D4;
    --gradient-start: #2B7CB8;
    --gradient-end: #1A5A8A;
    --gradient-cta: linear-gradient(135deg, #3B8FCC, #1E6BA3);
    --text-primary: rgba(255, 255, 255, 0.95);
    --text-secondary: #8A95A8;
    --text-muted: rgba(255, 255, 255, 0.4);
    --success-green: #34C759;
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-card: rgba(74, 159, 217, 0.15);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
    --radius-lg: 18px;
    --radius-md: 12px;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

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

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

/* ---- Navbar ---- */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
    background: transparent !important;
}

.navbar.scrolled {
    background: rgba(8, 15, 30, 0.95) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 0.6rem 0;
}

.navbar-collapse.show,
.navbar-collapse.collapsing {
    background: rgba(8, 15, 30, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    padding: 1rem;
    margin-top: 0.5rem;
    border: 1px solid var(--border-subtle);
    border-top: none;
}

.navbar-brand {
    font-size: 1.4rem;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.navbar-logo {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 1rem !important;
    transition: color 0.2s ease;
}

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

.btn-accent {
    background: var(--gradient-cta);
    color: white !important;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.btn-accent:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(43, 124, 184, 0.4);
    color: white !important;
}

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

.hero-section::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(196, 160, 212, 0.07) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(74, 159, 217, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--accent-blue);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero-badge .badge-dot {
    width: 8px;
    height: 8px;
    background: var(--success-green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--accent-lilac), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 480px;
    line-height: 1.7;
    margin-bottom: 2rem;
}

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

.btn-primary-gradient {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    background: var(--gradient-cta);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(43, 124, 184, 0.4);
    color: white;
}

.btn-outline-light-custom {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline-light-custom:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    background: rgba(74, 159, 217, 0.05);
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
}

.hero-stat .stat-number {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--accent-blue);
}

.hero-stat .stat-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ---- Hero Screenshots ---- */
.hero-screenshots {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.screenshot-stack {
    position: relative;
    width: 300px;
    height: 580px;
}

.screenshot-frame {
    position: absolute;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.08);
}

.screenshot-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.screenshot-front {
    width: 260px;
    height: 540px;
    z-index: 2;
    left: 0;
    top: 20px;
}

.screenshot-back {
    width: 240px;
    height: 500px;
    z-index: 1;
    right: -30px;
    top: 40px;
    opacity: 0.7;
    transform: rotate(3deg);
}

.screenshot-glow {
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(196, 160, 212, 0.1) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
}

/* ---- Section Shared ---- */
.section-padding {
    padding: 100px 0;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-lilac);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.section-label::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--accent-lilac);
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.7;
}

/* ---- Features Section ---- */
.features-section {
    background: var(--bg-secondary);
    position: relative;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-card), transparent);
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-lilac), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-card);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.feature-card:hover::before {
    opacity: 1;
}

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

.feature-icon.blue { background: rgba(74, 159, 217, 0.12); color: var(--accent-blue); }
.feature-icon.green { background: rgba(52, 199, 89, 0.12); color: var(--success-green); }
.feature-icon.purple { background: rgba(196, 160, 212, 0.15); color: var(--accent-lilac); }
.feature-icon.orange { background: rgba(255, 149, 0, 0.12); color: #FF9500; }
.feature-icon.red { background: rgba(255, 59, 48, 0.12); color: #FF3B30; }
.feature-icon.teal { background: rgba(90, 200, 250, 0.12); color: #5AC8FA; }

.feature-card h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
}

/* ---- Screenshots Showcase ---- */
.screenshots-showcase {
    position: relative;
}

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

.showcase-phone {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.showcase-phone:hover {
    transform: translateY(-6px);
}

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

.showcase-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.showcase-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    max-width: 280px;
    margin: 0 auto;
}

/* ---- How It Works ---- */
.how-it-works-section {
    background: var(--bg-secondary);
    position: relative;
}

.how-it-works-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-card), transparent);
}

.step-card {
    text-align: center;
    padding: 2rem 1.5rem;
}

.step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradient-cta);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 800;
    margin: 0 auto 1.5rem;
    position: relative;
}

.step-number::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(43, 124, 184, 0.2);
}

.step-card h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.step-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ---- ANAF Compliance Banner ---- */
.compliance-banner {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.compliance-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-lilac), var(--accent-blue));
}

.compliance-list {
    list-style: none;
    padding: 0;
}

.compliance-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.compliance-list li .check {
    width: 20px;
    height: 20px;
    min-width: 20px;
    background: rgba(52, 199, 89, 0.15);
    color: var(--success-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    margin-top: 2px;
}

/* ---- Pricing Section ---- */
.pricing-section {
    position: relative;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
}

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

.pricing-card.featured {
    border-color: var(--accent-blue);
    background: var(--bg-card-hover);
}

.pricing-card.featured::before {
    content: 'Recomandat';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-cta);
    color: white;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-tier {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-lilac);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.pricing-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.pricing-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.pricing-price .currency {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 600;
    vertical-align: super;
    margin-right: 2px;
}

.pricing-price .decimals {
    font-size: 1.4rem;
    font-weight: 700;
}

.pricing-price .period {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.pricing-savings {
    display: inline-block;
    background: rgba(52, 199, 89, 0.1);
    color: var(--success-green);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.45rem 0;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.pricing-features li .check {
    color: var(--success-green);
    font-weight: 700;
    font-size: 0.8rem;
}

.btn-pricing {
    width: 100%;
    padding: 0.75rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-pricing.primary {
    background: var(--gradient-cta);
    color: white;
    border: none;
}

.btn-pricing.primary:hover {
    box-shadow: 0 4px 20px rgba(43, 124, 184, 0.4);
    color: white;
}

.btn-pricing.secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
}

.btn-pricing.secondary:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

.pricing-inapp-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    padding-top: 1rem;
    border-top: 1px solid var(--border-subtle);
    margin-top: 0.5rem;
}

/* ---- CTA / Download Section ---- */
.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-box {
    background: linear-gradient(135deg, rgba(196, 160, 212, 0.06) 0%, rgba(74, 159, 217, 0.1) 100%);
    border: 1px solid var(--border-card);
    border-radius: 24px;
    padding: 4rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(196, 160, 212, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.cta-subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.app-store-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: white;
    color: #000;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.app-store-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    color: #000;
}

.app-store-badge .apple-icon {
    font-size: 1.8rem;
    line-height: 1;
}

.app-store-badge .badge-text {
    text-align: left;
}

.app-store-badge .badge-text .small {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    line-height: 1;
}

.app-store-badge .badge-text .large {
    font-size: 1.15rem;
    font-weight: 600;
    display: block;
    line-height: 1.2;
}

/* ---- Footer ---- */
.site-footer {
    background: var(--bg-tertiary);
    padding: 60px 0 30px;
    border-top: 1px solid var(--border-subtle);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
}

.footer-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.footer-heading {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s ease;
}

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

.footer-divider {
    border-color: var(--border-subtle);
    margin: 2rem 0 1.5rem;
}

.text-secondary-light {
    color: var(--text-secondary) !important;
}

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

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

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* ---- Responsive ---- */
@media (max-width: 991px) {
    .hero-screenshots {
        margin-top: 3rem;
    }

    .screenshot-stack {
        width: 260px;
        height: 510px;
    }

    .screenshot-front {
        width: 230px;
        height: 480px;
    }

    .screenshot-back {
        width: 210px;
        height: 440px;
    }

    .hero-stats {
        gap: 1.5rem;
    }
}

@media (max-width: 767px) {
    .section-padding {
        padding: 60px 0;
    }

    .hero-section {
        padding: 100px 0 60px;
        text-align: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

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

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

    .screenshot-stack {
        width: 220px;
        height: 440px;
    }

    .screenshot-front {
        width: 200px;
        height: 420px;
    }

    .screenshot-back {
        width: 180px;
        height: 380px;
        right: -20px;
    }

    .compliance-banner {
        padding: 2rem 1.5rem;
    }

    .cta-box {
        padding: 3rem 1.5rem;
    }
}
