@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #0a0a0a;
    --accent: #D4AF37;
    /* Champagne Gold */
    --accent-glow: rgba(212, 175, 55, 0.3);
    --bg-white: #FFFFFF;
    --bg-soft: #F9F9F9;
    --text-main: #1A1A1A;
    --text-muted: #666666;
    --glass: rgba(255, 255, 255, 0.75);
    --glass-strong: rgba(255, 255, 255, 0.9);
    --border: rgba(0, 0, 0, 0.04);
    --radius-lg: 32px;
    --radius-md: 20px;
    --shadow-soft: 0 15px 45px rgba(0, 0, 0, 0.03);
    --shadow-hover: 0 25px 60px rgba(0, 0, 0, 0.06);
    --bg-gradient: radial-gradient(at 0% 0%, hsla(38, 20%, 96%, 1) 0, transparent 50%),
        radial-gradient(at 100% 0%, hsla(38, 30%, 94%, 1) 0, transparent 50%);
    --hero-gradient: radial-gradient(70% 80% at 50% 10%, rgba(253, 250, 240, 0.8) 0%, rgba(255, 255, 255, 1) 100%);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-white);
    color: var(--text-main);
    line-height: 1.5;
    overflow-x: hidden;
    letter-spacing: -0.02em;
}

/* Typography for Tech Giant feel */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

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

/* Nav - Ultra Clean */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    height: 64px;
    display: flex;
    align-items: center;
    background: var(--glass-strong);
    backdrop-filter: saturate(180%) blur(24px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Navbar - Command Center */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo img {
    height: 44px;
    width: 44px;
    border-radius: 50%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: 0.02em;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    opacity: 1;
    color: var(--accent);
}

.nav-actions {
    display: flex;
    align-items: center;
}

.nav-btn {
    background: linear-gradient(135deg, #d4af37 0%, #f1c40f 100%);
    color: #000;
    padding: 0.5rem 1.25rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.2);
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(212, 175, 55, 0.3);
}

/* Tablet adjustments */
@media (max-width: 900px) {
    .nav-links {
        display: none;
        /* Mobile menu implementation would go here */
    }
}

/* Hero - Apple/Stripe Style */
.hero {
    padding-top: 160px;
    padding-bottom: 120px;
    text-align: center;
    background: var(--hero-gradient);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.05), transparent 60%);
    animation: rotate 20s linear infinite;
    z-index: 0;
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 5.5rem;
    max-width: 1000px;
    margin: 0 auto 1.5rem;
    color: var(--text-main);
    letter-spacing: -0.05em;
    line-height: 1.05;
}

.gradient-text {
    background: linear-gradient(135deg, #b8860b 0%, #D4AF37 50%, #8B6914 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    padding-bottom: 0.1em;
    /* Prevent descender clipping */
}

.hero p {
    font-size: 1.5rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* Custom App Store Buttons (Tech Giant Style) */
.app-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.app-btn {
    display: flex;
    align-items: center;
    background: #000000;
    color: #FFFFFF;
    padding: 0.7rem 2rem;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 240px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.whatsapp-btn {
    background: #25D366;
    border-color: rgba(255, 255, 255, 0.2);
}

.whatsapp-btn:hover {
    background: #128C7E;
    box-shadow: 0 20px 40px rgba(37, 211, 102, 0.3);
}

.app-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
    background: #0a0a0a;
}

.app-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.app-btn:hover::after {
    opacity: 1;
}

.app-btn .btn-icon {
    width: 26px;
    height: 26px;
    margin-right: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.app-btn .btn-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.app-btn .btn-text {
    text-align: left;
    display: flex;
    flex-direction: column;
    font-family: 'Poppins', sans-serif;
    z-index: 2;
}

.app-btn .btn-text span {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    opacity: 0.7;
    margin-bottom: -2px;
}

.app-btn .btn-text strong {
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.1;
}

/* Sections - Large Whitespace */
.section {
    padding: 120px 0;
}

.section-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
    color: var(--text-muted);
}

/* Feature Grid - Bento Style (Modern Tech) */
.features-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
    gap: 1.5rem;
}

.bento-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: var(--radius-lg);
    padding: 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.5s cubic-bezier(0.2, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
}

.bento-card:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.bento-card.wide {
    grid-column: span 2;
}

.bento-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.bento-card p {
    font-size: 1rem;
    color: var(--text-muted);
}

.bento-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 2rem;
    color: var(--accent);
}

.bento-icon svg {
    width: 100%;
    height: 100%;
    stroke-width: 1.2px;
}

.editorial-card {
    border: 1px solid rgba(212, 175, 55, 0.2);
    /* Subtle gold border */
}

.editorial-card:hover {
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.08);
}

/* Moments Grid - High Polish */
.moments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.moment-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/5;
    background: var(--bg-soft);
}

.moment-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 0, 0.2, 1);
}

.moment-card:hover img {
    transform: scale(1.05);
}

.moment-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    color: white;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.moment-card:hover .moment-overlay {
    opacity: 1;
}

/* Steps - Minimalist Tech */
.steps-minimal {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
}

.step-item {
    flex: 1;
    text-align: left;
}

.step-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--border);
    margin-bottom: 1rem;
    display: block;
    line-height: 1;
}

.step-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.2, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Updates Section - X (Twitter) Theme Timeline */
/* Guestbook Section - Premium Stationery */
.chat-form-container {
    max-width: 650px;
    margin: 3rem auto 4rem;
    padding: 2rem;
    background: transparent;
    border-bottom: 1px solid var(--accent);
}

.chat-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.chat-form input[type="text"],
.chat-form input[type="email"],
.chat-form textarea {
    width: 100%;
    padding: 1rem 0;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    background: transparent;
    font-size: 1.1rem;
    font-family: var(--font-heading);
    transition: border-color 0.3s ease;
    color: var(--text-main);
}

.chat-form input:focus,
.chat-form textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.chat-form textarea {
    resize: vertical;
    min-height: 100px;
}

.form-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-top: 1rem;
}

.image-upload-btn {
    padding: 0.8rem 1.5rem;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 100px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    font-family: var(--font-body);
}

.image-upload-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.submit-btn {
    padding: 1rem 3rem;
    background: linear-gradient(135deg, #b8860b 0%, #D4AF37 100%);
    color: white;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    margin-left: auto;
    font-family: var(--font-heading);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.form-message {
    padding: 1rem;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    text-align: center;
    margin-top: 1rem;
}

.form-message.success {
    background: rgba(212, 175, 55, 0.1);
    color: #8B6914;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.form-message.error {
    background: #fee2e2;
    color: #991b1b;
}

.timeline-container {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: 2rem;
    border: none;
}

.guestbook-entry {
    background: #FAF9F6;
    /* Cream/Off-white */
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.guestbook-entry:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.entry-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.entry-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.entry-info {
    display: flex;
    flex-direction: column;
}

.entry-author {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

.verified-badge {
    color: var(--accent);
    width: 18px;
    height: 18px;
}

.entry-role {
    font-size: 0.85rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.entry-date {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.entry-content {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #4a4a4a;
    font-family: var(--font-body);
}

.entry-image img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-top: 1rem;
}

/* Footer - Dark & Pro */
footer {
    background: #000000;
    color: #FFFFFF;
    padding: 100px 0 40px;
}

/* Footer - Dark & Pro */
footer {
    background: #050505;
    padding: 5rem 0 2rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.footer-col h4 {
    font-family: var(--font-heading);
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.footer-logo {
    width: 120px;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
    font-size: 0.95rem;
    max-width: 300px;
}

.footer-links-col {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links-col a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.footer-links-col a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--accent);
}

.social-icon:hover {
    background: var(--accent);
    color: #000;
    transform: translateY(-3px);
}

.social-icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.newsletter-form {
    display: flex;
    position: relative;
}

.newsletter-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: var(--radius-md);
    color: white;
    font-family: var(--font-body);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--accent);
}

.copyright {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .copyright {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Legal Content Typography */
.legal-content {
    color: var(--text-main);
    line-height: 1.8;
    font-size: 1.05rem;
}

.legal-content h1,
.legal-content h2,
.legal-content h3,
.legal-content h4 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
    line-height: 1.3;
}

.legal-content p {
    margin-bottom: 1.5rem;
}

.legal-content ul,
.legal-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .features-bento {
        grid-template-columns: 1fr;
    }

    .bento-card.wide {
        grid-column: span 1;
    }

    .steps-minimal {
        flex-direction: column;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .app-buttons {
        flex-direction: column;
        align-items: center;
    }

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

    .moments-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

/* Chocolate Drip Effect */
.chocolate-drip {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: #3e2723;
    z-index: 1;
    pointer-events: none;
}

.chocolate-drip::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 0;
    width: 100%;
    height: 40px;
    background: radial-gradient(circle at 15px 0, #3e2723 15px, transparent 16px) left top / 30px 40px repeat-x;
}

/* Floating Elements */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.shape {
    position: absolute;
    font-size: 2rem;
    opacity: 0.15;
    filter: blur(2px);
    animation: float 6s ease-in-out infinite;
}

.shape:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    font-size: 3rem;
}

.shape:nth-child(2) {
    top: 60%;
    left: 5%;
    animation-delay: 2s;
    font-size: 2.5rem;
}

.shape:nth-child(3) {
    top: 40%;
    right: 15%;
    animation-delay: 1s;
    font-size: 4rem;
}

.shape:nth-child(4) {
    top: 15%;
    right: 25%;
    animation-delay: 3s;
    font-size: 2rem;
}

.shape:nth-child(5) {
    top: 75%;
    right: 5%;
    animation-delay: 1.5s;
    font-size: 3.5rem;
}/* Mobile Menu Button - Hidden on Desktop */
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-main);
    cursor: pointer;
    padding: 0.5rem;
}

/* Mobile Sidebar */
.mobile-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 30px rgba(0,0,0,0.1);
    z-index: 2000;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.2, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    padding: 2rem;
}

.mobile-sidebar.active {
    transform: translateX(0);
}

.mobile-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease;
    backdrop-filter: blur(4px);
}

.mobile-sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.sidebar-close-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
}

.sidebar-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex-grow: 1;
}

.sidebar-links a {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.2s ease;
}

.sidebar-links a:hover {
    color: var(--accent);
}

.sidebar-footer {
    margin-top: auto;
    padding-top: 2rem;
}

/* Helper to hide desktop CTA on mobile if space is tight, or keep it. 
   For now, we might want to hide the header CTA on mobile because the menu has one. */
@media (max-width: 900px) {
    .nav-links {
        display: none; /* Already exists, just confirming */
    }

    .mobile-menu-btn {
        display: block;
    }

    .desktop-only {
        display: none;
    }
}
