:root {
    /* Color Palette */
    --bg-cream: #FDFCF8;
    --text-charcoal: #2C2C2C;
    --text-stone: #8C8885;
    --brand-orange: #FF8C42;
    --brand-orange-dim: #FFF3E0;
    --bg-white: #FFFFFF;
    
    /* Typography */
    --font-serif: 'Crimson Pro', serif;
    --font-sans: 'Inter', sans-serif;
}

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

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

/* Layout */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
}

img {
    max-width: 100%;
    display: block;
}

/* Typography Defaults */
h1, h2, h3 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.2;
}

h1 { font-size: 3.5rem; letter-spacing: -0.02em; }
h2 { font-size: 2.5rem; letter-spacing: -0.01em; }
h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
p { font-size: 1.125rem; color: var(--text-charcoal); }

/* Header */
header {
    position: sticky;
    top: 0;
    background-color: rgba(253, 252, 248, 0.95);
    backdrop-filter: blur(10px);
    z-index: 100;
    padding: 16px 0;
    border-bottom: 1px solid rgba(0,0,0,0.03);
}

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

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-icon {
    width: 32px;
    height: auto;
}

.brand-name {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-charcoal);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.btn-primary {
    background-color: var(--brand-orange);
    color: white;
    box-shadow: 0 4px 12px rgba(255, 140, 66, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(255, 140, 66, 0.3);
}

/* Hero Section */
#hero {
    padding: 80px 0 60px;
    text-align: center;
    overflow: hidden;
}

.hero-text {
    margin-bottom: 40px;
}

.subhead {
    font-size: 1.5rem;
    color: var(--text-stone);
    margin-top: 16px;
}

.phone-container {
    position: relative;
    max-width: 320px;
    margin: 0 auto;
}

.phone-mockup {
    position: relative;
    z-index: 2;
    border-radius: 40px; /* Rough approximation of phone corners if image doesn't have transparency */
}

/* Pulsing Glow */
.lantern-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: var(--brand-orange);
    filter: blur(60px);
    opacity: 0.4;
    z-index: 1;
    border-radius: 50%;
    animation: pulse 4s infinite ease-in-out;
}

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.5; }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
}

/* Problem Section */
#problem {
    background-color: var(--bg-white);
    padding: 100px 0;
}

.problem-text {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.card {
    background: var(--bg-cream);
    padding: 40px 24px;
    border-radius: 24px;
    position: relative;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.caption {
    position: absolute;
    bottom: 24px;
    font-family: var(--font-serif);
    color: var(--text-stone);
    font-style: italic;
}

.card-chaos .chat-bubble {
    background: #E5E5EA;
    padding: 8px 16px;
    border-radius: 16px;
    font-size: 0.9rem;
    margin-bottom: 8px;
    max-width: 80%;
}

.card-chaos .chat-bubble.right {
    background: #34C759;
    color: white;
    align-self: flex-end;
    margin-left: auto;
}

.card-chaos .chat-bubble.left {
    align-self: flex-start;
    margin-right: auto;
}

/* Calm Card */
.beacon-card {
    background: white;
    padding: 24px;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(255, 140, 66, 0.15);
    text-align: center;
    border: 1px solid rgba(0,0,0,0.05);
}

.beacon-card .status {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.beacon-card .time {
    display: block;
    font-size: 0.875rem;
    color: var(--brand-orange);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Features */
#features {
    padding: 100px 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    text-align: center;
}

.feature-item h3 {
    color: var(--brand-orange);
    font-family: var(--font-sans);
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

/* Philosophy */
#philosophy {
    background-color: var(--text-charcoal);
    color: var(--bg-cream);
    padding: 100px 0;
    text-align: center;
}

#philosophy h2 {
    color: white;
    margin-bottom: 24px;
}

#philosophy p {
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin: 0 auto 40px;
}

.pricing-badge {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 99px;
    font-size: 0.95rem;
    color: var(--brand-orange);
}

/* Footer */
footer {
    padding: 60px 0;
    text-align: center;
    font-size: 0.9rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.footer-link {
    font-weight: 600;
    color: var(--text-charcoal);
    text-decoration: none;
}

.footer-links a {
    color: var(--text-stone);
    margin: 0 12px;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    
    .comparison-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .header-content {
        gap: 16px;
    }
}
