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

:root {
    /* Brand Colors - Official Palette */
    --color-primary: #EEECE3;      /* Primary - Light creamy off-white */
    --color-secondary: #DFD5C6;    /* Secondary - Light beige */
    --color-accent: #D56C51;        /* Accent - Muted reddish-orange */
    --color-text: #141414;          /* Text - Very dark grey */
    
    /* Derived Colors (using brand palette with opacity) */
    --bg-primary: #EEECE3;
    --accent-color: rgba(213, 108, 81, 0.8);
    --accent-solid: #D56C51;
    --accent-bg: #E8C4B8;  /* Soft peachy pink for phone mockup background */
    --text-primary: #141414;
    --text-secondary: rgba(20, 20, 20, 0.6);  /* Text with opacity for secondary text */
    --text-footer: #141414;
    --border-color: #DFD5C6;
    --phone-bezel: #141414;
    --phone-screen-bg: #EEECE3;
    --nav-bg: rgba(223, 213, 198, 0.3);  /* Secondary with low opacity */
    
    /* Typography */
    --font-inter: 'Inter', sans-serif;
    --font-dm-sans: 'DM Sans', sans-serif;
    --font-roboto-mono: 'Roboto Mono', monospace;
}

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

.container {
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
    padding: 0 16px;
}

/* Hero Section */
.hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 60px 16px 40px;
    min-height: auto;
    gap: 60px;
}

.hero-title {
    font-family: var(--font-inter);
    font-weight: 400;
    font-size: clamp(76px, 8vw, 160px);
    letter-spacing: -6.8px;
    text-align: center;
    line-height: 0.9;
    color: var(--text-primary);
    white-space: pre-wrap;
}

.phone-mockup-container {
    position: relative;
    width: calc(100% - 32px);
    max-width: 1200px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    background-color: var(--accent-bg);
    border-radius: 30px;
    padding: 0;
    margin: 0 auto;
    overflow: hidden;
}

.accent-shape {
    display: none;
}

.phone-mockup {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    z-index: 1;
}

.phone-mockup-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Tagline Section */
.tagline-section {
    padding: 80px 0 60px;
    border-top: 0.5px solid var(--border-color);
    position: relative;
}

.tagline-main {
    font-family: var(--font-inter);
    font-weight: 400;
    font-size: clamp(50px, 5vw, 60px);
    letter-spacing: -1.8px;
    text-align: center;
    line-height: 0.9;
    color: var(--text-primary);
    margin-bottom: 30px;
}

.tagline-sub {
    font-family: var(--font-inter);
    font-weight: 400;
    font-size: clamp(32px, 4vw, 40px);
    letter-spacing: -1.6px;
    text-align: center;
    line-height: 1;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.tagline-description {
    font-family: var(--font-inter);
    font-weight: 400;
    font-size: clamp(16px, 2vw, 20px);
    letter-spacing: -0.2px;
    text-align: center;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
}

/* Features Section */
.features-section {
    padding: 50px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.features-label {
    font-family: var(--font-dm-sans);
    font-weight: 400;
    font-size: 15px;
    letter-spacing: -0.075px;
    text-align: center;
    line-height: 1.4;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.features-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px 40px;
}

.feature-icon {
    width: 192px;
    height: 192px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Early Access Section */
.early-access-section {
    padding: 86px 16px 120px;
}

.early-access-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.early-access-title {
    font-family: var(--font-inter);
    font-weight: 400;
    font-size: clamp(50px, 5vw, 60px);
    letter-spacing: -1.8px;
    text-align: center;
    line-height: 0.9;
    color: var(--text-primary);
}

.early-access-subtitle {
    font-family: var(--font-inter);
    font-weight: 400;
    font-size: 15px;
    letter-spacing: -0.075px;
    text-align: center;
    line-height: 1.4;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.typeform-container {
    width: 100%;
    max-width: 700px;
    height: 550px;
    margin: 0 auto;
}

/* Navigation */
.main-nav {
    position: relative;
    width: 100%;
    padding: 40px 16px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.nav-link {
    font-family: var(--font-inter);
    font-weight: 500;
    font-size: 16px;
    letter-spacing: -0.08px;
    text-align: center;
    color: var(--text-primary);
    text-decoration: underline;
    text-underline-position: from-font;
    text-decoration-thickness: from-font;
    cursor: pointer;
    white-space: nowrap;
}

.nav-link:hover {
    opacity: 0.7;
}

/* Footer */
.main-footer {
    padding: 20px 16px 20px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-icon {
    width: 31px;
    height: 27px;
    object-fit: contain;
}

.footer-text {
    font-family: var(--font-roboto-mono);
    font-weight: 400;
    font-size: clamp(10.5px, 1.2vw, 12px);
    letter-spacing: -0.12px;
    text-align: center;
    line-height: 1.4;
    color: var(--text-footer);
    white-space: pre;
}

.footer-built {
    font-family: var(--font-inter);
    font-weight: 400;
    font-size: 14px;
    text-align: center;
    color: var(--text-secondary);
    margin-top: 20px;
    margin-bottom: 0;
}

/* Responsive Design */
@media (min-width: 800px) {
    .container {
        padding: 0 40px;
    }
    
    .hero-section {
        padding: 23px 40px 0;
    }
    
    .tagline-section {
        padding: 80px 0 60px;
    }
    
    .tagline-main,
    .early-access-title {
        font-size: 54px;
    }
    
    .tagline-sub {
        font-size: 40px;
    }
    
    .features-section {
        padding: 50px 40px;
    }
    
    .early-access-section {
        padding: 86px 100px 120px;
    }
}

/* Desktop (1280px+) */
@media (min-width: 1280px) {
    .container {
        padding: 0 100px;
    }
    
    .hero-title {
        font-size: 160px;
    }
    
    .tagline-main,
    .early-access-title {
        font-size: 60px;
    }
    
    .tagline-section {
        padding: 120px 300px;
    }
    
    .features-section {
        padding: 50px 141px;
    }
    
    .early-access-section {
        padding: 120px 141px;
    }
    
    .footer-text {
        font-size: 12px;
    }
}

/* Wide Screen Desktop (1281px+) */
@media (min-width: 1281px) {
    .container {
        padding: 0 150px;
    }
    
    .hero-title {
        font-size: 160px;
    }
    
    .hero-section {
        padding: 23px 150px 0;
    }
    
    .tagline-main,
    .early-access-title {
        font-size: 60px;
    }
    
    .tagline-section {
        padding: 120px 400px;
    }
    
    .features-section {
        padding: 50px 200px;
    }
    
    .early-access-section {
        padding: 120px 200px;
    }
    
    .footer-text {
        font-size: 12px;
    }
}

/* Phone mockup adjustments for different screen sizes */
@media (max-width: 799px) {
    .phone-mockup-container {
        height: 362px;
    }
    
    .phone-mockup {
        width: 270px;
        height: 541.824px;
    }
    
    .accent-shape {
        width: 270px;
        height: 541.824px;
    }
}

@media (min-width: 800px) and (max-width: 1279px) {
    .phone-mockup-container {
        height: 381px;
    }
    
    .phone-mockup {
        width: 676.548px;
        height: 422.936px;
    }
    
    .accent-shape {
        width: 676.548px;
        height: 422.936px;
    }
    
    .phone-mockup-image {
        filter: drop-shadow(0px -2.984px 14.918px rgba(0, 0, 0, 0.1));
    }
}

/* Desktop (1280px+) */
@media (min-width: 1280px) {
    .phone-mockup-container {
        height: 644px;
    }
    
    .phone-mockup {
        width: 907px;
        height: 644px;
    }
    
    .accent-shape {
        width: 907px;
        height: 644px;
    }
    
    .phone-mockup-image {
        filter: drop-shadow(0px -4px 20px rgba(0, 0, 0, 0.1));
    }
}

/* Wide Screen Desktop (1281px+) */
@media (min-width: 1281px) {
    .phone-mockup-container {
        height: 700px;
    }
    
    .phone-mockup {
        width: 1000px;
        height: 700px;
    }
    
    .accent-shape {
        width: 1000px;
        height: 700px;
    }
    
    .phone-mockup-image {
        filter: drop-shadow(0px -4px 20px rgba(0, 0, 0, 0.1));
    }
}
