:root {
    /* Color Palette */
    --primary: #0F172A; /* Deep Navy */
    --primary-light: #1E293B;
    --accent: #B89550; /* Soft Gold */
    --accent-hover: #9A7B3E;
    --bg: #FDFCFB; /* Off-white */
    --text: #334155;
    --text-light: #64748B;
    --white: #FFFFFF;

    /* Typography - Fluid scaling using clamp */
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    
    --fs-h1: clamp(2.5rem, 5vw + 1rem, 4.5rem);
    --fs-h2: clamp(2rem, 3vw + 1rem, 3rem);
    --fs-body: clamp(1rem, 0.5vw + 0.8rem, 1.125rem);

    /* Spacing & Borders */
    --container-width: 1100px;
    --radius: 12px;
    --shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    font-size: var(--fs-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    color: var(--primary);
    line-height: 1.2;
}

h1, .section-title {
    font-family: var(--font-serif);
}

a {
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

/* Header */
.header {
    padding: 1.5rem 0;
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 10;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: none;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border: 1px solid rgba(15, 23, 42, 0.1);
}

.btn-secondary:hover {
    border-color: var(--primary);
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    background: radial-gradient(circle at top right, rgba(184, 149, 80, 0.05), transparent);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 4rem;
}

.hero-title {
    font-size: var(--fs-h1);
    margin-bottom: 1.5rem;
}

.text-accent {
    color: var(--accent);
    font-style: italic;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

/* Phone Mockup */
.hero-visual {
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 280px;
    height: 560px;
    background: var(--primary);
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 50px 100px -20px rgba(15, 23, 42, 0.25);
    position: relative;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--white);
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

.app-placeholder {
    padding: 20px;
}

.app-header-mock {
    height: 120px;
    background: var(--bg);
    border-radius: 15px;
    margin-bottom: 20px;
}

.app-text-mock .line {
    height: 10px;
    background: #E2E8F0;
    border-radius: 5px;
    margin-bottom: 12px;
}

.line.medium { width: 70%; }
.line.short { width: 40%; }
.line.long { width: 100%; }

/* Features */
.features {
    padding: 100px 0;
    background-color: var(--white);
}

.section-title {
    text-align: center;
    font-size: var(--fs-h2);
    margin-bottom: 4rem;
}

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

.feature-card {
    padding: 3rem 2rem;
    border-radius: var(--radius);
    background-color: var(--bg);
    transition: var(--transition);
    border: 1px solid transparent;
}

.feature-card:hover {
    background-color: var(--white);
    border-color: rgba(184, 149, 80, 0.2);
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature-card p {
    color: var(--text-light);
}

/* CTA Section */
.cta {
    padding: 100px 0;
}

.cta-box {
    background-color: var(--primary);
    padding: 5rem 2rem;
    border-radius: 30px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(184, 149, 80, 0.1), transparent);
    border-radius: 50%;
}

.cta-title {
    color: var(--white);
    font-size: var(--fs-h2);
    margin-bottom: 1.5rem;
}

.cta-box p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    padding: 4rem 0;
    border-top: 1px solid rgba(15, 23, 42, 0.05);
    text-align: center;
}

.footer-nav {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.footer-nav a {
    color: var(--text-light);
    font-size: 0.9rem;
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        order: 1;
    }

    .hero-visual {
        order: 0;
        margin-bottom: 2rem;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        display: flex;
        justify-content: center;
    }
}
