:root {
    --primary: #1B4332;
    --primary-light: #2D6A4F;
    --primary-lightest: #40916C;
    --background: #FAF6F1;
    --surface: #FFFFFF;
    --text: #2D3436;
    --text-secondary: #6B7280;
    --accent: #D4A574;
    --border: #E5E0D8;
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-glow: 0 0 40px rgba(45, 106, 79, 0.3);
}

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

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text);
}

a {
    text-decoration: none;
    color: var(--text);
    transition: color 0.2s ease;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(250, 246, 241, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(229, 224, 216, 0.5);
    z-index: 100;
    padding: 16px 0;
}

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

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

.logo-img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

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

.nav-links a:not(.btn) {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: var(--primary);
    color: #FFFFFF;
    box-shadow: 0 4px 14px 0 rgba(27, 67, 50, 0.39);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(27, 67, 50, 0.23);
    color: #FFFFFF;
}

.btn-primary-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 10px 22px; /* Adjust for border */
}

.btn-primary-outline:hover {
    background-color: var(--primary);
    color: #FFFFFF;
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    overflow: hidden;
    position: relative;
    background-color: var(--background);
    background-image: radial-gradient(rgba(27, 67, 50, 0.04) 1.5px, transparent 1.5px);
    background-size: 24px 24px;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(45, 106, 79, 0.1);
    color: var(--primary-light);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 3.5rem;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    color: var(--primary);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

/* Phone Mockup */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.glow-orb {
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--primary-lightest);
    filter: blur(100px);
    border-radius: 50%;
    opacity: 0.4;
    z-index: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.4; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.6; }
}

.phone-mockup {
    position: relative;
    z-index: 1;
    width: 320px;
    height: 650px;
    background-color: #1A1A1A;
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: rotate(-2deg);
    transition: transform 0.5s ease;
}

.phone-mockup:hover {
    transform: rotate(0deg) translateY(-10px);
}

.logo-large {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.logo-large:hover {
    transform: scale(1.05);
}

/* Play Store Badge CTA */
.play-store-badge {
    display: inline-block;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.play-store-badge:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background-color: #0b0f17;
    border-radius: 32px;
    overflow: hidden;
    padding: 16px;
    display: flex;
    flex-direction: column;
    position: relative;
    user-select: none;
}

/* Status Bar */
.mockup-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 12px;
    padding: 0 4px;
}

.status-icons {
    display: flex;
    gap: 4px;
}

/* Mockup Header */
.mockup-header-section {
    margin-bottom: 16px;
    padding: 0 4px;
}

.mockup-greeting-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mockup-greeting-label {
    display: block;
    font-size: 0.72rem;
    color: #64748b;
}

.mockup-username {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: #f8fafc;
}

.mockup-coins-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    background-color: rgba(212, 165, 116, 0.12);
    padding: 4px 8px;
    border-radius: var(--radius-full);
}

.coins-icon {
    font-size: 0.8rem;
}

.coins-value {
    font-size: 0.78rem;
    font-weight: 700;
    color: #D4A574;
}

/* Mockup Recovery Card */
.mockup-recovery-card {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 20px;
    padding: 16px;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: var(--shadow-md);
    margin-bottom: 20px;
}

.mockup-card-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mockup-card-left-section {
    display: flex;
    flex-direction: column;
}

.card-label {
    font-size: 0.75rem;
    opacity: 0.85;
    font-weight: 500;
}

.card-value {
    font-size: 2.3rem;
    font-weight: 700;
    line-height: 1.1;
    margin: 2px 0 0;
}

/* Progress Ring */
.mockup-card-right-section {
    position: relative;
    width: 58px;
    height: 58px;
}

.circular-chart {
    display: block;
    max-height: 100%;
}

.circle-bg {
    fill: none;
    stroke: rgba(255,255,255,0.15);
    stroke-width: 3.8;
}

.circle {
    fill: none;
    stroke: #FFFFFF;
    stroke-width: 3.8;
    stroke-linecap: round;
}

.percentage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.75rem;
    font-weight: 700;
}

/* Section Title */
.mockup-section-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 10px;
    padding: 0 4px;
    display: flex;
    justify-content: space-between;
}

.mission-count {
    font-size: 0.75rem;
    color: #64748b;
}

/* Mission List */
.mockup-mission-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mockup-mission-card {
    background-color: #151e2d;
    border-radius: 14px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.mission-check {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: #10B981;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: bold;
}

.mission-check-empty {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1.5px solid #475569;
}

.mission-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.mission-name {
    font-size: 0.8rem;
    font-weight: 700;
    color: #f8fafc;
}

.mission-desc {
    font-size: 0.65rem;
    color: #94a3b8;
}

.mission-reward {
    font-size: 0.75rem;
    font-weight: 700;
    color: #D4A574;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

/* Scrollable Screen Content */
.phone-scroll-content {
    flex: 1;
    overflow-y: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE 10+ */
    padding-right: 2px;
}

.phone-scroll-content::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
}

/* Mockup Timer Card */
.mockup-timer-card {
    background-color: #151e2d;
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 14px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.timer-card-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.timer-card-icon-container {
    background: linear-gradient(135deg, #c1754f, #ea936b);
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timer-card-text {
    display: flex;
    flex-direction: column;
}

.timer-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: #f8fafc;
}

.timer-desc {
    font-size: 0.65rem;
    color: #94a3b8;
}

.chevron-right {
    font-size: 1.1rem;
    color: #64748b;
    font-weight: 300;
}

/* Mockup Exercise Grid */
.mockup-exercise-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 10px;
    margin-bottom: 12px;
}

.mockup-exercise-card {
    border-radius: 16px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: transform 0.2s ease;
    position: relative;
}

.exercise-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.exercise-icon-badge {
    width: 24px;
    height: 24px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.crown-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
}

.exercise-name {
    font-size: 0.8rem;
    font-weight: 700;
    margin-top: 2px;
}

.exercise-desc {
    font-size: 0.62rem;
}

/* Exercise card color variants matching screenshots */
.green-tint {
    background: #E5ECE7;
}
.green-tint .exercise-name {
    color: #122c1e;
}
.green-tint .exercise-desc {
    color: #4b6b58;
}
.green-tint .exercise-icon-badge {
    background-color: rgba(27, 67, 50, 0.08);
}

.indigo-tint {
    background: #2F3CA5;
}
.indigo-tint .exercise-name {
    color: #FFFFFF;
}
.indigo-tint .exercise-desc {
    color: #A5B4FC;
}
.indigo-tint .exercise-icon-badge {
    background-color: rgba(255, 255, 255, 0.12);
}

.red-tint {
    background: #7F1D1D;
}
.red-tint .exercise-name {
    color: #FFFFFF;
}
.red-tint .exercise-desc {
    color: #FCA5A5;
}
.red-tint .exercise-icon-badge {
    background-color: rgba(255, 255, 255, 0.12);
}

.teal-tint {
    background: #E0F2FE;
}
.teal-tint .exercise-name {
    color: #0369A1;
}
.teal-tint .exercise-desc {
    color: #0284C7;
}
.teal-tint .exercise-icon-badge {
    background-color: rgba(3, 105, 161, 0.08);
}

/* Mockup Word Focus Card (Full Width) */
.mockup-word-focus-card {
    background: #78350F;
    border-radius: 16px;
    padding: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.word-focus-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.word-focus-icon-badge {
    background-color: rgba(255, 255, 255, 0.12);
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.word-focus-text {
    display: flex;
    flex-direction: column;
}

.word-focus-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: #FFFFFF;
}

.word-focus-desc {
    font-size: 0.65rem;
    color: #FED7AA;
}

.word-focus-right-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.play-arrow {
    font-size: 0.75rem;
    color: #FAF6F1;
}

/* Bottom Nav */
.mockup-bottom-nav {
    display: flex;
    justify-content: space-around;
    padding: 10px 8px 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background-color: #0b0f17;
    margin-top: auto;
}

.nav-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    opacity: 0.6;
}

.nav-tab.active {
    opacity: 1;
}

.tab-label {
    font-size: 0.6rem;
    font-weight: 700;
    color: #64748B;
}

.nav-tab.active .tab-label {
    color: #10B981;
}

/* Features */
.features {
    padding: 100px 0;
    background-color: var(--surface);
    background-image: radial-gradient(rgba(27, 67, 50, 0.02) 1.5px, transparent 1.5px);
    background-size: 20px 20px;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: var(--primary);
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.feature-card {
    background: var(--background);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    background-color: var(--primary);
    color: rgba(255, 255, 255, 0.8);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    color: #FFFFFF;
    margin-bottom: 12px;
}

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

.link-group h4 {
    color: #FFFFFF;
    margin-bottom: 20px;
    font-size: 1rem;
}

.link-group a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.link-group a:hover {
    color: #FFFFFF;
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-cta {
        display: flex;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-links a:not(.btn) {
        display: none;
    }
    
    .footer-container {
        flex-direction: column;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 40px;
    }
}

/* Navbar Logo Brand Text style */
.logo span {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary);
    letter-spacing: -0.5px;
    cursor: pointer;
}

/* Hero Big Logo */
.hero-logo-container {
    margin-bottom: 24px;
}

.hero-logo {
    width: 128px;
    height: 128px;
    border-radius: 28px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.hero-logo:hover {
    transform: scale(1.05);
}

/* Recovery Card Stats layout */
.mockup-card-bottom-row {
    display: flex;
    gap: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 8px;
}

.mockup-stat-item {
    display: flex;
    align-items: center;
    gap: 4px;
    opacity: 0.9;
}

.mockup-stat-icon {
    stroke: rgba(250, 246, 241, 0.9);
}

.stat-text {
    font-size: 0.65rem;
    font-weight: 500;
    color: rgba(250, 246, 241, 0.9);
}

.ring-label-small {
    font-size: 0.45rem;
    font-weight: 400;
    opacity: 0.7;
    text-transform: uppercase;
    line-height: 1;
    display: block;
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: var(--background);
    background-image: radial-gradient(rgba(27, 67, 50, 0.02) 1.5px, transparent 1.5px);
    background-size: 20px 20px;
}

.about-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-container h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 32px;
    text-align: center;
}

.about-text {
    max-width: 780px;
    margin: 0 auto;
    color: var(--text-secondary);
    font-size: 1.15rem;
    line-height: 1.8;
    text-align: center;
}
