:root {
    --bg-light: #faf7f5; /* Soft ivory/cream */
    --text-main: #4a3b42; /* Warm dark grey/brown for romance */
    --text-dim: #8a7a82;
    --primary: #d4a373; /* Champagne gold */
    --primary-light: #e8cbb1;
    --accent: #e8b4b8; /* Dusty rose */
    --white: #ffffff;
    
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --shadow-soft: 0 10px 40px rgba(212, 163, 115, 0.15);
    
    --font-heading: 'Playfair Display', 'Noto Serif SC', serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-light);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Dreamy Background Orbs */
.backdrop-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.5;
    animation: float 20s ease-in-out infinite alternate;
}

.orb-pink {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
}

.orb-champagne {
    top: 20%;
    right: -20%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
    animation-delay: -5s;
}

.orb-peach {
    bottom: -20%;
    left: 20%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, #fbd4d1 0%, transparent 70%);
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(8%, -8%) scale(1.1); }
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: #3d2f34;
}

.text-highlight {
    color: var(--primary);
    font-style: italic;
    font-weight: 400;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 4px; /* More elegant than round pills */
    font-family: var(--font-body);
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    border: none;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--text-main);
    color: var(--white);
    box-shadow: 0 8px 20px rgba(74, 59, 66, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary);
    box-shadow: 0 10px 25px rgba(212, 163, 115, 0.3);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--text-main);
    color: var(--text-main);
}

.btn-outline:hover {
    background: var(--text-main);
    color: var(--white);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(250, 247, 245, 0.85);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(212, 163, 115, 0.1);
}

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

.logo {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1;
}

.logo-sub {
    font-size: 0.7rem;
    color: var(--primary);
    letter-spacing: 2px;
    margin-top: 4px;
    font-family: var(--font-body);
}

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

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
    font-weight: 400;
    position: relative;
}

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

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

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

/* Hero Section */
.hero {
    min-height: 100vh;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10rem 2rem 5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.5rem 1rem;
    background: var(--white);
    border: 1px solid rgba(212, 163, 115, 0.3);
    border-radius: 50px;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 2rem;
    box-shadow: 0 4px 10px rgba(212, 163, 115, 0.1);
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-dim);
    margin-bottom: 3rem;
    max-width: 90%;
    font-weight: 300;
}

.cta-hint {
    margin-top: 1.2rem;
    font-size: 0.85rem;
    color: var(--text-dim);
}

.cta-hint b {
    color: var(--text-main);
}

/* Romantic Visuals */
.hero-visual {
    position: relative;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.romantic-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    padding: 1.5rem;
}

.card-main {
    width: 100%;
    max-width: 420px;
    position: relative;
    z-index: 2;
}

.card-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.card-header h3 {
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.chat-title .date {
    font-size: 0.85rem;
    color: var(--primary);
}

.chat-body {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
}

.message {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
}

.message.user {
    flex-direction: row-reverse;
}

.avatar {
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
    flex-shrink: 0;
}

.bubble {
    background: #f4efeb;
    padding: 1rem;
    border-radius: 4px 16px 16px 16px;
    font-size: 0.9rem;
    color: var(--text-main);
}

.message.user .bubble {
    background: var(--text-main);
    color: white;
    border-radius: 16px 4px 16px 16px;
}

.card-footer {
    display: flex;
    justify-content: center;
}

.action-btn {
    font-size: 0.9rem;
    color: var(--primary);
    cursor: pointer;
    transition: color 0.3s;
    font-weight: 500;
}

.action-btn:hover {
    color: var(--text-main);
}

.floating-card {
    position: absolute;
    z-index: 3;
    padding: 1.2rem;
    border-radius: 12px;
    animation: float-card 6s ease-in-out infinite alternate;
}

.card-1 {
    top: -20px;
    right: -30px;
    animation-delay: 0s;
}

.card-2 {
    bottom: -30px;
    left: -40px;
    animation-delay: -3s;
}

.info-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.info-row .icon {
    font-size: 1.5rem;
}

.info-row h4 {
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.info-row p {
    font-size: 0.8rem;
    color: var(--text-dim);
}

@keyframes float-card {
    0% { transform: translateY(0); }
    100% { transform: translateY(-15px); }
}

/* Features */
.features {
    max-width: 1200px;
    margin: 8rem auto;
    padding: 0 2rem;
}

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

.section-subtitle {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 3rem;
}

.divider {
    width: 60px;
    height: 2px;
    background: var(--primary);
    margin: 2rem auto 0;
}

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

.feature-item {
    transition: transform 0.4s;
}

.feature-item:hover {
    transform: translateY(-10px);
}

.feature-icon-wrapper {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.icon-blob {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--accent);
    opacity: 0.2;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation: morph 8s ease-in-out infinite;
    z-index: -1;
}

@keyframes morph {
    0%, 100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
    34% { border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%; }
    67% { border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%; }
}

.feature-item .icon {
    font-size: 1.8rem;
}

.feature-item h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.feature-item p {
    color: var(--text-dim);
    font-size: 0.95rem;
    font-weight: 300;
}

/* Poetic Break */
.poetic-break {
    max-width: 800px;
    margin: 10rem auto;
    text-align: center;
    padding: 0 2rem;
}

.quote-mark {
    font-family: var(--font-heading);
    font-size: 6rem;
    color: var(--primary);
    opacity: 0.3;
    line-height: 0;
    display: block;
    margin-bottom: 2rem;
}

.poetic-break h2 {
    font-size: 2.2rem;
    font-style: italic;
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-main);
}

/* Footer */
footer {
    border-top: 1px solid rgba(212, 163, 115, 0.2);
    padding: 6rem 2rem 2rem;
    background: linear-gradient(to bottom, transparent, rgba(212, 163, 115, 0.05));
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-brand p {
    color: var(--primary);
    margin-top: 0.5rem;
    font-style: italic;
}

.footer-bottom {
    margin-top: 4rem;
    color: var(--text-dim);
    font-size: 0.85rem;
}

/* Animations Core */
.preload-anim, .scroll-anim {
    transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fade-down {
    opacity: 0;
    transform: translateY(-20px);
}

.fade-up {
    opacity: 0;
    transform: translateY(30px);
}

.fade-left {
    opacity: 0;
    transform: translateX(40px);
}

/* Active State */
.visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* Delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Responsive */
@media (max-width: 968px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 8rem;
    }
    
    .hero-subtitle {
        margin: 0 auto 3rem;
    }
    
    .hero-visual {
        margin-top: 2rem;
    }
    
    .card-1 { right: 0; top: -40px; }
    .card-2 { left: 0; bottom: -40px; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .poetic-break h2 {
        font-size: 1.6rem;
    }
}
