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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #2C3E50;
    background: #FAF8F5;
    overflow-x: hidden;
}

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

/* Typography - Using Unna for headings */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Unna', serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    color: #1B3F5F;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

.gradient-text {
    background: linear-gradient(135deg, #D4A574, #A67C52);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 24px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #1B3F5F, #2C5282);
    color: white;
    box-shadow: 0 10px 30px rgba(27, 63, 95, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(27, 63, 95, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #1B3F5F;
    border: 2px solid #D4A574;
}

.btn-secondary:hover {
    background: rgba(212, 165, 116, 0.1);
    transform: translateY(-2px);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 165, 116, 0.2);
    transition: all 0.3s ease;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-logo {
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 4px 8px rgba(166, 124, 82, 0.2));
}

.nav-title {
    font-family: 'Unna', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1B3F5F;
}

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

.nav-link {
    text-decoration: none;
    color: #2C3E50;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #D4A574, #A67C52);
    transition: width 0.3s ease;
}

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

.nav-mobile {
    display: none;
}

.mobile-menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: #1B3F5F;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #FAF8F5 0%, #F5F0E8 100%);
    padding-top: 80px;
}

.hero-bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(212, 165, 116, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(166, 124, 82, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(27, 63, 95, 0.05) 0%, transparent 50%);
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem 0;
}

.hero-title {
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #8B8B8B;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.hero-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.badge {
    background: rgba(212, 165, 116, 0.1);
    border: 1px solid rgba(212, 165, 116, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #A67C52;
    font-weight: 500;
}

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

.phone-mockup {
    width: 320px;
    height: 640px;
    background: #1B3F5F;
    border-radius: 40px;
    padding: 8px;
    box-shadow: 
        0 40px 80px rgba(27, 63, 95, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 32px;
    padding: 2rem 1.5rem;
    overflow: hidden;
    position: relative;
}

.mock-header {
    text-align: center;
    padding: 1.5rem 1rem 1rem;
    border-bottom: 1px solid #F0F0F0;
}

.conversations-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: #1B3F5F;
    margin-bottom: 0.25rem;
}

.conversations-subtitle {
    font-size: 0.9rem;
    color: #8B8B8B;
    font-weight: 400;
}

.mock-conversations {
    display: flex;
    flex-direction: column;
    padding: 0.5rem;
    height: 320px;
    overflow-y: auto;
    background: #F8F8F8;
}

.mock-conversation {
    display: flex;
    align-items: center;
    padding: 0.875rem;
    background: white;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.mock-conversation:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.conversation-avatar {
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.avatar-circle {
    width: 48px;
    height: 48px;
    background: #E8E8E8;
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-circle::before,
.avatar-circle::after {
    content: '';
    position: absolute;
    background: #9B9B9B;
    border-radius: 50%;
}

.avatar-circle::before {
    width: 12px;
    height: 12px;
    top: 15px;
    left: 11px;
}

.avatar-circle::after {
    width: 12px;
    height: 12px;
    top: 15px;
    right: 11px;
}

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

.conversation-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #2C3E50;
    margin-bottom: 0.125rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.conversation-preview {
    font-size: 0.825rem;
    color: #8B8B8B;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.conversation-badge {
    background: #2C5282;
    color: white;
    min-width: 22px;
    height: 22px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0 6px;
    margin-left: 0.5rem;
    flex-shrink: 0;
}

.mock-bottom-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0.5rem 1rem 0.75rem;
    border-top: 1px solid #E5E5E5;
    background: white;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.125rem;
    color: #B0B0B0;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0.25rem;
}

.nav-item.active {
    color: #2C5282;
}

.nav-item svg {
    width: 24px;
    height: 24px;
}

.nav-item span {
    font-size: 0.7rem;
    font-weight: 500;
    margin-top: 0.125rem;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
    animation: float 8s ease-in-out infinite;
}

.shape-1 {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #D4A574, #A67C52);
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.shape-2 {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1B3F5F, #2C5282);
    bottom: 20%;
    right: 10%;
    animation-delay: 2s;
}

.shape-3 {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #9B59B6, #8E44AD);
    top: 50%;
    right: 5%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-30px) rotate(120deg); }
    66% { transform: translateY(-15px) rotate(240deg); }
}

/* Features Section */
.features {
    padding: 8rem 0;
    background: white;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title {
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #8B8B8B;
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    background: #FAF8F5;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #D4A574, #A67C52);
    transition: left 0.3s ease;
}

.feature-card:hover::before {
    left: 0;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(27, 63, 95, 0.15);
    border-color: rgba(212, 165, 116, 0.3);
}

.feature-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.1), rgba(166, 124, 82, 0.1));
    border-radius: 50%;
    margin: 0 auto 1.5rem;
}

.feature-icon svg {
    stroke: #A67C52;
}

.feature-title {
    margin-bottom: 1rem;
}

.feature-description {
    color: #8B8B8B;
    line-height: 1.7;
}

/* How It Works Section */
.how-it-works {
    padding: 8rem 0;
    background: linear-gradient(135deg, #FAF8F5 0%, #F5F0E8 100%);
    position: relative;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    position: relative;
}

.steps-container::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #D4A574, #A67C52, #D4A574, transparent);
    z-index: 0;
}

.step {
    position: relative;
    z-index: 1;
    text-align: center;
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1B3F5F, #2C5282);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 30px rgba(27, 63, 95, 0.3);
}

.step-content h3 {
    margin-bottom: 1rem;
}

.step-content p {
    color: #8B8B8B;
    line-height: 1.7;
}

/* Download Section */
.download {
    padding: 8rem 0;
    background: linear-gradient(135deg, #1B3F5F 0%, #2C5282 100%);
    position: relative;
    overflow: hidden;
}

.download::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(212, 165, 116, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(166, 124, 82, 0.1) 0%, transparent 50%);
}

.download-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.download-title {
    color: white;
    margin-bottom: 1.5rem;
}

.download-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.waitlist-container {
    margin-bottom: 2rem;
}

.waitlist-form {
    width: 100%;
}

.input-group {
    display: flex;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 8px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.input-group:focus-within {
    border-color: #D4A574;
    background: rgba(255, 255, 255, 0.15);
}

.waitlist-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 1rem 1.5rem;
    color: white;
    font-size: 1rem;
    font-weight: 500;
    outline: none;
}

.waitlist-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}

.waitlist-btn {
    background: linear-gradient(135deg, #D4A574, #A67C52);
    border: none;
    border-radius: 12px;
    padding: 1rem 2rem;
    color: white;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.waitlist-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 165, 116, 0.3);
}

.download-stats {
    display: flex;
    gap: 2rem;
}

.stat {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.stat-number {
    display: block;
    font-family: 'Unna', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #D4A574;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* Download Visual */
.download-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.download-phones {
    position: relative;
    width: 400px;
    height: 500px;
}

.phone {
    position: absolute;
    width: 220px;
    height: 440px;
    background: #1B3F5F;
    border-radius: 30px;
    padding: 6px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.phone-1 {
    top: 0;
    left: 0;
    z-index: 2;
    transform: rotate(-10deg);
}

.phone-2 {
    top: 30px;
    right: 0;
    z-index: 1;
    transform: rotate(10deg);
}

.phone-content {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 24px;
    padding: 1.5rem;
    overflow: hidden;
}

.discover-mockup h3 {
    font-family: 'Unna', serif;
    color: #1B3F5F;
    margin-bottom: 1.5rem;
    text-align: center;
}

.interest-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.tag {
    padding: 0.5rem 1rem;
    background: #FAF8F5;
    border: 1px solid #E5E5E5;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #8B8B8B;
    transition: all 0.3s ease;
}

.tag.active {
    background: linear-gradient(135deg, #D4A574, #A67C52);
    color: white;
    border-color: transparent;
}

.find-groups-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #1B3F5F, #2C5282);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
}

.chat-mockup {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.chat-header {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #F0F0F0;
    background: white;
}

.chat-header-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #E0E0E0, #CCCCCC);
    border-radius: 50%;
    margin-right: 0.75rem;
    position: relative;
}

.chat-header-avatar::before,
.chat-header-avatar::after {
    content: '';
    position: absolute;
    background: #999;
    border-radius: 50%;
}

.chat-header-avatar::before {
    width: 12px;
    height: 12px;
    top: 10px;
    left: 8px;
}

.chat-header-avatar::after {
    width: 12px;
    height: 12px;
    top: 10px;
    right: 8px;
}

.chat-header-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1B3F5F;
    margin-bottom: 0.125rem;
}

.chat-header-info p {
    font-size: 0.75rem;
    color: #8B8B8B;
}

.chat-messages {
    flex: 1;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background: #FAF8F5;
    overflow-y: auto;
}

.chat-message {
    padding: 0.75rem;
    border-radius: 16px;
    font-size: 0.875rem;
    max-width: 85%;
}

.ai-message {
    background: linear-gradient(135deg, rgba(155, 89, 182, 0.1), rgba(142, 68, 173, 0.1));
    border: 1px solid rgba(155, 89, 182, 0.2);
    align-self: flex-start;
}

.user-message {
    background: #1B3F5F;
    color: white;
    align-self: flex-end;
}

.other-message {
    background: white;
    border: 1px solid #E0E0E0;
    align-self: flex-start;
}

.message-author {
    font-weight: 600;
    color: #1B3F5F;
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.8rem;
}

.chat-message p {
    color: #2C3E50;
    line-height: 1.4;
}

/* Footer */
.footer {
    background: #1B3F5F;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo img {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
}

.footer-logo span {
    font-family: 'Unna', serif;
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 44px;
    height: 44px;
    background: rgba(212, 165, 116, 0.1);
    border: 1px solid rgba(212, 165, 116, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #D4A574;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: #D4A574;
    color: white;
    transform: translateY(-2px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-title {
    font-family: 'Unna', serif;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #D4A574;
}

.footer-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-list a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-list a:hover {
    color: #D4A574;
}

.footer-bottom {
    border-top: 1px solid rgba(212, 165, 116, 0.2);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .nav-container {
        padding: 1rem 1.5rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .nav-mobile {
        display: block;
    }
    
    .hero {
        padding-top: 100px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 2rem 0;
        gap: 3rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .phone-mockup {
        width: 280px;
        height: 560px;
        margin: 0 auto;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .steps-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .steps-container::before {
        display: none;
    }
    
    .download-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .input-group {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .waitlist-btn {
        width: 100%;
    }
    
    .download-stats {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .download-phones {
        width: 320px;
        height: 400px;
        margin: 0 auto;
    }
    
    .phone {
        width: 180px;
        height: 360px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .phone-mockup {
        width: 240px;
        height: 480px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .download-phones {
        width: 280px;
        height: 350px;
    }
    
    .phone {
        width: 160px;
        height: 320px;
    }
}