:root {
    --bg-primary: #fcfcf9;    /* Warm, premium paper-like white */
    --text-heading: #000000;  /* Pure black for high-end feel */
    --text-body: #1d1d1f;     /* Apple-style off-black */
    --text-muted: #86868b;
    
    --accent: #000000;        /* Move to high-fashion monochrome */
    --accent-dark: #333333;
    --accent-contrast: #ffffff;
    
    --secondary: #059669;     /* Deep, modern emerald-teal */
    
    --surface: #ffffff;
    --surface-glass: rgba(255, 255, 255, 0.7);
    --border: rgba(0, 0, 0, 0.04); 
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.03); 
    --shadow-floating: 0 40px 80px rgba(0, 0, 0, 0.08);

    --radius-full: 999px;
    --radius-lg: 32px;         /* Larger, softer corners */
    --radius-md: 20px;
}

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

body {
    background-color: var(--bg-primary);
    color: var(--text-body);
    font-family: 'Outfit', -apple-system, system-ui, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Typography Overrides */
h1, h2, h3 {
    font-family: 'Fraunces', serif; /* Signature high-contrast font */
    color: var(--text-heading);
    font-weight: 500;
    letter-spacing: -0.02em;
}

.italic-serif {
    font-style: italic;
    font-family: 'Fraunces', serif;
    font-weight: 400;
}

/* Announcement Banner */
.top-notice {
    background: var(--secondary);
    color: #fff;
    text-align: center;
    padding: 10px;
    font-size: 14px;
    font-weight: 500;
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: center;
    padding: 16px 24px;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(252, 252, 249, 0.6);
    backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid var(--border);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-heading);
}

.logo-symbol {
    width: 32px;
    height: 32px;
    background: var(--secondary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 900;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-heading);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: opacity 0.2s;
}

.nav-links a:hover {
    opacity: 0.6;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--accent-contrast);
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    border: none;
}

.btn-primary:hover {
    background-color: var(--accent-dark);
    transform: scale(1.02);
}

.btn-outline {
    background: transparent;
    color: var(--text-heading);
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-weight: 600;
    text-decoration: none;
    border: 1.5px solid var(--border);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
}

.btn-outline:hover {
    background: rgba(15, 23, 42, 0.02);
    border-color: var(--text-heading);
}

/* Hero Section Redesigned for Layering */
.hero {
    position: relative;
    padding: 100px 40px;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
    overflow: hidden;
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* The Trick: A soft white focal glow behind the text */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(252, 252, 245, 0.95) 0%, rgba(252, 252, 245, 0.5) 50%, rgba(252, 252, 245, 0) 100%);
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 5;
    padding: 20px;
    border-radius: 40px;
}

.hero-tag {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 8px;
    opacity: 0.8;
}

.hero-title {
    font-size: 96px;
    line-height: 0.95;
    margin-bottom: 32px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    /* Heavy shadow for depth on image */
    text-shadow: 0 4px 60px rgba(255,255,255,1), 0 2px 10px rgba(255,255,255,0.8);
}

.hero-subtitle {
    font-size: 22px;
    color: var(--text-heading);
    margin-bottom: 48px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
    font-weight: 500;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    position: relative;
    margin-bottom: 0;
}

/* Floating App Mockup as BACKGROUND layer */
.hero-visual {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -40%);
    width: 100%;
    max-width: 1400px;
    z-index: 1;
    opacity: 0.6; /* Lowered focus for better text readability */
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    filter: blur(1px); /* Suble blur to keep context but favor text */
}

.hero-visual img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: 0 40px 100px rgba(0,0,0,0.08);
}

.app-frame {
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-floating);
    overflow: hidden;
    position: relative;
}

.app-toolbar {
    background: #f8f8f8;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border);
}

.dot { width: 12px; height: 12px; border-radius: 50%; background: #e0e0e0; }

.search-input {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 8px 16px;
    flex: 1;
    color: var(--text-muted);
    font-size: 14px;
}

.app-content {
    padding: 40px;
    text-align: left;
}

.result-card {
    background: #fff;
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    margin-bottom: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

/* Bento Grid */
.features {
    padding: 100px 40px;
    max-width: 1300px;
    margin: 0 auto;
}

.section-label {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 12px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 16px;
    display: block;
    text-align: center;
}

.section-title {
    font-size: 56px;
    text-align: center;
    margin-bottom: 60px;
}

.bento-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(350px, auto);
    gap: 24px;
}

.bento-item {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 48px;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-item:hover {
    transform: scale(1.01);
    border-color: rgba(0,0,0,0.1);
    box-shadow: var(--shadow-floating);
}

.bento-item.large {
    grid-column: span 2;
}

.bento-icon {
    width: 60px;
    height: 60px;
    background: var(--accent);
    border-radius: 20px;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.bento-item h3 {
    font-size: 28px;
    margin-bottom: 16px;
}

.bento-item p {
    color: var(--text-body);
    font-size: 18px;
    line-height: 1.4;
}

.image-card {
    border: none !important;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    color: #fff;
}

.image-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.7));
    z-index: 1;
}

.image-card-content {
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.image-card h3, .image-card p {
    color: #fff !important;
}

/* Footer */
.footer {
    padding: 100px 40px 60px;
    background: #fff;
    border-top: 1px solid var(--border);
}

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

.footer-title {
    font-size: 64px;
    margin-bottom: 48px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 100px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
}

/* Ribbons/Tickers */
.ribbon {
    background: var(--text-heading);
    color: #fff;
    padding: 20px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    margin: 60px 0;
}

.ribbon-content {
    display: inline-block;
    animation: marquee 30s linear infinite;
    font-size: 24px;
    font-weight: 500;
}

.ribbon-content span {
    margin: 0 40px;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (max-width: 1024px) {
    .hero-title { font-size: 64px; }
    .bento-container { grid-template-columns: 1fr; }
    .bento-item.large { grid-column: span 1; }
}

/* Modal System */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: var(--bg-primary);
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-floating);
    position: relative;
    overflow-y: auto;
    padding: 60px;
    border: 1px solid var(--border);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-muted);
}

.privacy-body h2 {
    font-size: 28px;
    margin: 32px 0 16px;
}

.privacy-body p {
    margin-bottom: 16px;
    color: var(--text-body);
}

.privacy-body ul {
    margin-bottom: 24px;
    padding-left: 20px;
}

.privacy-body li {
    margin-bottom: 8px;
}

/* FAQ Section */
.faq-section {
    padding: 80px 40px;
    background: var(--bg-primary); /* Keeps it seamless with features */
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-soft);
    border-color: rgba(15, 23, 42, 0.15); /* Slightly darker border on hover */
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    background: none;
    border: none;
    font-size: 18px;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    color: var(--text-heading);
    cursor: pointer;
    text-align: left;
    transition: color 0.2s;
}

.faq-question:hover {
    color: var(--accent);
}

.faq-icon {
    font-size: 24px;
    font-weight: 300;
    color: var(--text-muted);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--accent);
}

.faq-answer {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.3s ease;
    padding: 0 24px;
    color: var(--text-body);
}

.faq-answer p {
    line-height: 1.7;
    font-size: 16px;
}

.faq-answer kbd {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 2px 6px;
    font-size: 14px;
    font-family: inherit;
    font-weight: 600;
}

.faq-item.active .faq-answer {
    max-height: 400px;
    opacity: 1;
    padding: 0 24px 24px;
}
