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

:root {
    /* Updated to match Swift onboarding colors */
    --warm-brown: rgb(194, 164, 134); /* #C2A486 */
    --soft-gold: rgb(242, 228, 194); /* #F2E4C2 */
    --deep-brown: rgb(51, 38, 26); /* Much darker for better contrast */
    --warm-white: rgb(250, 247, 242); /* #FAF7F2 */
    --call-green: rgb(51, 204, 77); /* #33CC4D */
    --call-red: #FF3B30;
    --dark-text: rgb(26, 26, 26); /* For light backgrounds */
    --medium-text: rgb(107, 78, 61);
    --light-text: rgb(155, 123, 106);
    --shadow: rgba(51, 38, 26, 0.15);
    --border: rgba(194, 164, 134, 0.3);
}

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

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(20px);
    background: rgba(250, 247, 242, 0.95);
    border-bottom: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--deep-brown);
    text-decoration: none;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo::before {
    content: '💬';
    font-size: 1.2rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--medium-text);
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--warm-brown);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--deep-brown);
}

.nav-links a:hover::after {
    width: 100%;
}

.coming-soon-btn {
    background: var(--warm-brown) !important;
    color: var(--warm-white) !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    opacity: 0.7 !important;
    cursor: not-allowed !important;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--deep-brown);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(250, 247, 242, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
    box-shadow: 0 4px 20px var(--shadow);
}

.mobile-menu.active {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-menu a {
    display: block;
    color: var(--medium-text);
    text-decoration: none;
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    font-weight: 500;
    transition: color 0.3s ease;
}

.mobile-menu a:hover {
    color: var(--deep-brown);
}

.mobile-menu a:last-child {
    border-bottom: none;
}

/* Hero Section - Updated to match onboarding */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--soft-gold) 0%, var(--warm-brown) 100%);
    display: flex;
    align-items: center;
    padding: 8rem 2rem 4rem;
    color: var(--deep-brown);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="phone" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><text x="2" y="8" fill="rgba(51,38,26,0.05)" font-size="8" font-family="sans-serif">💬</text><text x="12" y="16" fill="rgba(51,38,26,0.03)" font-size="6" font-family="sans-serif">📞</text></pattern></defs><rect width="100" height="100" fill="url(%23phone)"/></svg>');
    opacity: 0.3;
}

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

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--deep-brown);
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.8;
    margin-bottom: 2rem;
    line-height: 1.6;
    color: var(--deep-brown);
}

.hero-features {
    list-style: none;
    margin: 2rem 0;
}

.hero-features li {
    padding: 0.75rem 0;
    opacity: 0.8;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--deep-brown);
}

.hero-features li::before {
    content: '✓';
    background: rgba(51, 38, 26, 0.15);
    color: var(--deep-brown);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    flex-shrink: 0;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-primary {
    padding: 1rem 2rem;
    background: var(--deep-brown);
    border: 2px solid var(--deep-brown);
    border-radius: 12px;
    color: var(--warm-white);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-secondary {
    padding: 1rem 2rem;
    background: rgba(51, 38, 26, 0.1);
    border: 2px solid var(--deep-brown);
    border-radius: 12px;
    color: var(--deep-brown);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(51, 38, 26, 0.2);
    transform: translateY(-2px);
}

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

.phone-interface {
    width: 100%;
    max-width: 400px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(60, 60, 60, 0.8));
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(51, 38, 26, 0.3);
    overflow: hidden;
    border: 1px solid rgba(250, 247, 242, 0.2);
    backdrop-filter: blur(10px);
}

.call-header {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem 1.5rem 1rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.call-status {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.caller-name {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.call-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.call-avatar {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--warm-brown), var(--soft-gold));
    border-radius: 50%;
    margin: 2rem auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    animation: pulse 2s infinite;
}

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

.call-controls {
    padding: 2rem 1.5rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.call-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.call-button.decline {
    background: var(--call-red);
    color: white;
}

.call-button.accept {
    background: var(--call-green);
    color: white;
}

.call-button.mute {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.call-button:hover {
    transform: scale(1.1);
}

/* Scenarios Section */
.scenarios {
    padding: 8rem 0;
    background: var(--warm-white);
}

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

.section-title {
    text-align: center;
    font-size: clamp(2.25rem, 4vw, 3rem);
    font-weight: 300;
    margin-bottom: 4rem;
    color: var(--deep-brown);
    letter-spacing: -0.02em;
}

.scenarios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.scenario-card {
    background: white;
    border-radius: 24px;
    padding: 3rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px var(--shadow);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.scenario-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(194, 164, 134, 0.05) 0%, rgba(242, 228, 194, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.scenario-card:hover::before {
    opacity: 1;
}

.scenario-card:hover {
    transform: translateY(-12px) rotate(0.5deg);
    box-shadow: 0 24px 64px var(--shadow);
}

.scenario-card:nth-child(1) {
    border-top: 4px solid var(--deep-brown);
}

.scenario-card:nth-child(2) {
    border-top: 4px solid var(--deep-brown);
}

.scenario-card:nth-child(3) {
    border-top: 4px solid var(--deep-brown);
}

.scenario-card:nth-child(4) {
    border-top: 4px solid var(--deep-brown);
}

.scenario-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.scenario-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--deep-brown);
}

.scenario-description {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.6;
    flex-grow: 1;
    color: var(--medium-text);
    margin-bottom: 1.5rem;
}

.scenario-benefits {
    list-style: none;
    margin-top: 1.5rem;
}

.scenario-benefits li {
    padding: 0.3rem 0;
    opacity: 0.8;
    font-size: 0.9rem;
    color: var(--medium-text);
}

.scenario-benefits li::before {
    content: '•';
    margin-right: 0.5rem;
    color: var(--warm-brown);
    font-weight: bold;
}

/* Features Section */
.features {
    padding: 8rem 0;
    background: var(--soft-gold);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.feature-card {
    background: var(--warm-white);
    border-radius: 24px;
    padding: 3rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(194, 164, 134, 0.1) 0%, rgba(242, 228, 194, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px var(--shadow);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--deep-brown);
}

.feature-description {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.6;
    flex-grow: 1;
    color: var(--medium-text);
}

/* Coming Soon Section */
.coming-soon {
    padding: 8rem 0;
    background: linear-gradient(135deg, var(--deep-brown) 0%, var(--warm-brown) 100%);
    color: var(--warm-white);
    text-align: center;
}

.coming-soon-content {
    max-width: 800px;
    margin: 0 auto;
}

.coming-soon h2 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
}

.coming-soon p {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.notify-form {
    display: flex;
    max-width: 400px;
    margin: 2rem auto;
    gap: 1rem;
}

.notify-input {
    flex: 1;
    padding: 1rem;
    border: 2px solid rgba(250, 247, 242, 0.3);
    border-radius: 8px;
    font-size: 1rem;
    background: rgba(250, 247, 242, 0.1);
    color: var(--warm-white);
    backdrop-filter: blur(10px);
}

.notify-input::placeholder {
    color: rgba(250, 247, 242, 0.7);
}

.notify-button {
    padding: 1rem 2rem;
    background: rgba(250, 247, 242, 0.2);
    border: 2px solid rgba(250, 247, 242, 0.4);
    border-radius: 8px;
    color: var(--warm-white);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.notify-button:hover {
    background: rgba(250, 247, 242, 0.3);
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: var(--deep-brown);
    color: var(--warm-white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--soft-gold);
}

.footer-section a {
    color: rgba(250, 247, 242, 0.8);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--soft-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--warm-brown);
    color: rgba(250, 247, 242, 0.7);
}

.footer-bottom a {
    color: var(--soft-gold);
    text-decoration: underline;
}

.footer-bottom a:hover {
    color: var(--warm-white);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .scenarios-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .notify-form {
        flex-direction: column;
        max-width: 300px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero {
        padding: 6rem 1.5rem 4rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .scenario-card,
    .feature-card {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .scenario-card,
    .feature-card {
        padding: 1.5rem;
    }
}