/* ==========================================================================
   Ngalir Digital - Fresh Light Blue Landing Page
   Clean, Minimalist, Modern Design
   ========================================================================== */

/* CSS Variables */
:root {
    /* Light Blue Theme */
    --primary: #0ea5e9;
    --primary-light: #38bdf8;
    --primary-lighter: #7dd3fc;
    --primary-dark: #0284c7;
    --primary-darker: #0369a1;

    /* Accent */
    --accent: #06b6d4;
    --accent-light: #22d3ee;

    /* Success */
    --success: #10b981;
    --success-light: #34d399;

    /* Danger */
    --danger: #ef4444;

    /* Backgrounds */
    --bg-white: #ffffff;
    --bg-light: #f0f9ff;
    --bg-section: #e0f2fe;
    --bg-gradient: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 50%, #ffffff 100%);

    /* Text */
    --text-dark: #0f172a;
    --text-body: #475569;
    --text-muted: #94a3b8;
    --text-light: #cbd5e1;

    /* Misc */
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 20px rgba(14, 165, 233, 0.1);
    --shadow-lg: 0 10px 40px rgba(14, 165, 233, 0.15);
    --shadow-xl: 0 20px 60px rgba(14, 165, 233, 0.2);
    --radius: 16px;
    --radius-sm: 8px;
    --radius-xs: 4px;
    --radius-full: 9999px;

    /* Spacing */
    --section-padding: 100px 0;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-white);
    color: var(--text-body);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    padding: 16px 0;
}

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

/* Logo - Text Only Minimalist */
.logo {
    text-decoration: none;
}

.logo-text {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

.logo-accent {
    color: var(--primary);
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.4);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

.btn-icon {
    font-size: 1.2rem;
}

.btn-cta {
    background: linear-gradient(135deg, var(--success) 0%, var(--success-light) 100%);
    color: white;
    padding: 20px 48px;
    font-size: 1.15rem;
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.3);
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(16, 185, 129, 0.4);
}

/* ==========================================================================
   Section Badge
   ========================================================================== */
.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--bg-section);
    color: var(--primary-dark);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
    padding: 120px 0 60px;
    background: var(--bg-gradient);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 60px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-body);
    margin-bottom: 28px;
    box-shadow: var(--shadow-sm);
}

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

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.2);
    }
}

.hero h1 {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero h1 .highlight {
    color: var(--danger);
    position: relative;
}

.hero h1 .highlight-blue {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--text-body);
    max-width: 560px;
    margin: 0 auto 36px;
    line-height: 1.8;
}

.hero-desc strong {
    color: var(--primary-dark);
    font-weight: 600;
}

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

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

.stats-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 32px 48px;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    max-width: 700px;
    margin: 0 auto;
}

.stat {
    text-align: center;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: var(--border);
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ==========================================================================
   Problems Section
   ========================================================================== */
.problems {
    padding: var(--section-padding);
}

.problems .container,
.solution .container,
.realcases .container,
.testimonials .container,
.pricing .container,
.submit-case .container {
    text-align: center;
}

.problems h2,
.solution h2,
.realcases h2,
.testimonials h2,
.pricing h2,
.submit-case h2,
.cta h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-body);
    max-width: 560px;
    margin: 0 auto 48px;
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    text-align: left;
}

.problem-card {
    padding: 32px;
    background: var(--bg-light);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

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

.problem-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.problem-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.problem-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ==========================================================================
   Solution Section
   ========================================================================== */
.solution {
    padding: var(--section-padding);
    background: var(--bg-section);
}

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

.feature {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 28px;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

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

.feature-icon-wrapper {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-section);
    border-radius: 14px;
}

.feature-icon {
    font-size: 1.75rem;
}

.feature-content strong {
    display: block;
    font-size: 1.05rem;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.feature-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ==========================================================================
   Real Cases Section
   ========================================================================== */
.realcases {
    padding: var(--section-padding);
}

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

.realcase-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.realcase-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.realcase-image {
    position: relative;
    overflow: hidden;
    background: var(--bg-light);
}

.realcase-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.realcase-card:hover .realcase-image img {
    transform: scale(1.02);
}

.realcase-stats {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.realcase-stat {
    text-align: center;
    flex: 1;
}

.realcase-stat .label {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.realcase-stat .value {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
}

.realcase-stat.highlight .value {
    font-size: 1.1rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials {
    padding: var(--section-padding);
    background: var(--bg-section);
}

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

.testimonial {
    padding: 32px;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

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

.testimonial-content p {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.author-store {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Pricing
   ========================================================================== */
.pricing {
    padding: var(--section-padding);
}

.price-card {
    max-width: 420px;
    margin: 0 auto;
    padding: 40px;
    background: white;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
    border: 2px solid var(--primary-lighter);
    position: relative;
    overflow: hidden;
}

.price-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
}

.price-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.price-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.price {
    margin-bottom: 32px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.price-currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.price-amount {
    font-size: 4.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.price-period {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.price-features {
    list-style: none;
    text-align: left;
    margin-bottom: 32px;
}

.price-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-body);
    font-size: 0.95rem;
}

.price-features li:last-child {
    border-bottom: none;
}

.price-features .check {
    color: var(--success);
    font-weight: 700;
}

/* ==========================================================================
   Submit Case Form
   ========================================================================== */
.submit-case {
    padding: var(--section-padding);
    background: var(--bg-section);
}

.case-form {
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-group input[type="text"],
.form-group input[type="number"] {
    width: 100%;
    padding: 16px 20px;
    font-size: 1rem;
    font-family: inherit;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    background: white;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
}

.form-group input::placeholder {
    color: var(--text-light);
}

.file-upload {
    position: relative;
    cursor: pointer;
}

/* ==========================================================================
   CTA Form
   ========================================================================== */
.cta-form-wrapper {
    background: white;
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-xl);
    max-width: 480px;
    margin: 32px auto 0;
    text-align: left;
}

.cta-form .form-group {
    margin-bottom: 20px;
}

.cta-form label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.cta-form input,
.cta-form select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--bg-light);
}

.cta-form input:focus,
.cta-form select:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
}

.cta-form-btn {
    width: 100%;
    margin-top: 12px;
}


.file-upload input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-upload-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 40px;
    background: white;
    border: 2px dashed var(--border);
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.file-upload:hover .file-upload-content {
    border-color: var(--primary);
    background: var(--bg-light);
}

.file-upload.has-file .file-upload-content {
    border-color: var(--success);
    border-style: solid;
}

.file-icon {
    font-size: 2rem;
}

.file-text {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
}

.file-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--accent) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -25%;
    width: 50%;
    height: 200%;
    background: rgba(255, 255, 255, 0.05);
    transform: rotate(15deg);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta h2 {
    color: white;
    margin-bottom: 16px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta p {
    opacity: 0.9;
    margin-bottom: 40px;
    font-size: 1.15rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.guarantee {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    font-size: 0.95rem;
    opacity: 0.9;
}

.guarantee-icon {
    font-size: 1.2rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    padding: 60px 0 32px;
    background: var(--bg-light);
    border-top: 1px solid var(--border);
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.footer-brand {
    max-width: 320px;
}

.footer-brand .logo {
    display: inline-block;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

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

.footer-links a {
    color: var(--text-body);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

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

.footer-social {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-social svg {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.footer-social:hover svg {
    transform: scale(1.1);
}

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

.copyright {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Floating WhatsApp
   ========================================================================== */
.floating-wa {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    animation: float 3s ease-in-out infinite;
}

.floating-wa:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 992px) {

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

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

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

@media (max-width: 768px) {
    :root {
        --section-padding: 80px 0;
    }

    .header .btn {
        padding: 10px 18px;
        font-size: 0.85rem;
    }

    .hero {
        padding: 130px 0 80px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-desc {
        font-size: 1.05rem;
    }

    .stats-row {
        flex-direction: column;
        gap: 24px;
        padding: 28px;
    }

    .stat-divider {
        width: 60px;
        height: 1px;
    }

    .realcases-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .price-card {
        padding: 32px 24px;
    }

    .price-amount {
        font-size: 3.5rem;
    }

    .footer-main {
        flex-direction: column;
        gap: 32px;
        text-align: center;
    }

    .footer-brand {
        max-width: none;
    }

    .footer-links {
        justify-content: center;
    }

    .floating-wa {
        bottom: 16px;
        right: 16px;
        width: 54px;
        height: 54px;
    }

    .floating-wa svg {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .logo-text {
        font-size: 1.25rem;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .btn-lg {
        padding: 16px 28px;
        font-size: 1rem;
    }

    .btn-cta {
        padding: 18px 32px;
        font-size: 1rem;
    }

    .problem-card,
    .feature,
    .testimonial {
        padding: 24px;
    }

    .realcase-stats {
        flex-direction: column;
        gap: 8px;
    }

    .realcase-stat {
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }
}