/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Custom Font */
@font-face {
    font-family: 'Tw Cen MT';
    src: url('assets/TCCEB.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}

:root {
    /* Colors from your app */
    --primary: #eb897a;
    --secondary: #f5f5f5;
    --tertiary: #f2edda;
    --background: #b9e5e2;
    --surface: #e8f5f3;
    --card-bg: #f6fff1;
    --text-primary: #111;
    --text-secondary: #666;
    --text-tertiary: #999;
    --border: #ddd;
    
    /* Spacing - reduced */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 12px;
    --spacing-lg: 16px;
    --spacing-xl: 20px;
    --spacing-xxl: 24px;
    
    /* Border radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    
    /* Typography */
    --font-primary: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
}

/* Hero Section - Much more compact */
.hero {
    padding: 50px 0 60px;
    background: #b9e5e2;
}

.hero-content-wrapper {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    justify-content: start;
    margin-left: calc(50% - 550px - 40px + 75px);
}

.hero-content {
    /* Logo, title, subtitle, button */
    max-width: 550px;
}

.logo {
    height: 80px;
    width: auto;
    margin-bottom: var(--spacing-lg);
    display: block;
}

.hero-title {
    font-size: 2.2rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    line-height: 1.5;
}

.cta-button {
    display: inline-block;
    background-color: #eb897a;
    color: white;
    padding: 14px 24px;
    border-radius: 16px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: none;
}

.cta-button:hover {
    background-color: #e47566;
    box-shadow: none;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mascot {
    width: 280px;
    height: auto;
    max-width: 100%;
}

/* Section Title - Smaller */
.section-title {
    font-family: 'Tw Cen MT', 'Arial Narrow', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 4px;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-subtitle {
    font-size: 0.95rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 30px;
}

.mobile-break {
    display: none;
}

/* How It Works Section - Refined horizontal layout */
.how-it-works {
    padding: 50px 0;
    background-color: var(--card-bg);
}

.steps-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.step-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 280px;
}

.step-number {
    width: 44px;
    height: 44px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.step-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xl);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-height: 20px;
}

.step-details {
    width: 100%;
}

.step-subtitle {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.4;
}

/* Step 1: Schedule options side by side */
.schedule-options-row {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: var(--spacing-md);
}

.schedule-option {
    text-align: center;
    flex: 0 0 auto;
    min-width: 120px;
}

.schedule-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    margin: 0 0 2px 0;
    line-height: 1.4;
    white-space: nowrap;
}

.schedule-desc {
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.4;
    margin: 0 0 var(--spacing-lg) 0;
    white-space: nowrap;
}

.schedule-icon {
    width: 32px;
    height: 32px;
    margin: 0 auto;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.or-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 0 var(--spacing-sm);
    align-self: center;
    margin-top: 30px;
}

/* Step 2: App SVG icons */
.app-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    max-width: 180px;
    margin: 0 auto;
    align-items: start;
}

.app-icon-wrapper {
    position: relative;
    display: inline-block;
}

.app-icon-svg {
    width: 32px;
    height: 32px;
    color: var(--text-primary);
}

.checkbox {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 16px;
    height: 16px;
    background-color: white;
    color: #111;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    border: 2px solid #111;
}

.app-icon-wrapper.selected .checkbox {
    display: flex;
}

/* Step 3: Blocked phone */
.phone-blocked {
    display: flex;
    justify-content: center;
    margin-top: var(--spacing-md);
}

.phone-mini {
    width: 80px;
    height: 140px;
    background: white;
    border-radius: 16px;
    border: 3px solid var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm);
    position: relative;
}

.phone-mini::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 4px;
    background: var(--text-primary);
    border-radius: 2px;
}

.blocked-apps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xs);
}

.blocked-app {
    width: 28px;
    height: 28px;
    background: var(--surface);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

/* Arrows between steps */
.step-arrow {
    font-size: 1.8rem;
    color: var(--primary);
    align-self: center;
    margin-top: 40px;
}

/* Why It Works Section - Minimal fact cards */
.why-it-works {
    padding: 50px 0;
    background: var(--card-bg);
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.fact-card {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-md);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease;
}

.fact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.fact-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-secondary);
    font-weight: 400;
}

/* Features Section - Smaller cards */
.features {
    padding: 50px 0;
    background-color: #e8f5f3;
}

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

.feature-card {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-md);
    border: 1.5px solid var(--border);
    transition: all 0.2s ease;
}

.feature-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.feature-icon {
    width: 32px;
    height: 32px;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.feature-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
}

.feature-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Testimonials Section - Smaller cards */
.testimonials {
    padding: 50px 0;
    background: var(--surface);
}

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

.testimonial-card {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-md);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.stars {
    color: #fbbf24;
    font-size: 0.95rem;
    margin-bottom: var(--spacing-sm);
}

.testimonial-text {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    font-style: italic;
}

.testimonial-author {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* CTA Section - More compact */
.cta-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary) 0%, #e47566 100%);
    color: white;
    text-align: center;
}

.cta-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.cta-subtitle {
    font-size: 1rem;
    margin-bottom: var(--spacing-lg);
    opacity: 0.95;
}

.cta-text {
    font-size: 0.9rem;
    margin-bottom: 6px;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-text:last-of-type {
    margin-bottom: 40px;
}

.cta-final {
    font-size: 1rem;
    margin-top: 0;
    margin-bottom: var(--spacing-xl);
    opacity: 0.95;
    font-weight: 500;
    padding-top: 10px;
}

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

.download-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.6);
    color: var(--text-primary);
    padding: 12px 24px;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    position: relative;
    pointer-events: none;
}

.download-btn:hover {
    transform: none;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.download-btn svg,
.download-btn .download-text {
    opacity: 0.6;
}

.coming-soon-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: white;
    color: var(--text-primary);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    pointer-events: none;
    white-space: nowrap;
    border: 1.5px solid var(--border);
    opacity: 1;
}

.download-btn svg {
    width: 22px;
    height: 22px;
}

.download-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin-top: 4px;
}

.download-small {
    font-size: 0.7rem;
    color: var(--text-secondary);
}

.download-large {
    font-size: 0.95rem;
    font-weight: 600;
}

/* Footer - Compact */
.footer {
    padding: 40px 0;
    background-color: var(--card-bg);
    text-align: center;
}

.footer-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xs);
}

.footer-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #e47566;
}

.footer-copyright {
    margin-top: var(--spacing-lg);
    color: var(--text-tertiary);
    font-size: 0.8rem;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-content-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    
    .logo {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-visual {
        /* Mascot stays on top (natural order) */
    }
    
    .mascot {
        width: 200px;
    }
    
    .steps-container {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
    
    .step-column {
        max-width: 300px;
    }
    
    .schedule-options-row {
        flex-direction: column;
        gap: var(--spacing-md);
        align-items: center;
    }
    
    .schedule-option {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .schedule-desc {
        margin-bottom: var(--spacing-sm);
    }
    
    .or-text {
        padding: 0;
        margin-top: 0;
    }
    
    .section-subtitle {
        margin-bottom: 20px;
    }
    
    .section-title {
        margin-bottom: 0;
    }
    
    .hero-visual {
        margin-bottom: 0;
    }
    
    .step-arrow {
        transform: rotate(90deg);
        margin: 0;
    }
    
    .features-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .facts-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 var(--spacing-lg);
    }
    
    .hero {
        padding: var(--spacing-xl) 0 30px;
    }
    
    .hero-visual {
        margin-bottom: -20px;
    }
    
    .logo {
        margin-bottom: var(--spacing-sm);
    }
    
    .section-title {
        margin-bottom: 0 !important;
    }
    
    .section-subtitle {
        margin-bottom: 20px !important;
    }
    
    .mobile-break {
        display: inline;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 0 !important;
    }
    
    .how-it-works,
    .why-it-works,
    .features,
    .testimonials {
        padding: 40px 0;
    }
    
    .cta-section {
        padding: 50px 0;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .download-btn {
        justify-content: center;
    }
}