/* ===== GOOGLE FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Crimson+Pro:wght@400;600;700&family=Work+Sans:wght@400;500;600;700&display=swap');

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

:root {
    --primary-dark: #2c3e50;
    --primary-blue: #34495e;
    --accent-gold: #d4a574;
    --accent-teal: #16a085;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-cream: #faf8f5;
    --bg-white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
}

body {
    font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    background: var(--bg-cream);
    -webkit-text-size-adjust: 100%; /* disables Android Chrome font boosting */
    text-size-adjust: 100%;
}

/* ===== HEADER ===== */
.header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 165, 116, 0.2);
    padding: 0.75rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    overflow: hidden; /* never allow two lines */
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: nowrap; /* absolutely never wrap to second line */
    height: 44px;      /* fixed height locks it to one row */
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;  /* px resists Android font boosting */
    white-space: nowrap;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-gold);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 15px;  /* px resists Android font boosting */
    font-weight: bold;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.logo img {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

/* Hide logo text on smallest phones — icon only */
.logo-text {
    display: none;
}

.logort { color: #1f3a5f; }
.logoca { color: #16a085; }

.cta-button {
    background: linear-gradient(135deg, var(--accent-teal), #138f78);
    color: white;
    border: none;
    padding: 8px 14px;  /* px resists Android font boosting */
    font-size: 13px;    /* px resists Android font boosting */
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    border-radius: 6px;
    white-space: nowrap;
    line-height: 1.2;   /* prevent line-height inflation */
    box-shadow: 0 4px 12px rgba(22, 160, 133, 0.3);
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: linear-gradient(135deg, #138f78, #0e7461);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(22, 160, 133, 0.4);
}

/* Show logo text once there's enough room */
@media (min-width: 420px) {
    .logo-text { display: inline; font-size: 15px; }
    .logo img { width: 28px; height: 28px; }
    .cta-button { padding: 9px 16px; font-size: 13px; }
    .header-nav { gap: 0.8rem; }
}

@media (min-width: 560px) {
    .logo-text { font-size: 18px; }
    .logo img { width: 32px; height: 32px; }
    .cta-button { padding: 10px 18px; font-size: 14px; }
    .nav-link { font-size: 14px; }
    .header-nav { gap: 1.2rem; }
}

@media (min-width: 768px) {
    .logo-text { font-size: 24px; }
    .logo img { width: 40px; height: 40px; }
    .cta-button { padding: 12px 28px; font-size: 16px; }
    .nav-link { font-size: 15px; }
    .header-nav { gap: 1.5rem; }
    .header-content { padding: 0 2rem; }
}

/* ===== HERO ===== */
.hero {
    min-height: 90vh;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
    color: white;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 8rem 2rem 4rem;
    gap: 4rem;
}

.hero-content {
    max-width: 600px;
}

.badge {
    display: inline-block;
    background: rgba(212, 165, 116, 0.95);
    color: var(--primary-dark);
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.hero h1 {
    font-family: 'Crimson Pro', serif;
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero h2 {
    font-family: 'Crimson Pro', serif;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
    opacity: 0.95;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.8;
}

.subtext {
    margin-top: 1rem;
    font-size: 0.95rem;
    opacity: 0.85;
}

.hero-visual {
    display: flex;
    gap: 2rem;
    flex-direction: column;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.stat-number {
    font-family: 'Crimson Pro', serif;
    font-size: 4rem;
    font-weight: 700;
    color: var(--accent-gold);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

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

/* ===== SECTIONS ===== */
.section {
    padding: 6rem 2rem;
}

.pain-section {
    background: white;
}

.shift-section {
    background: linear-gradient(135deg, var(--bg-cream) 0%, #f0ede8 100%);
}

.screenshots-section {
    background: white;
}

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

.benefits-section {
    background: white;
}

.section-content {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Crimson Pro', serif;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3.5rem;
    color: var(--text-dark);
    font-weight: 700;
}

/* ===== PAIN POINTS ===== */
.pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.pain-card {
    background: var(--bg-cream);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--accent-gold);
    transition: all 0.3s ease;
}

.pain-card:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.pain-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.pain-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    font-weight: 600;
}

.pain-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== THE SHIFT ===== */
.shift-content {
    max-width: 900px;
    margin: 0 auto;
}

.shift-text h3 {
    font-family: 'Crimson Pro', serif;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.shift-list {
    list-style: none;
    padding: 0;
}

.shift-list li {
    padding: 1rem 0;
    padding-left: 2rem;
    position: relative;
    font-size: 1.15rem;
    line-height: 1.7;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

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

.shift-list li strong {
    color: var(--accent-teal);
}

.shift-result {
    margin-top: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    border-left: 4px solid var(--accent-teal);
    font-size: 1.1rem;
    line-height: 1.7;
}

.shift-result strong {
    color: var(--accent-teal);
    font-weight: 600;
}

/* ===== WORKFLOW ===== */
.workflow-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.workflow-step {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 2rem;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

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

.workflow-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-teal), #138f78);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Crimson Pro', serif;
    font-size: 2.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.workflow-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    font-weight: 600;
}

.workflow-content p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1.05rem;
}

/* ===== ORIGIN STORY ===== */
.origin-content {
    max-width: 800px;
    margin: 0 auto;
}

.origin-card {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border-top: 4px solid var(--accent-gold);
}

.origin-card h3 {
    font-family: 'Crimson Pro', serif;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.origin-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.origin-card em {
    color: var(--accent-teal);
    font-style: italic;
    font-weight: 500;
}

/* ===== BENEFITS ===== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: var(--bg-cream);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.benefit-card ul {
    list-style: none;
    padding: 0;
}

.benefit-card li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
    line-height: 1.6;
}

.benefit-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-teal);
    font-weight: bold;
}

/* ===== CAROUSEL ===== */
.carousel-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
}

.carousel-slide img {
    width: 100%;
    display: block;
}

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

.carousel-nav button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: var(--accent-teal);
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: 0.3s ease;
}

.carousel-nav button:hover {
    background: #138f78;
    transform: scale(1.1);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d0d0d0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--accent-teal);
    width: 30px;
    border-radius: 6px;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
    color: white;
    padding: 5rem 2rem;
    text-align: center;
}

.cta-section h2 {
    font-family: 'Crimson Pro', serif;
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.cta-section p {
    margin-bottom: 2rem;
    font-size: 1.2rem;
    opacity: 0.95;
}

.cta-button-white {
    background: white;
    color: var(--accent-teal);
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    display: inline-block;
    transition: 0.3s ease;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.cta-button-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.demo-info {
    margin-top: 2rem;
    font-size: 0.95rem;
    opacity: 0.9;
}

.demo-info .note {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    opacity: 0.8;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--primary-dark);
    color: white;
    padding: 2rem;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

.footer p {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
    .hero {
        grid-template-columns: 1fr;
        padding-top: 7rem;
    }

    .hero h1 { font-size: 2.8rem; }
    .hero h2 { font-size: 1.6rem; }
    .section-title { font-size: 2.2rem; }

    .workflow-step {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .workflow-number {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
}

@media (max-width: 640px) {
    .hero h1 { font-size: 2.2rem; }
    .hero h2 { font-size: 1.3rem; }
    .section-title { font-size: 1.8rem; }
    .pain-grid {
        grid-template-columns: 1fr;
    }
}
