/* ===== CSS Variables ===== */
:root {
    --primary: #E63946;
    --primary-dark: #c41e2c;
    --secondary: #1D3557;
    --text-dark: #1a1a1a;
    --text-medium: #4a4a4a;
    --text-light: #6b6b6b;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-alt: #f5f5f5;
    --border-light: #e5e5e5;
    --teal: #2A9D8F;
    
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    
    --transition: all 0.3s ease;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 24px;
    --radius-full: 50px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
}

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

ul, ol {
    list-style: none;
}

/* ===== Container ===== */
.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Header & Navigation ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
}

.logo svg {
    transition: var(--transition);
}

.logo:hover svg {
    transform: scale(1.05);
}

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

.nav-link {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    border-radius: var(--radius-full);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    background: var(--bg-alt);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--bg-white);
    color: var(--text-dark);
    border: 1px solid var(--text-dark);
}

.btn-secondary:hover {
    background: var(--text-dark);
    color: white;
}

.btn-large {
    padding: 14px 32px;
    font-size: 16px;
}

.btn-submit {
    width: 100%;
    background: var(--text-dark);
    color: white;
    padding: 16px;
    font-size: 16px;
}

.btn-submit:hover {
    background: #000;
}

/* ===== Hero Section ===== */
.hero {
    padding: 80px 0 60px;
    text-align: center;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
    line-height: 1.15;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Page Hero ===== */
.page-hero {
    padding: 60px 0 40px;
    text-align: center;
}

.page-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text-dark);
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--teal);
    font-weight: 500;
    margin-top: 12px;
}

/* ===== Sections ===== */
.section {
    padding: 60px 0;
}

.section-alt {
    background: var(--bg-alt);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
}

.section-heading {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 32px;
}

/* ===== Problem Section ===== */
.problem-grid {
    display: grid;
    gap: 32px;
    max-width: 700px;
    margin: 0 auto;
}

.problem-card {
    background: var(--bg-white);
    padding: 24px;
    border-radius: var(--radius-md);
}

.problem-card h3 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.problem-card p {
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===== Gap Section ===== */
.gap-content {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.gap-text {
    font-size: 1.1rem;
    color: var(--text-medium);
    margin-bottom: 8px;
}

.gap-highlight {
    font-size: 1.2rem;
    color: var(--primary);
    font-weight: 600;
    margin-top: 16px;
}

/* ===== Solution Section ===== */
.solution-content {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.solution-content p {
    font-size: 1.05rem;
    color: var(--text-medium);
    margin-bottom: 8px;
}

.solution-tagline {
    color: var(--primary) !important;
    font-weight: 600;
    margin-top: 20px !important;
    font-size: 1.1rem !important;
}

/* ===== About Page ===== */
.story-section {
    max-width: 600px;
}

.story-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 24px;
}

.story-intro {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--text-dark);
}

.about-content {
    max-width: 700px;
    margin: 0 auto;
}

.about-block {
    margin-bottom: 48px;
}

.about-block:last-child {
    margin-bottom: 0;
}

.about-heading {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 16px;
    text-align: center;
}

.about-block p {
    color: var(--text-medium);
    line-height: 1.8;
    text-align: center;
}

.about-list {
    margin-top: 16px;
    padding-left: 0;
}

.about-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 8px;
    color: var(--text-medium);
}

.about-list li::before {
    content: "•";
    position: absolute;
    left: 8px;
    color: var(--primary);
}

/* ===== Features Page ===== */
.features-intro {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.features-main-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.features-intro p {
    color: var(--text-medium);
    margin-bottom: 16px;
    line-height: 1.7;
}

.feature-category {
    margin-bottom: 32px;
}

.feature-category-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.feature-list {
    padding-left: 0;
}

.feature-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 8px;
    color: var(--text-medium);
    font-size: 0.95rem;
}

.feature-list li::before {
    content: "•";
    position: absolute;
    left: 8px;
    color: var(--primary);
}

/* ===== Platform Features ===== */
.platform-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    max-width: 600px;
    margin: 0 auto;
}

.platform-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: var(--text-medium);
}

.check-icon {
    color: var(--teal);
    font-weight: 600;
}

.pricing-highlight {
    text-align: center;
    margin-top: 32px;
}

.price {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary);
}

/* ===== Features Grid ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    text-align: center;
    padding: 24px 16px;
}

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

.feature-card h4 {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.4;
}

/* ===== Advantage Section ===== */
.advantage-section {
    text-align: center;
}

.advantage-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.advantage-subtitle {
    font-size: 1.1rem;
    color: var(--text-medium);
    margin-bottom: 40px;
}

.advantage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}

@media (max-width: 768px) {
    .advantage-grid {
        grid-template-columns: 1fr;
    }
}

.advantage-card {
    text-align: left;
    background: var(--bg-white);
    padding: 24px;
    border-radius: var(--radius-md);
}

.advantage-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.advantage-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

.benefit-icons {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-medium);
}

.benefit-icon {
    font-size: 1.25rem;
}

/* ===== CTA Section ===== */
.cta-section {
    text-align: center;
    padding: 40px 0;
}

.cta-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.cta-text {
    color: var(--teal);
    margin-bottom: 24px;
}

/* ===== Contact Page ===== */
.contact-section {
    padding: 60px 0 80px;
}

.contact-content {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

.contact-title {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.contact-subtitle {
    font-size: 1.2rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 40px;
}

.contact-form {
    text-align: left;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 8px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-dark);
    background: var(--bg-alt);
    border: none;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--primary);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-light);
}

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

/* ===== Thank You Page ===== */
.thank-you-section {
    padding: 120px 0;
}

.thank-you-content {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.success-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal);
    color: white;
    font-size: 2.5rem;
    border-radius: 50%;
    margin: 0 auto 24px;
}

.thank-you-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.thank-you-text {
    color: var(--text-medium);
    font-size: 1.1rem;
    margin-bottom: 32px;
}

/* ===== Footer ===== */
.footer {
    background: var(--bg-white);
    border-top: 1px solid var(--border-light);
    padding: 48px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 48px;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 32px;
    }
}

.footer-logo svg {
    opacity: 0.8;
}

.footer-links {
    display: flex;
    gap: 64px;
}

@media (max-width: 600px) {
    .footer-links {
        flex-direction: column;
        gap: 24px;
    }
}

.footer-column h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.footer-column a {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

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

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .nav {
        padding: 12px 16px;
    }
    
    .nav-links {
        display: none;
    }
    
    .hero {
        padding: 60px 0 40px;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .container {
        padding: 0 16px;
    }
}

/* ===== Mobile Navigation (Hamburger) ===== */
@media (max-width: 768px) {
    .nav {
        position: relative;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-white);
        flex-direction: column;
        padding: 16px;
        border-bottom: 1px solid var(--border-light);
        box-shadow: var(--shadow-md);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-link {
        text-align: center;
    }
}
