/* ============================================
   LOA Transpublika — Landing Page Styles
   Modern, clean, professional design
   ============================================ */

:root {
    --color-primary: #2563eb;
    --color-primary-dark: #1d4ed8;
    --color-primary-light: #dbeafe;
    --color-accent: #0ea5e9;
    --color-emerald: #059669;
    --color-emerald-light: #d1fae5;
    --color-amber: #d97706;
    --color-amber-light: #fef3c7;
    --color-dark: #0f172a;
    --color-dark-2: #1e293b;
    --color-gray-50: #f8fafc;
    --color-gray-100: #f1f5f9;
    --color-gray-200: #e2e8f0;
    --color-gray-400: #94a3b8;
    --color-gray-500: #64748b;
    --color-gray-600: #475569;
    --color-gray-700: #334155;
    --color-gray-900: #0f172a;
    --color-white: #ffffff;
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.25rem;
    --radius-2xl: 1.5rem;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- GLOBAL OVERRIDES ---- */
body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--color-gray-700);
    background: var(--color-white);
    -webkit-font-smoothing: antialiased;
}

/* ================================================
   NAVBAR
   ================================================ */
.navbar-landing {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    padding: 0.6rem 0;
    transition: all var(--transition);
    z-index: 1050;
}

.navbar-landing.navbar-scrolled {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

.navbar-landing .navbar-brand img {
    transition: opacity var(--transition);
}

.navbar-landing .nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-gray-600);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    position: relative;
}

.navbar-landing .nav-link:hover,
.navbar-landing .nav-link:focus {
    color: var(--color-primary);
    background: var(--color-primary-light);
}

.navbar-landing .btn-primary {
    background: var(--color-primary);
    border-color: var(--color-primary);
    font-size: 0.8rem;
    letter-spacing: 0.02em;
}

.navbar-landing .btn-primary:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* ================================================
   HERO SECTION
   ================================================ */
.hero-section {
    background: var(--color-dark);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.hero-shape-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.3), transparent 70%);
    top: -200px;
    right: -100px;
}

.hero-shape-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.2), transparent 70%);
    bottom: -150px;
    left: -100px;
}

.hero-shape-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15), transparent 70%);
    top: 40%;
    left: 30%;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Hero badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem 0.4rem 0.65rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.02em;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 8px rgba(52, 211, 153, 0.6);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* Hero heading */
.hero-heading {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-white);
    letter-spacing: -0.02em;
}

.hero-text-accent {
    background: linear-gradient(135deg, #60a5fa, #38bdf8, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtext {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    max-width: 480px;
}

/* Hero buttons */
.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.75rem;
    background: var(--color-primary);
    color: var(--color-white);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all var(--transition);
    border: none;
}

.btn-hero-primary:hover {
    background: var(--color-primary-dark);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.35);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.75rem;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all var(--transition);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--color-white);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.25);
}

/* Hero stats */
.hero-stats {
    padding-top: 0.5rem;
}

.hero-stat-number {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-white);
}

.hero-stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 2px;
}

.hero-stat-divider {
    width: 1px;
    background: rgba(255, 255, 255, 0.12);
    align-self: stretch;
}

/* ---- Hero Visual / Cards ---- */
.hero-visual {
    position: relative;
    z-index: 2;
    perspective: 1000px;
}

.hero-card {
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.hero-card-main {
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    box-shadow: var(--shadow-xl);
    animation: float-main 6s ease-in-out infinite;
}

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

.hero-card-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0.85rem 1.25rem;
    background: var(--color-gray-50);
    border-bottom: 1px solid var(--color-gray-200);
}

.hero-card-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.hero-card-dot.green { background: #34d399; }
.hero-card-dot.yellow { background: #fbbf24; }
.hero-card-dot.red { background: #f87171; }

.hero-card-title {
    margin-left: auto;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--color-gray-500);
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.hero-card-body {
    padding: 1.25rem;
}

.hero-card-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.55rem 0;
    border-bottom: 1px solid var(--color-gray-100);
}

.hero-card-row.small-row {
    border-bottom: none;
    padding-top: 0.75rem;
}

.hero-card-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-gray-400);
}

.hero-card-value {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-gray-700);
    text-align: right;
    max-width: 60%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hero-card-value.mono {
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 0.7rem;
    color: var(--color-gray-500);
    letter-spacing: 0.05em;
}

.hero-card-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.2rem 0.65rem;
    border-radius: 50rem;
}

.hero-card-badge.success {
    background: var(--color-emerald-light);
    color: var(--color-emerald);
}

.hero-card-progress {
    height: 4px;
    background: var(--color-gray-100);
    border-radius: 50rem;
    margin: 0.75rem 0 0.25rem;
    overflow: hidden;
}

.hero-card-progress-bar {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    border-radius: 50rem;
    animation: progress-fill 2s ease-in-out;
}

@keyframes progress-fill {
    from { width: 0%; }
    to { width: 100%; }
}

/* Floating mini cards */
.hero-card-float {
    position: absolute;
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    box-shadow: var(--shadow-lg);
    padding: 0.85rem 1.1rem;
}

.hero-card-float-1 {
    top: -10px;
    right: -20px;
    animation: float-1 5s ease-in-out 0.5s infinite;
}

.hero-card-float-2 {
    bottom: 20px;
    left: -30px;
    animation: float-2 5s ease-in-out 1s infinite;
}

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

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

.hero-float-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.bg-success-subtle { background: var(--color-emerald-light); }
.text-success { color: var(--color-emerald) !important; }
.bg-primary-subtle { background: var(--color-primary-light); }

.hero-float-title {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-gray-900);
}

.hero-float-sub {
    font-size: 0.7rem;
    color: var(--color-gray-400);
}

/* ================================================
   SECTION COMMONS
   ================================================ */
.section-header {
    margin-bottom: 3.5rem;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-primary);
    background: var(--color-primary-light);
    padding: 0.35rem 1rem;
    border-radius: 50rem;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 700;
    color: var(--color-gray-900);
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

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

.section-subtitle {
    font-size: 1rem;
    color: var(--color-gray-500);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ================================================
   HOW IT WORKS
   ================================================ */
.section-how-it-works {
    padding: 6rem 0;
    background: var(--color-white);
}

.step-card {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-gray-200);
    background: var(--color-white);
    transition: all var(--transition);
    position: relative;
    height: 100%;
}

.step-card:hover {
    border-color: var(--color-primary-light);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.step-card-icon {
    position: relative;
    width: 72px;
    height: 72px;
    margin: 0 auto 1.25rem;
    background: var(--color-primary-light);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--color-primary);
    transition: all var(--transition);
}

.step-card:hover .step-card-icon {
    background: var(--color-primary);
    color: var(--color-white);
}

.step-num {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 26px;
    height: 26px;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-white);
}

.step-card-title {
    font-weight: 600;
    color: var(--color-gray-900);
    margin-bottom: 0.5rem;
}

.step-card-text {
    font-size: 0.88rem;
    color: var(--color-gray-500);
    line-height: 1.6;
    margin: 0;
}

/* ================================================
   FEATURES
   ================================================ */
.section-features {
    padding: 6rem 0;
    background: var(--color-gray-50);
}

.feature-card-v2 {
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-xl);
    padding: 2rem;
    height: 100%;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card-v2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    opacity: 0;
    transition: opacity var(--transition);
}

.feature-card-v2:hover {
    border-color: transparent;
    box-shadow: var(--shadow-xl);
    transform: translateY(-6px);
}

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

/* Icon wraps */
.feature-card-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
    transition: all var(--transition);
}

.feature-card-icon-wrap.emerald {
    background: var(--color-emerald-light);
    color: var(--color-emerald);
}

.feature-card-icon-wrap.blue {
    background: var(--color-primary-light);
    color: var(--color-primary);
}

.feature-card-icon-wrap.amber {
    background: var(--color-amber-light);
    color: var(--color-amber);
}

.feature-card-v2:hover .feature-card-icon-wrap.emerald {
    background: var(--color-emerald);
    color: var(--color-white);
}

.feature-card-v2:hover .feature-card-icon-wrap.blue {
    background: var(--color-primary);
    color: var(--color-white);
}

.feature-card-v2:hover .feature-card-icon-wrap.amber {
    background: var(--color-amber);
    color: var(--color-white);
}

.feature-card-v2::before { background: var(--color-emerald); }
.feature-card-v2:nth-child(2)::before,
.col-lg-4:nth-child(2) .feature-card-v2::before { background: var(--color-primary); }
.col-lg-4:nth-child(3) .feature-card-v2::before { background: var(--color-amber); }

.feature-card-title {
    font-weight: 600;
    color: var(--color-gray-900);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.feature-card-desc {
    font-size: 0.88rem;
    color: var(--color-gray-500);
    line-height: 1.65;
    margin-bottom: 1rem;
}

.feature-card-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-emerald);
    transition: all var(--transition);
}

.feature-card-link.blue { color: var(--color-primary); }
.feature-card-link.amber { color: var(--color-amber); }

.feature-card-v2:hover .feature-card-link {
    transform: translateX(4px);
    display: inline-block;
}

/* ================================================
   CTA BANNER
   ================================================ */
.section-cta {
    padding: 5rem 0;
    background: var(--color-white);
}

.cta-banner {
    background: var(--color-dark);
    border-radius: var(--radius-2xl);
    padding: 3.5rem;
    position: relative;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.cta-glow-1 {
    width: 350px;
    height: 350px;
    background: rgba(37, 99, 235, 0.2);
    top: -100px;
    right: -50px;
}

.cta-glow-2 {
    width: 250px;
    height: 250px;
    background: rgba(14, 165, 233, 0.15);
    bottom: -80px;
    left: -50px;
}

.cta-title {
    font-size: clamp(1.3rem, 2.5vw, 1.75rem);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.cta-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.6;
}

.btn-cta-outline {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.75rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all var(--transition);
}

.btn-cta-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* ================================================
   PUBLISHER INFO
   ================================================ */
.section-publisher {
    padding: 5rem 0;
    background: var(--color-gray-50);
}

.publisher-card {
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-2xl);
    padding: 2.5rem;
    transition: all var(--transition);
}

.publisher-card:hover {
    box-shadow: var(--shadow-lg);
}

.publisher-logo {
    max-width: 200px;
    height: auto;
}

.publisher-name {
    font-weight: 600;
    color: var(--color-gray-900);
    font-size: 1.05rem;
}

.publisher-info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: var(--radius-md);
    transition: background var(--transition);
}

.publisher-info-item:hover {
    background: var(--color-gray-50);
}

.publisher-info-item > i {
    font-size: 1.1rem;
    color: var(--color-primary);
    margin-top: 2px;
    flex-shrink: 0;
}

.publisher-info-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--color-gray-400);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 2px;
}

.publisher-info-value {
    font-size: 0.88rem;
    color: var(--color-gray-700);
    line-height: 1.5;
}

.publisher-info-value a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
}

.publisher-info-value a:hover {
    text-decoration: underline;
}

/* ================================================
   FOOTER
   ================================================ */
.site-footer {
    background: var(--color-dark);
    padding: 0;
}

.footer-inner {
    padding: 1.25rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-text {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.45);
}

.footer-link {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: color var(--transition);
}

.footer-link:hover {
    color: var(--color-white);
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 991.98px) {
    .hero-section {
        min-height: auto;
    }

    .hero-section .row {
        padding-top: 6rem !important;
        padding-bottom: 3rem;
        min-height: auto !important;
    }

    .hero-heading {
        font-size: 2.2rem;
    }

    .hero-subtext {
        max-width: 100%;
    }

    .section-how-it-works,
    .section-features,
    .section-cta,
    .section-publisher {
        padding: 4rem 0;
    }

    .cta-banner {
        padding: 2.5rem 2rem;
    }

    .publisher-card {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .hero-heading {
        font-size: 1.8rem;
    }

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

    .cta-banner {
        padding: 2rem 1.5rem;
        text-align: center;
    }

    .section-how-it-works,
    .section-features {
        padding: 3rem 0;
    }

    .step-card {
        padding: 1.5rem 1rem;
    }

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

    .publisher-info-item {
        justify-content: center;
        text-align: left;
    }
}

@media (max-width: 575.98px) {
    .hero-heading {
        font-size: 1.5rem;
    }

    .hero-subtext {
        font-size: 0.9rem;
    }

    .btn-hero-primary,
    .btn-hero-secondary,
    .btn-cta-outline {
        width: 100%;
        justify-content: center;
    }

    .hero-actions {
        flex-direction: column;
}
