/* Modern Professional Styles for Atha */

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', sans-serif;
    
    background: linear-gradient(180deg, #FFFBF7 0%, #FFF5EE 40%, #FFFFFF 100%);
    background-attachment: fixed;
    color: #1A1A1A;
    overflow-x: hidden;
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Fixed Waitlist Button - Top Right */
.global-waitlist {
    position: fixed;
    z-index: 9999;
    padding: 12px 24px;
    border-radius: 12px;
    background: #FF8C42;
    color: #FFFFFF;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 12px rgba(255, 140, 66, 0.25);
}

.global-waitlist.top-right { 
    top: 24px; 
    right: 24px; 
}

.global-waitlist:hover { 
    background: #E67A32; 
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 140, 66, 0.35);
}

@media (max-width: 700px) { 
    .global-waitlist.top-right { display: none; } 
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 32px;
    position: relative;
}

.hero-content {
    width: 100%;
    max-width: 1400px;
    text-align: center;
}

/* Credentials Badge */
.credentials {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(255, 140, 66, 0.08);
    border: 1px solid rgba(255, 140, 66, 0.2);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: #FF8C42;
    margin-bottom: 24px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 72px;
    font-weight: 800;
    color: #FF8C42;
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -0.03em;
    font-family: "Gelasio", serif;
}

.hero-subtitle {
    font-size: 24px;
    color: #404040;
    font-weight: 500;
    margin-bottom: 40px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.hero-cta-link {
    display: inline-block;
    margin-bottom: 32px;
    padding: 16px 40px;
    background: #FF8C42;
    color: white;
    text-decoration: none;
    font-size: 17px;
    font-weight: 600;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(255, 140, 66, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-cta-link:hover {
    background: #E67A32;
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(255, 140, 66, 0.4);
}

/* Phone Container */
.phone-container {
    position: relative;
    width: 100%;
    height: 720px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

/* Message Bubbles */
.messages-container {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 100; 
}

.message-bubble {
    position: absolute;
    padding: 14px 22px;
    border-radius: 22px;
    font-size: 14px;
    font-weight: 500;
    color: #FFFFFF;
    white-space: nowrap;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
    animation: swirl 12s infinite ease-in-out;
    opacity: 0.92;
    z-index: 100;
}

/* Bubble Colors - Refined palette */
.message-bubble.blue { background: #007AFF; }
.message-bubble.green { background: #34C759; }
.message-bubble.pink { background: #FF9ECD; color: #1A1A1A; }
.message-bubble.purple { background: #AF52DE; }
.message-bubble.yellow { background: #FFD60A; color: #1A1A1A; }
.message-bubble.coral { background: #FF8C42; }
.message-bubble.light-blue { background: #5AC8FA; color: #1A1A1A; }

/* Position bubbles in circular pattern */
.message-bubble:nth-child(1) { left: 10%; top: 15%; animation-delay: 0s; }
.message-bubble:nth-child(2) { left: 25%; top: 8%; animation-delay: -1.5s; }
.message-bubble:nth-child(3) { right: 25%; top: 12%; animation-delay: -3s; }
.message-bubble:nth-child(4) { right: 10%; top: 20%; animation-delay: -4.5s; }
.message-bubble:nth-child(5) { left: 5%; top: 40%; animation-delay: -6s; }
.message-bubble:nth-child(6) { right: 5%; top: 45%; animation-delay: -7.5s; }
.message-bubble:nth-child(7) { left: 15%; top: 65%; animation-delay: -9s; }
.message-bubble:nth-child(8) { right: 15%; top: 70%; animation-delay: -10.5s; }
.message-bubble:nth-child(9) { left: 8%; top: 85%; animation-delay: -2s; }
.message-bubble:nth-child(10) { right: 8%; top: 88%; animation-delay: -3.5s; }
.message-bubble:nth-child(11) { left: 30%; top: 85%; animation-delay: -5s; }
.message-bubble:nth-child(12) { right: 30%; top: 82%; animation-delay: -6.5s; }
.message-bubble:nth-child(13) { left: 35%; top: 35%; animation-delay: -8s; }
.message-bubble:nth-child(14) { right: 35%; top: 38%; animation-delay: -9.5s; }

@keyframes swirl {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 0.92;
    }
    25% {
        transform: translate(10px, -15px) rotate(3deg) scale(1.05);
        opacity: 1;
    }
    50% {
        transform: translate(-5px, 10px) rotate(-2deg) scale(0.98);
        opacity: 0.88;
    }
    75% {
        transform: translate(8px, 5px) rotate(2deg) scale(1.02);
        opacity: 0.95;
    }
}

/* Animation states */
.message-bubble.animating {
    animation: none !important;
    transition: all 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.message-bubble.entered {
    opacity: 0;
    transform: scale(0.3) translate(0, 0);
}

/* Phone Mockup - Enhanced */
.phone {
    position: relative;
    width: 360px;
    height: 720px;
    background: linear-gradient(145deg, #2D2D2D 0%, #1A1A1A 100%);
    border-radius: 56px;
    padding: 14px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35),
                0 0 0 1px rgba(255, 255, 255, 0.08) inset;
    z-index: 1;
}

.phone-notch {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 32px;
    background: #1a1a1a;
    border-radius: 0 0 22px 22px;
    z-index: 20;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #FFFFFF;
    border-radius: 44px;
    overflow: hidden;
    position: relative;
}

.screen-blank {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #F9F9F9 0%, #F0F0F0 100%);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 5;
    transition: opacity 0.5s ease-out;
}

/* Dashboard - Modern iOS Style */
.dashboard {
    width: 100%;
    height: 100%;
    padding: 20px;
    background: #F8F9FA;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    overflow-y: auto;
}

.dashboard.visible {
    z-index: 10;
}

/* iOS-Style Notification */
.ios-notification {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 18px;
    padding: 14px 16px;
    margin-bottom: 24px;
    margin-top: 40px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border: 0.5px solid rgba(0, 0, 0, 0.06);
    opacity: 0;
    transform: translateY(-20px);
}

.ios-notification.visible {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.notification-app {
    font-size: 12px;
    font-weight: 700;
    color: #8E8E93;
    letter-spacing: 0.5px;
}

.notification-time {
    font-size: 12px;
    color: #A0A0A0;
    font-weight: 500;
}

.notification-title {
    font-size: 14px;
    font-weight: 600;
    color: #1A1A1A;
    margin-bottom: 3px;
}

.notification-body {
    font-size: 13px;
    color: #6B6B6B;
    line-height: 1.4;
}

/* Dashboard Header */
.dashboard-header h2 {
    font-size: 32px;
    font-weight: 800;
    color: #1A1A1A;
    margin-bottom: 4px;
    letter-spacing: -0.02em;
}

.dashboard-subtext {
    font-size: 15px;
    color: #8E8E93;
    margin-bottom: 28px;
    font-weight: 500;
}

/* Section Header */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.section-header h3 {
    font-size: 19px;
    font-weight: 700;
    color: #1A1A1A;
    letter-spacing: -0.01em;
}

/* Task Cards - Clean Modern Design */
.task-card {
    background: #FFFFFF;
    border-radius: 18px;
    padding: 16px;
    margin-bottom: 12px;
    display: flex;
    gap: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 0.5px solid rgba(0, 0, 0, 0.05);
    transition: all 0.2s;
}

.task-card:active {
    transform: scale(0.98);
}

.task-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFE5D4 0%, #FFD4C4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.task-content {
    flex: 1;
    min-width: 0;
}

.task-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.task-name {
    font-weight: 600;
    font-size: 15px;
    color: #1A1A1A;
}

.task-time {
    font-size: 13px;
    color: #A0A0A0;
    font-weight: 500;
}

.task-text {
    font-size: 14px;
    color: #404040;
    margin-bottom: 8px;
    line-height: 1.4;
}

.task-context {
    font-size: 12px;
    color: #34C759;
    font-weight: 600;
}

/* Navigation Bar - iOS Style */
.nav-bar {
    display: flex;
    justify-content: space-around;
    padding: 10px 0 6px;
    margin-top: 20px;
    border-top: 0.5px solid rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    color: #8E8E93;
    cursor: pointer;
    font-weight: 600;
}

.nav-item.active {
    color: #007AFF;
}

.nav-icon {
    font-size: 22px;
}

.nav-label {
    font-weight: 600;
    letter-spacing: 0.2px;
}

/* Features Section */
.features {
    /* background: #FFFFFF; */
    padding: 140px 32px;
}

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

.features-title {
    font-size: 48px;
    font-weight: 800;
    color: #1A1A1A;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.25;
    letter-spacing: -0.02em;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    font-family: "Gelasio", serif;
}

.features-subtitle {
    font-size: 21px;
    color: #6B6B6B;
    text-align: center;
    margin-bottom: 80px;
    font-weight: 500;
}

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

.feature-card {
    background: linear-gradient(135deg, #FFFFFF 0%, #FAFAFA 100%);
    padding: 44px 36px;
    border-radius: 24px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    font-size: 52px;
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 14px;
    letter-spacing: -0.01em;
    font-family: "Gelasio", serif;
}

.feature-card p {
    font-size: 16px;
    color: #6B6B6B;
    line-height: 1.7;
    font-weight: 400;
}

/* Final CTA Section */
.final-cta {
    padding: 120px 32px;
    /* background: linear-gradient(180deg, #FFFFFF 0%, #FFF9F5 100%); */
}

.final-cta-content {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

.final-cta h2 {
    font-size: 48px;
    font-weight: 800;
    color: #1A1A1A;
    margin-bottom: 20px;
    line-height: 1.25;
    letter-spacing: -0.02em;
    font-family: "Gelasio", serif;
}

.final-cta p {
    font-size: 19px;
    color: #6B6B6B;
    margin-bottom: 48px;
    font-weight: 500;
}

/* Waitlist Button (replaces form) */
.waitlist-button {
    display: inline-block;
    padding: 18px 48px;
    background: #FF8C42;
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Inter', sans-serif;
    box-shadow: 0 4px 20px rgba(255, 140, 66, 0.3);
}

.waitlist-button:hover {
    background: #E67A32;
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(255, 140, 66, 0.4);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero {
        padding: 60px 20px;
    }

    .credentials {
        font-size: 11px;
        padding: 8px 16px;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-subtitle {
        font-size: 18px;
        margin-bottom: 32px;
    }

    .phone-container {
        height: 620px;
    }

    .phone {
        width: 300px;
        height: 600px;
        border-radius: 44px;
    }

    .message-bubble {
        font-size: 12px;
        padding: 11px 18px;
    }

    .features {
        padding: 80px 20px;
    }

    .features-title {
        font-size: 32px;
    }

    .features-subtitle {
        font-size: 17px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .final-cta {
        padding: 80px 20px;
    }

    .final-cta h2 {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 40px;
    }
}