/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Global animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

:root {
    --primary: #43AE76;
    --primary-dark: #3a9a68;
    --secondary: #f8fafc;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    --border: #e2e8f0;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--white);
    overflow-x: hidden;
}

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



/* Hero Section */
.hero {
    padding: 80px 0 80px;
    background: var(--white);
    min-height: 100vh;
    display: flex;
    align-items: center;
    animation: fadeInUp 0.8s ease-out;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    letter-spacing: -0.025em;
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

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

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    animation: fadeInUp 0.6s ease-out 0.6s both;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease-out 0.8s both;
}

.waitlist-form-inline {
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.05);
    padding: 0.5rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.waitlist-form-inline form {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.waitlist-form-inline input {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.8rem;
    outline: none;
    background: var(--white);
    color: var(--text-primary);
    min-width: 250px;
}

.waitlist-form-inline input::placeholder {
    color: var(--text-light);
    font-size: 0.75rem;
}

.waitlist-form-inline button {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    white-space: nowrap;
}





.btn-primary {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px) scale(1.05);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--white);
    color: var(--text-primary);
    border: 1px solid var(--border);
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background: var(--secondary);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px) scale(1.05);
}

/* App Mockup */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}



.placeholder-screenshot {
    width: 400px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    overflow: hidden;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.15);
}

.placeholder-content {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.25rem;
    font-weight: 500;
}

.iphone-frame {
    background: #1a1a1a;
    border-radius: 40px;
    padding: 8px;
    box-shadow: var(--shadow-xl);
    border: 2px solid #333;
    max-width: 400px;
    width: 100%;
    position: relative;
}

.iphone-notch {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 25px;
    background: #1a1a1a;
    border-radius: 0 0 15px 15px;
    z-index: 2;
}

.iphone-screen {
    background: var(--white);
    border-radius: 32px;
    padding: 0;
    height: auto;
    min-height: 500px;
    overflow: hidden;
}

.before-after-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    position: fixed;
    top: -20px;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: 100;
    pointer-events: none;
}

.option-btn {
    padding: 0.75rem 2rem;
    border: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-secondary);
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    pointer-events: auto;
}

.option-btn:hover {
    background: rgba(0, 0, 0, 0.1);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.option-btn.active {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 8px 25px rgba(67, 174, 118, 0.3);
}

.option-btn.before-btn.active {
    background: #EC4A4A;
    box-shadow: 0 8px 25px rgba(236, 74, 74, 0.3);
}

.option-btn.after-btn.active {
    background: var(--primary);
    box-shadow: 0 8px 25px rgba(67, 174, 118, 0.3);
}

.before-after-content {
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 80px;
}

.option-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.option-content.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.app-mockup {
    background: var(--white);
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    border: none;
    max-width: none;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.mockup-header {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.mockup-dots {
    display: flex;
    gap: 0.5rem;
}

.mockup-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-light);
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: var(--white);
}

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

.app-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.calendar-icon {
    font-size: 1.25rem;
    color: var(--text-primary);
}

.summary-section {
    padding: 1rem 1.5rem;
    text-align: center;
    background: #f8f9fa;
}

.summary-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.summary-stats {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.stat-item {
    text-align: center;
}

.stat-percentage {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.stat-item.productive .stat-percentage {
    color: var(--success);
}

.stat-item.life .stat-percentage {
    color: var(--warning);
}

.stat-item.unproductive .stat-percentage {
    color: var(--error);
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.stat-time {
    font-size: 0.75rem;
    color: var(--text-light);
}

.progress-bar {
    height: 8px;
    background: var(--border);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    margin-bottom: 0.5rem;
}

.progress-segment {
    height: 100%;
    min-width: 4px;
}

.progress-segment.productive {
    background: var(--success);
}

.progress-segment.life {
    background: var(--warning);
}

.progress-segment.unproductive {
    background: var(--error);
}

.time-blocks-list {
    padding: 0 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background: var(--white);
}

.time-block-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 12px;
    background: var(--white);
    border: 1px solid var(--border);
    min-height: 48px;
}

.time-block-item.productive {
    background: #f0fdf4;
    border-color: #dcfce7;
}

.time-block-item.productive .activity-name {
    font-size: 0.75rem;
}

.time-block-item.life {
    background: #fffbeb;
    border-color: #fef3c7;
}

.time-block-item.unproductive {
    background: #fef2f2;
    border-color: #fee2e2;
}

.block-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.block-dot.productive {
    background: var(--success);
}

.block-dot.life {
    background: var(--warning);
}

.block-dot.unproductive {
    background: var(--error);
}

.block-time {
    font-family: 'Inter', monospace;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    min-width: 120px;
}

.block-activity {
    display: flex;
    align-items: center;
}

.activity-name {
    font-size: 0.875rem;
    font-weight: 500;
}

.time-block-item.productive .activity-name {
    color: var(--success);
}

.time-block-item.life .activity-name {
    color: var(--warning);
}

.time-block-item.unproductive .activity-name {
    color: var(--error);
}





/* Features Section */
.features {
    padding: 100px 0;
    background: var(--text-primary);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeInUp 0.6s ease-out both;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.6s ease-out both;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
    animation: float 4s ease-in-out infinite;
}

.feature-icon:nth-child(1) { animation-delay: 0s; }
.feature-icon:nth-child(2) { animation-delay: 1.3s; }
.feature-icon:nth-child(3) { animation-delay: 2.6s; }

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Waitlist Section */
.waitlist {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    animation: fadeInUp 0.6s ease-out both;
}

.waitlist-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.waitlist h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

.waitlist p {
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.waitlist-form {
    margin-bottom: 3rem;
}

.form-group {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.waitlist-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    outline: none;
    background: var(--white);
    color: var(--text-primary);
}

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

.waitlist-form button {
    background: var(--text-primary);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.waitlist-form button:hover {
    background: var(--text-secondary);
    transform: translateY(-2px);
}

.waitlist-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    animation: pulse 2s ease-in-out infinite;
}

.stat-number:nth-child(1) { animation-delay: 0s; }
.stat-number:nth-child(2) { animation-delay: 0.7s; }
.stat-number:nth-child(3) { animation-delay: 1.4s; }





/* Mobile waitlist section - hidden on desktop */
.mobile-waitlist {
    display: none;
}

/* Responsive Design */
/* Basic responsive design rules */
@media (max-width: 768px) {
    .hero-container {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        text-align: center;
        padding: 0 1rem;
    }
    
    /* Reorder mobile layout: content first, then visual, then waitlist */
    .hero-content {
        order: 1;
    }
    
    .hero-visual {
        order: 2;
        margin-top: 0;
        margin-bottom: 2rem;
        display: flex;
        flex-direction: column;
    }
    
    /* Hide waitlist form in hero section on mobile */
    .hero-actions {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 1.125rem;
        margin-bottom: 2rem;
    }
    

    
    .waitlist-form-inline {
        max-width: 320px;
        padding: 0.75rem;
        margin: 0 auto;
    }
    
    .waitlist-form-inline form {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
    }
    
    .waitlist-form-inline input {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .waitlist-form-inline button {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
    }
    

    
    .before-after-buttons {
        position: relative;
        top: 0;
        left: auto;
        transform: none;
        margin-bottom: 1.5rem;
        pointer-events: auto;
        order: 1;
    }
    
    .before-after-content {
        order: 2;
        margin-top: 0;
        height: auto;
        min-height: 400px;
    }
    
    .placeholder-screenshot {
        width: 100%;
        max-width: 350px;
        height: 350px;
        margin: 0 auto;
    }
    
    .iphone-frame {
        max-width: 320px;
        width: 100%;
        margin: 0 auto;
    }
    
    .iphone-screen {
        min-height: 400px;
    }
    
    .app-mockup {
        width: 100%;
    }
    
    .app-header {
        padding: 0.75rem 1rem;
    }
    
    .summary-section {
        padding: 0.75rem 1rem;
    }
    
    .summary-title {
        font-size: 1.25rem;
    }
    
    .stats-grid {
        gap: 0.75rem;
    }
    
    .time-blocks-list {
        padding: 0 1rem 1rem;
    }
    
    .time-block-item {
        padding: 0.5rem;
        min-height: 40px;
    }
    
    .block-time {
        min-width: 100px;
        font-size: 0.75rem;
    }
    
    .activity-name {
        font-size: 0.75rem;
    }
    
    .features {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
    }
    
    .waitlist {
        padding: 60px 0;
    }
    
    .waitlist h2 {
        font-size: 2rem;
    }
    
    /* Mobile-only waitlist section at bottom */
    .mobile-waitlist {
        display: block;
        padding: 3rem 1rem;
        background: var(--white);
        text-align: center;
        margin-top: 2rem;
        border-top: 1px solid var(--border);
    }
    
    .mobile-waitlist h2 {
        font-size: 2rem;
        font-weight: 700;
        color: var(--text-primary);
        margin-bottom: 1rem;
    }
    
    .mobile-waitlist p {
        font-size: 1.125rem;
        color: var(--text-secondary);
        margin-bottom: 2rem;
    }
    
    .mobile-waitlist .waitlist-form-inline {
        max-width: 400px;
        margin: 0 auto;
        background: rgba(0, 0, 0, 0.05);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(0, 0, 0, 0.1);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    }
    
    .mobile-waitlist .waitlist-form-inline input {
        background: var(--white);
        border: 1px solid var(--border);
        color: var(--text-primary);
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
        border-radius: 8px;
    }
    
    .mobile-waitlist .waitlist-form-inline input::placeholder {
        color: var(--text-light);
    }
    
    .mobile-waitlist .waitlist-form-inline button {
        background: var(--primary);
        color: var(--white);
        border: none;
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
        border-radius: 8px;
        font-weight: 600;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 40px 0 40px;
    }
    
    .hero-container {
        padding: 0 0.75rem;
        gap: 1.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-badge {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .waitlist-form-inline {
        max-width: 280px;
        padding: 0.5rem;
        margin: 0 auto;
    }
    
    .waitlist-form-inline input {
        padding: 0.875rem;
        font-size: 0.875rem;
    }
    
    .waitlist-form-inline button {
        padding: 0.875rem;
        font-size: 0.875rem;
    }
    
    .placeholder-screenshot {
        max-width: 300px;
        height: 300px;
    }
    
    .iphone-frame {
        max-width: 280px;
    }
    
    .iphone-screen {
        min-height: 350px;
    }
    
    .before-after-buttons {
        gap: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .option-btn {
        padding: 0.625rem 1.5rem;
        font-size: 0.875rem;
    }
    
    .features {
        padding: 40px 0;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .feature-card {
        padding: 1.5rem 1rem;
    }
    
    .waitlist {
        padding: 40px 0;
    }
    
    .waitlist h2 {
        font-size: 1.75rem;
    }
}
