/* ==========================================
   The Tension Lines - Modern Philosophical Design
   ========================================== */

:root {
    --color-bg: #FDFCFA;
    --color-surface: #FFFFFF;
    --color-text: #1A1613;
    --color-text-secondary: #6B6460;
    --color-accent: #D4A574;
    --color-accent-dark: #B88C5D;
    --color-border: #E8E3DD;
    
    --font-serif: 'Libre Baskerville', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --radius: 12px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
}

/* ==========================================
   Base & Reset
   ========================================== */

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

html {
    font-size: 18px;
    line-height: 1.7;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

@media (max-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }
}

/* ==========================================
   Typography
   ========================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--color-text);
}

h1 { font-size: 3.5rem; letter-spacing: -0.02em; }
h2 { font-size: 2.5rem; letter-spacing: -0.01em; }
h3 { font-size: 1.75rem; }

p {
    margin-bottom: 1.25rem;
    line-height: 1.75;
}

a {
    color: var(--color-accent-dark);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--color-text);
}

strong {
    font-weight: 600;
    color: var(--color-text);
}

/* ==========================================
   Header & Navigation
   ========================================== */

header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
}

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

.nav-brand a {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: -0.01em;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-menu a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--color-text);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* ==========================================
   Hero Section - Modern & Spacious
   ========================================== */

.hero {
    background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-bg) 100%);
    padding: 8rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(212, 165, 116, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

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

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--color-text-secondary);
    margin-bottom: 3rem;
    line-height: 1.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-cta {
    margin-top: 3rem;
    animation: fadeInUp 0.8s ease 0.4s both;
}

/* ==========================================
   Buttons
   ========================================== */

.button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--color-accent);
    color: var(--color-surface);
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.button:hover {
    background: var(--color-accent-dark);
    color: var(--color-surface);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ==========================================
   Content Sections
   ========================================== */

.about-section {
    padding: 8rem 0;
}

.about-section h2 {
    font-size: 2.75rem;
    margin-bottom: 2.5rem;
    line-height: 1.3;
    max-width: 900px;
}

.about-section .container {
    max-width: 900px;
    padding-left: 3rem;
    padding-right: 3rem;
}

.about-section .content {
    max-width: 100%;
}

.content {
    font-size: 1.15rem;
    line-height: 1.85;
    color: var(--color-text-secondary);
    width: 100%;
    max-width: 100%;
}

.content p {
    margin-bottom: 1.75rem;
}

.content strong {
    color: var(--color-text);
}

/* ==========================================
   Features Card
   ========================================== */

.features {
    margin-top: 4rem;
    padding: 2.5rem;
    background: var(--color-surface);
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.features:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.features h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

.features ul {
    list-style: none;
    padding-left: 0;
}

.features li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--color-text-secondary);
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.features li:hover {
    color: var(--color-text);
    padding-left: 2.25rem;
}

.features li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: bold;
    font-size: 1.2rem;
}

/* ==========================================
   Newsletter Section
   ========================================== */

.newsletter-section {
    background: var(--color-surface);
    padding: 8rem 0;
    text-align: center;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.newsletter-section h2 {
    margin-bottom: 1rem;
}

.newsletter-section p {
    color: var(--color-text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.newsletter-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 2.5rem;
    background: var(--color-bg);
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
}

.newsletter-placeholder {
    font-style: italic;
    color: var(--color-text-secondary);
    font-size: 1.05rem;
}

.newsletter-temp {
    margin-top: 1.5rem;
    font-size: 1rem;
}

/* ==========================================
   Page Layouts
   ========================================== */

.page-header {
    background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-bg) 100%);
    padding: 8rem 0 5rem 0;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.page-content {
    padding: 8rem 0;
}

.page-content .container {
    max-width: 900px;
    padding-left: 3rem;
    padding-right: 3rem;
}

.page-content .content {
    max-width: 100%;
}

.content h2 {
    margin-top: 4rem;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.content h3 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.content p:first-child {
    margin-top: 0;
}

.content ul, .content ol {
    margin-bottom: 2rem;
    padding-left: 2rem;
    color: var(--color-text-secondary);
}

.content li {
    margin-bottom: 0.75rem;
    line-height: 1.8;
}

/* ==========================================
   Footer with Social Links
   ========================================== */

footer {
    background: var(--color-text);
    color: rgba(255, 255, 255, 0.7);
    padding: 6rem 0 3rem 0;
}

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

.footer-about h3 {
    color: var(--color-surface);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-about p {
    line-height: 1.7;
    margin-bottom: 1rem;
}

.footer-connect h4 {
    color: var(--color-surface);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--color-surface);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--color-accent);
    color: var(--color-text);
    transform: translateY(-4px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.6;
}

/* ==========================================
   Animations
   ========================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease;
}

/* ==========================================
   Responsive Design
   ========================================== */

@media (max-width: 768px) {
    html {
        font-size: 16px;
    }
    
    .hero {
        padding: 6rem 0;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .nav-menu {
        gap: 1.5rem;
        font-size: 0.9rem;
    }
    
    .about-section,
    .newsletter-section,
    .page-content {
        padding: 6rem 0;
    }
    
    .about-section .container,
    .page-content .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
    
    .page-header {
        padding: 6rem 0 4rem 0;
    }
    
    .about-section h2 {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    footer {
        padding: 5rem 0 2.5rem 0;
    }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
}

@media (max-width: 480px) {
    .hero {
        padding: 4rem 0;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .nav-menu {
        gap: 1rem;
        font-size: 0.85rem;
    }
    
    .button {
        padding: 0.875rem 1.75rem;
        font-size: 0.95rem;
    }
    
    .about-section,
    .newsletter-section,
    .page-content {
        padding: 4rem 0;
    }
    
    .about-section .container,
    .page-content .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .page-header {
        padding: 5rem 0 3rem 0;
    }
    
    .features {
        padding: 1.75rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    footer {
        padding: 4rem 0 2rem 0;
    }
}
