/* GENERAL ROOT STYLES */
:root {
    --primary: #00A868;
    --primary-light: #00C276;
    --primary-dark: #008753;
    --accent: #F9A825;
    --danger: #D32F2F;
    --success: #4CAF50;
    --background: #FFFFFF;
    --surface: #FFFFFF;
    --surface-variant: #F9FBF9;
    --text-primary: #1C2821;
    --text-secondary: #5C6B61;
    --border: #E2E8F0;
    --radius: 16px;
    --shadow: 0 10px 30px rgba(0, 168, 104, 0.06);
    --shadow-hover: 0 20px 40px rgba(0, 168, 104, 0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-family: 'Outfit', sans-serif;
    color: var(--text-primary);
    background-color: var(--background);
}

body {
    overflow-x: hidden;
    line-height: 1.6;
}

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

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    border: none;
    box-shadow: 0 4px 14px rgba(0, 168, 104, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 168, 104, 0.4);
}

.btn-secondary {
    background-color: var(--surface-variant);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background-color: #F1F5F2;
    transform: translateY(-2px);
}

.btn-full {
    display: flex;
    width: 100%;
    text-align: center;
}

/* NAVIGATION BAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 168, 104, 0.08);
    z-index: 1000;
    transition: var(--transition);
}

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

.logo {
    display: flex;
    align-items: center;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    gap: 12px;
}

.logo-deud {
    color: var(--text-primary);
    font-weight: 900;
}

.logo-app {
    color: var(--primary);
    font-weight: 900;
}

.nav-logo-img {
    height: 36px;
    width: 36px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 168, 104, 0.15);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
}

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

.nav-link-secondary {
    color: var(--text-secondary);
    background: none;
    border: none;
    cursor: pointer;
}

.btn-nav {
    padding: 10px 20px;
    font-size: 14px;
}

/* HERO SECTION */
.hero {
    padding: 105px 0 30px 0;
    background: radial-gradient(circle at 80% 20%, rgba(0, 168, 104, 0.05) 0%, rgba(255, 255, 255, 0) 50%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.badge {
    background-color: rgba(0, 168, 104, 0.1);
    color: var(--primary-dark);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 900;
    line-height: 1.15;
    color: var(--text-primary);
    margin-bottom: 24px;
    letter-spacing: -1.5px;
}

.hero-content p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 520px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

/* CSS PHONE MOCKUP */
.hero-visual {
    display: flex;
    justify-content: center;
    position: relative;
    height: 380px; /* Cropped height to show only top half */
    overflow: hidden;
}

.hero-visual::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px; /* Fade-out threshold gradient */
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 95%);
    pointer-events: none;
    z-index: 5;
}

.phone-mockup {
    width: 310px;
    height: 380px; /* Match cropped height */
    background-color: #1a1a1a;
    border-top-left-radius: 44px;
    border-top-right-radius: 44px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    padding: 12px 12px 0 12px;
    box-shadow: 0 -10px 40px rgba(0, 168, 104, 0.08), inset 0 0 3px 2px rgba(255,255,255,0.1);
    position: relative;
    border: 4px solid #2d2d2d;
    border-bottom: none;
    overflow: hidden;
}

.phone-speaker {
    width: 60px;
    height: 5px;
    background-color: #2d2d2d;
    border-radius: 10px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 580px; /* Keep full screen content size inside */
    background-color: #F8FAFC;
    border-top-left-radius: 34px;
    border-top-right-radius: 34px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 20px 16px;
}

/* Simulated App styles inside mockup */
.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid #E2E8F0;
    margin-bottom: 10px;
}

.app-header-logo {
    display: flex;
    align-items: center;
    gap: 6px;
}

.header-logo-box {
    background-color: var(--primary);
    color: white;
    font-size: 13px;
    font-weight: 900;
    width: 24px;
    height: 24px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-logo-text {
    font-size: 14px;
    font-weight: 800;
}

.hdr-deud {
    color: #1a1a1a;
}

.hdr-app {
    color: var(--primary);
}

.app-header-icons {
    display: flex;
    gap: 8px;
}

.hdr-icon {
    width: 16px !important;
    height: 16px !important;
    color: #4A5568 !important;
}

.app-tabs {
    display: flex;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 12px;
}

.app-tab {
    flex: 1;
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 0;
    color: #718096;
    background-color: white;
}

.app-tab.active {
    color: var(--primary-dark);
    background-color: #EDF7F2;
    border-bottom: 2px solid var(--primary);
}

.app-filters-label {
    font-size: 10px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 4px;
}

.app-filters-row {
    display: flex;
    gap: 4px;
    margin-bottom: 14px;
    overflow-x: hidden;
}

.filter-opt {
    font-size: 9px;
    font-weight: 700;
    padding: 4px 8px;
    background-color: #EDF2F7;
    border-radius: 12px;
    color: #4A5568;
    white-space: nowrap;
}

.filter-opt.active {
    background-color: var(--primary);
    color: white;
}

.app-section-title {
    font-size: 11px;
    font-weight: 700;
    color: #718096;
    margin-bottom: 8px;
    text-align: left;
}

.app-metric-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-grow: 1;
}

.metric-item {
    background-color: white;
    border-radius: 12px;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #E2E8F0;
}

.border-primary {
    border-left: 4px solid var(--primary);
}

.border-success {
    border-left: 4px solid var(--success);
}

.border-warning {
    border-left: 4px solid var(--accent);
}

.metric-icon-box {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bg-primary-light {
    background-color: #E6F6EF;
}

.bg-success-light {
    background-color: #EAF7EC;
}

.bg-warning-light {
    background-color: #FFFDE7;
}

.metric-svg-primary {
    width: 16px !important;
    height: 16px !important;
    stroke: var(--primary) !important;
}

.metric-svg-success {
    width: 16px !important;
    height: 16px !important;
    stroke: var(--success) !important;
}

.metric-svg-warning {
    width: 16px !important;
    height: 16px !important;
    stroke: var(--accent) !important;
}

.metric-data {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.metric-label {
    font-size: 9px;
    color: #718096;
    font-weight: 500;
}

.metric-val {
    font-size: 14px;
    font-weight: 800;
}

.text-primary {
    color: var(--primary-dark);
}

.text-success {
    color: var(--success);
}

.text-warning {
    color: #D48C00;
}

.app-navbar {
    height: 48px;
    background-color: white;
    border-top: 1px solid #E2E8F0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: auto;
    padding-top: 4px;
}

.app-navbar span {
    color: #A0AEC0;
}

.app-navbar span svg {
    width: 18px !important;
    height: 18px !important;
    stroke: #A0AEC0 !important;
}

.app-navbar span.active-nav svg {
    stroke: var(--primary) !important;
}

/* FEATURES SECTION */
.features {
    padding: 100px 0;
    background-color: var(--surface-variant);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 40px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
    letter-spacing: -1px;
}

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 30px;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(0, 168, 104, 0.2);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #EDF7F2;
    border-radius: 16px;
    margin-bottom: 24px;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--primary);
    stroke-width: 2px;
}

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

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

/* HOW IT WORKS SECTION */
.how-it-works {
    padding: 100px 0;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.step-item {
    position: relative;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.step-number {
    background-color: var(--primary);
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0,168,104,0.25);
}

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

.step-content p {
    font-size: 15px;
    color: var(--text-secondary);
}

/* PRICING / PLANES */
.pricing {
    padding: 100px 0;
    background-color: var(--surface-variant);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 450px));
    gap: 30px;
    justify-content: center;
    margin-top: 40px;
}

.price-card {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 50px 40px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition);
}

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

.price-card.premium {
    border: 2px solid var(--primary);
    box-shadow: 0 15px 35px rgba(0, 168, 104, 0.1);
}

.plan-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--text-secondary);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

.bg-gold {
    background-color: #FFF3E0 !important;
    color: #E65100 !important;
}

.price-card h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 16px;
}

.price-amount {
    font-size: 48px;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 20px;
    display: flex;
    align-items: baseline;
}

.price-amount span {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-left: 6px;
}

.plan-desc {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    min-height: 48px;
}

.plan-features {
    list-style: none;
    margin-bottom: 40px;
    flex-grow: 1;
}

.plan-features li {
    font-size: 15px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* DOWNLOAD CALL TO ACTION */
.download {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
}

.download-container {
    max-width: 700px;
}

.download h2 {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
}

.download p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 40px;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.store-button {
    background-color: white;
    color: #1a1a1a;
    border-radius: 14px;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: var(--transition);
}

.store-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

.store-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.store-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--text-primary);
    stroke-width: 2px;
}

.btn-apk-style .store-icon svg {
    stroke: white;
}

.store-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.store-text small {
    font-size: 10px;
    opacity: 0.6;
    font-weight: 500;
}

.store-text strong {
    font-size: 16px;
    font-weight: 700;
}

.btn-apk-style {
    background-color: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-apk-style:hover {
    background-color: rgba(255, 255, 255, 0.25);
}

/* FOOTER */
.footer {
    background-color: #0d1410;
    color: #a0aba3;
    padding: 40px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

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

.copyright {
    font-size: 14px;
}

.footer-links a {
    color: #a0aba3;
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

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

/* MODAL OVERLAY STYLES */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(13, 20, 16, 0.6);
    backdrop-filter: blur(8px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 20px;
    animation: fadeIn 0.25s ease-out;
}

.modal-card {
    background-color: white;
    width: 100%;
    max-width: 800px;
    max-height: 85vh;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
    animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-header {
    padding: 24px 32px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
}

.close-modal-btn {
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.close-modal-btn:hover {
    color: var(--danger);
}

.modal-body {
    padding: 32px;
    overflow-y: auto;
    font-size: 15px;
    color: #4a5568;
    line-height: 1.7;
}

.updated-date {
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 16px;
    font-size: 14px;
}

.modal-body h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 24px 0 10px 0;
}

.modal-body h3:first-of-type {
    margin-top: 10px;
}

.modal-body p {
    margin-bottom: 14px;
}

.modal-body ul {
    margin-bottom: 16px;
    padding-left: 20px;
}

.modal-body li {
    margin-bottom: 8px;
}

.modal-footer {
    padding: 20px 32px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: flex-end;
}

/* ANIMATIONS */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* RESPONSIVE DESIGN */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }
    .hero-content {
        align-items: center;
    }
    .hero-content h1 {
        font-size: 44px;
    }
    .hero-content p {
        margin: 0 auto 30px auto;
    }
    .hero-visual {
        order: 2;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none; /* simple mobile bypass */
    }
    .navbar {
        height: 70px;
    }
    .nav-container {
        height: 70px;
    }
    .hero {
        padding-top: 120px;
    }
    .hero-content h1 {
        font-size: 36px;
    }
    .section-title h2 {
        font-size: 32px;
    }
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
}

.logo-text {
    display: inline-flex;
    align-items: center;
}
