:root {
    --primary: #E8A4B8;
    --primary-light: #F5D0DC;
    --primary-dark: #D4849A;
    --secondary: #1E293B;
    --secondary-light: #334155;
    --gold: #D4AF37;
    --background: #FAFAFA;
    --text: #334155;
    --white: #FFFFFF;
    --gray-light: #f1f5f9;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--secondary);
    margin-bottom: 1rem;
    font-weight: 700;
}

h1 { font-size: 4rem; line-height: 1.1; letter-spacing: -1px; }
h2 { font-size: 2.8rem; text-align: center; margin-bottom: 3rem; position: relative; }
h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    margin: 1rem auto 0;
    border-radius: 2px;
}
p { margin-bottom: 1.5rem; font-size: 1.1rem; color: #475569; }

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

/* Header */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0,0,0,0.03);
    position: fixed;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
}
.logo i { filter: drop-shadow(0 2px 4px rgba(232, 164, 184, 0.4)); }
.logo span { color: var(--primary); }

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    font-size: 1.05rem;
    transition: color 0.3s, transform 0.3s;
    position: relative;
}
.nav-links a::after {
    content:''; position:absolute; left:0; bottom:-5px; width:0%; height:2px; background:var(--primary); transition: width 0.3s;
}
.nav-links a:hover::after { width:100%; }
.nav-links a:hover { color: var(--primary); }

.cta-button {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 14px 32px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(232, 164, 184, 0.3);
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(232, 164, 184, 0.4);
    color: var(--white);
}

/* Hero Section */
.hero {
    padding: 180px 0 120px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 100vh;
    background: radial-gradient(circle at 80% 20%, rgba(245, 208, 220, 0.4) 0%, rgba(255,255,255,0) 50%),
                radial-gradient(circle at 20% 80%, rgba(245, 208, 220, 0.2) 0%, rgba(255,255,255,0) 50%),
                var(--background);
}

.hero-text {
    flex: 1;
    padding-right: 60px;
    animation: fadeUp 1s ease-out;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-subtitle {
    color: var(--primary-dark);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 800;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 8px 16px;
    background: rgba(232, 164, 184, 0.15);
    border-radius: 30px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    position: relative;
    animation: fadeLeft 1s ease-out 0.2s backwards;
}

@keyframes fadeLeft {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Phone Mockup */
.phone-mockup {
    width: 320px;
    height: 650px;
    background-color: #fff;
    border-radius: 45px;
    border: 12px solid #1a1a1a;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15), inset 0 0 0 2px #333;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: stretch;
    justify-content: center;
}

/* Replicated YesDigital App UI */
.yd-app {
    width: 100%;
    height: 100%;
    background-color: #F8F9FA;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #1e293b;
    display: flex;
    flex-direction: column;
    position: relative;
}

.yd-header {
    background: #E8A4B8;
    border-radius: 0 0 35px 35px;
    padding: 40px 20px 30px;
    color: white;
    position: relative;
    z-index: 10;
    box-shadow: 0 10px 20px rgba(232, 164, 184, 0.2);
}

.yd-header-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.yd-title h2 {
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: white;
    margin: 0 0 4px;
}

.yd-title p {
    font-size: 14px;
    color: rgba(255,255,255,0.9);
    margin: 0;
}

.yd-actions {
    display: flex;
    gap: 8px;
}

.yd-icon-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: white;
}
.yd-icon-btn.text-red { color: #ff4757; }
.yd-icon-btn.brown { color: #8B4513; }

.yd-couple {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 25px;
}

.yd-ring-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.yd-couple h3 {
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    margin: 0;
    color: white;
    font-size: 22px;
    font-weight: 700;
}

.yd-content {
    flex: 1;
    padding: 0 15px 80px;
    overflow-y: auto;
    margin-top: -15px;
    position: relative;
    z-index: 20;
}

.yd-card {
    background: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.04);
    margin-bottom: 20px;
    text-align: center;
}

.yd-countdown {
    margin-top: 5px;
}

.yd-subtitle {
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.yd-timer {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 15px;
}

.yd-time-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.yd-time-box strong {
    font-size: 32px;
    font-weight: 800;
    color: #1e293b;
    line-height: 1;
}

.yd-time-box.pink strong {
    color: #E8A4B8;
}

.yd-time-box span {
    font-size: 9px;
    color: #94a3b8;
    margin-top: 4px;
    font-weight: 600;
}

.yd-colon {
    font-size: 24px;
    font-weight: 600;
    color: #cbd5e1;
    margin-top: 2px;
}

.yd-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #E8A4B8;
    font-weight: 600;
    background: rgba(232, 164, 184, 0.1);
    padding: 6px 12px;
    border-radius: 20px;
}

.yd-welcome {
    text-align: center;
    margin: 30px 0;
}

.yd-welcome-icon-wrap {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.yd-welcome-icon {
    font-size: 28px;
}

.yd-welcome h4 {
    font-family: -apple-system, sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 6px;
}

.yd-welcome p {
    font-size: 13px;
    color: #64748b;
    margin: 0;
}

.yd-howto p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    text-align: left;
    margin: 0;
}

.yd-howto-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.yd-howto-header h5 {
    font-family: -apple-system, sans-serif;
    font-size: 15px;
    margin: 0;
    color: #1e293b;
}

.highlight-pink {
    color: #E8A4B8;
    font-weight: 700;
}

.yd-bottom-nav {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    border-radius: 30px 30px 0 0;
    display: flex;
    justify-content: space-around;
    padding: 15px 10px 25px;
    box-shadow: 0 -10px 25px rgba(0,0,0,0.03);
    z-index: 30;
}

.yd-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: #94a3b8;
    font-size: 10px;
    font-weight: 600;
}

.yd-nav-item.active {
    color: #E8A4B8;
}

.yd-nav-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.yd-nav-icon.is-home {
    background: rgba(232, 164, 184, 0.15);
    color: #E8A4B8;
}
.yd-nav-item i {
    font-size: 18px;
}

/* Store Buttons */
.store-buttons {
    display: flex;
    gap: 20px;
    margin-top: 2.5rem;
}

.store-btn {
    background: #111;
    color: white;
    padding: 12px 24px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.store-btn:hover { 
    transform: translateY(-4px); 
    box-shadow: 0 15px 25px rgba(0,0,0,0.2);
}

.store-btn i { font-size: 24px; }
.store-btn small { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,0.7); }
.store-btn strong { font-size: 1.1rem; }

/* Features */
.features {
    padding: 120px 0;
    background-color: var(--white);
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-card {
    padding: 40px 30px;
    border-radius: 24px;
    background: var(--white);
    box-shadow: 0 10px 40px rgba(0,0,0,0.04);
    transition: all 0.4s ease;
    text-align: left;
    border: 1px solid rgba(0,0,0,0.02);
}

.feature-card:hover { 
    transform: translateY(-10px); 
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
    background: rgba(232, 164, 184, 0.1);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
}

/* Showcase/About */
.showcase {
    padding: 120px 0;
    text-align: center;
    background: linear-gradient(135deg, var(--white), var(--primary-light));
    position: relative;
}

.showcase p {
    font-size: 1.2rem;
    color: var(--secondary-light);
}

/* Footer */
footer {
    background-color: #0F172A;
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-family: 'Lato', sans-serif;
    font-size: 1.2rem;
}
.footer-col h3 { color: var(--white); }

.footer-col p { color: #94A3B8; }

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }

.footer-col a {
    color: #94A3B8;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col a:hover { color: var(--primary); }

.footer-col .store-buttons a i { color: #94A3B8; transition: color 0.3s; }
.footer-col .store-buttons a:hover i { color: var(--primary); }

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    font-size: 0.95rem;
    color: #64748b;
}

/* Responsive */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 150px;
    }
    
    .hero-text {
        padding-right: 0;
        margin-bottom: 60px;
    }
    h1 { font-size: 3rem; }
    
    .nav-links { display: none; }
    
    .logo {
        flex: 1;
        justify-content: flex-start;
    }
    
    .store-buttons {
        justify-content: center;
    }
}
