/* ===== COOKWISE WEBSITE — style.css ===== */

/* --- Variables --- */
:root {
    --orange: #E85D04;
    --orange-light: #FFF7ED;
    --green: #059669;
    --green-light: #ECFDF5;
    --charcoal: #1E293B;
    --gray: #6B7280;
    --gray-light: #F3F4F6;
    --white: #FFFFFF;
    --radius: 16px;
    --shadow: 0 4px 24px rgba(0,0,0,0.08);
    --shadow-sm: 0 2px 12px rgba(0,0,0,0.05);
    --transition: 0.25s ease;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--charcoal);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* --- Navbar --- */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 16px 0;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: box-shadow var(--transition), padding var(--transition);
}
.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}
.nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    max-width: 1120px; margin: 0 auto; padding: 0 24px;
}
.nav-logo {
    font-size: 1.45rem; font-weight: 800; color: var(--charcoal);
    display: flex; align-items: center; gap: 8px;
}
.logo-icon {
    display: flex; align-items: center; justify-content: center;
    width: 34px; height: 34px;
    background: #FFF1E5;
    border-radius: 10px;
    font-size: 1.25rem;
}
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
    font-size: 0.95rem; font-weight: 500; color: var(--gray);
    transition: color var(--transition);
}
.nav-links a:hover { color: var(--orange); }
.nav-cta {
    background: var(--orange); color: #fff !important;
    padding: 10px 22px; border-radius: 12px; font-weight: 600;
    transition: background var(--transition), transform var(--transition);
}
.nav-cta:hover { background: #C44E03; transform: translateY(-1px); }
.hamburger {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
    display: block; width: 24px; height: 2.5px;
    background: var(--charcoal); border-radius: 2px;
    transition: var(--transition);
}

/* --- Language Switcher --- */
.lang-switcher {
    position: relative;
    margin-left: 12px;
}
.lang-btn {
    display: flex; align-items: center; gap: 6px;
    background: var(--gray-light); border: 1px solid #E5E7EB;
    border-radius: 10px; padding: 7px 14px;
    font-size: 0.85rem; font-weight: 600;
    cursor: pointer; color: var(--charcoal);
    transition: background var(--transition), border-color var(--transition);
}
.lang-btn:hover { background: #E5E7EB; border-color: var(--orange); }
.lang-flag { font-size: 1.1rem; }
.lang-code { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.5px; }
.lang-arrow { font-size: 0.7rem; color: var(--gray); transition: transform var(--transition); }
.lang-dropdown {
    position: absolute; top: calc(100% + 8px); right: 0;
    background: var(--white); border: 1px solid #E5E7EB;
    border-radius: 12px; box-shadow: var(--shadow);
    padding: 6px; min-width: 160px;
    opacity: 0; visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 200;
}
.lang-dropdown.open {
    opacity: 1; visibility: visible;
    transform: translateY(0);
}
.lang-option {
    display: flex; align-items: center; gap: 10px;
    width: 100%; padding: 10px 14px;
    background: none; border: none; border-radius: 8px;
    font-size: 0.9rem; font-weight: 500;
    cursor: pointer; color: var(--charcoal);
    transition: background var(--transition);
}
.lang-option:hover { background: var(--orange-light); }
.lang-option.active {
    background: var(--orange-light); color: var(--orange); font-weight: 700;
}
.lang-option span { font-size: 1.15rem; }

/* --- Hero --- */
.hero {
    position: relative;
    padding: 160px 0 100px;
    background: #FAFAFA;
    overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; top: -20%; right: -10%;
    width: 60vw; height: 60vw;
    background: radial-gradient(circle, rgba(232,93,4,0.12) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%; z-index: 0; pointer-events: none;
}
.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 10;
}
.hero-content {
    text-align: left;
}
.hero-badge {
    display: inline-flex;
    background: var(--orange-light);
    color: var(--orange);
    padding: 8px 16px; border-radius: 20px;
    font-size: 0.9rem; font-weight: 700; margin-bottom: 24px;
    border: 1px solid rgba(232,93,4,0.2);
}
.hero h1 {
    font-size: clamp(2.8rem, 5vw, 4.2rem); 
    font-weight: 800; line-height: 1.1; margin-bottom: 24px;
    letter-spacing: -1px;
    color: var(--charcoal);
}
.hero h1 .highlight {
    background: linear-gradient(135deg, var(--orange) 20%, #F59E0B 80%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero p {
    font-size: 1.25rem; color: var(--gray);
    max-width: 520px; margin-bottom: 40px;
    line-height: 1.6;
}
.hero-buttons { 
    display: flex; gap: 16px; flex-wrap: wrap; 
    margin-bottom: 32px;
}
.btn-primary {
    background: var(--charcoal); color: #fff;
    padding: 16px 32px; border-radius: 14px;
    font-size: 1.05rem; font-weight: 600; border: none; cursor: pointer;
    display: inline-flex; align-items: center; gap: 10px;
    transition: background var(--transition), transform var(--transition);
    box-shadow: 0 10px 25px rgba(30,41,59,0.2);
}
.btn-primary:hover { background: #0F172A; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(30,41,59,0.3); }
.btn-secondary {
    background: var(--white); color: var(--charcoal);
    padding: 16px 32px; border-radius: 14px;
    font-size: 1.05rem; font-weight: 600; 
    border: 1px solid #E2E8F0; cursor: pointer;
    display: inline-flex; align-items: center; gap: 8px;
    transition: all var(--transition);
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}
.btn-secondary:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.06); }
.hero-rating {
    display: flex; align-items: center; gap: 12px;
}
.hero-rating .stars {
    color: #F59E0B; font-size: 1.2rem; filter: drop-shadow(0 2px 4px rgba(245,158,11,0.2));
}
.hero-rating span {
    font-size: 0.95rem; font-weight: 500; color: var(--gray);
}
.hero-visual {
    position: relative; display: flex; justify-content: center;
}
.hero-glow {
    position: absolute; top: 10%; left: 10%; width: 80%; height: 80%;
    background: linear-gradient(135deg, var(--orange) 0%, #F59E0B 100%);
    filter: blur(80px); opacity: 0.2; border-radius: 50%;
    z-index: 1;
}
.app-showcase {
    position: relative; z-index: 2;
    display: flex; justify-content: center;
}
.app-screenshot {
    width: 100%;
    max-width: 440px;
    height: auto;
    display: block;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.12));
}

@media (max-width: 968px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .hero-content { display: flex; flex-direction: column; align-items: center; }
    .hero h1 { font-size: 2.8rem; }
    .hero p { margin: 0 auto 32px; }
    .app-screenshot { max-width: 320px; margin: 0 auto; }
}

/* --- Features --- */
.features { padding: 100px 0; }
.section-label {
    display: inline-block; font-size: 0.8rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 2px;
    color: var(--orange); margin-bottom: 12px;
}
.section-title {
    font-size: 2.4rem; font-weight: 800;
    margin-bottom: 16px; line-height: 1.2;
}
.section-subtitle {
    font-size: 1.1rem; color: var(--gray);
    max-width: 540px; margin: 0 auto 56px;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.feature-card {
    background: var(--white);
    border: 1px solid #F3F4F6;
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: transform var(--transition), box-shadow var(--transition);
}
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}
.feature-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; margin-bottom: 20px;
}
.feature-icon.orange { background: var(--orange-light); }
.feature-icon.green { background: var(--green-light); }
.feature-card h3 {
    font-size: 1.15rem; font-weight: 700; margin-bottom: 10px;
}
.feature-card p {
    font-size: 0.92rem; color: var(--gray); line-height: 1.65;
}

/* --- How It Works --- */
.how-it-works {
    padding: 100px 0;
    background: var(--gray-light);
}
.steps {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 40px; margin-top: 56px;
}
.step { text-align: center; }
.step-number {
    width: 56px; height: 56px;
    border-radius: 50%; margin: 0 auto 20px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; font-weight: 800; color: #fff;
    background: linear-gradient(135deg, var(--orange), #F59E0B);
    box-shadow: 0 4px 16px rgba(232,93,4,0.25);
}
.step h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.step p { font-size: 0.92rem; color: var(--gray); max-width: 280px; margin: 0 auto; }

/* --- Pricing --- */
.pricing { padding: 100px 0; }
.pricing-grid {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 28px; max-width: 780px; margin: 0 auto;
}
.pricing-card {
    border: 1px solid #E2E8F0; border-radius: 20px;
    padding: 40px 32px; position: relative;
    background: #fff;
    transition: transform var(--transition), box-shadow var(--transition);
}
.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.08);
}
.pricing-card.featured {
    border: 2px solid var(--orange);
    background: linear-gradient(180deg, #FFFBF7 0%, var(--white) 100%);
    box-shadow: 0 20px 40px -10px rgba(232, 93, 4, 0.15);
}
.pricing-badge {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: var(--orange); color: #fff;
    padding: 6px 20px; border-radius: 50px;
    font-size: 0.78rem; font-weight: 700; white-space: nowrap;
}
.pricing-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; }
.pricing-price {
    font-size: 2.8rem; font-weight: 800; margin-bottom: 4px;
}
.pricing-price span { font-size: 1rem; font-weight: 500; color: var(--gray); }
.pricing-desc { font-size: 0.9rem; color: var(--gray); margin-bottom: 28px; }
.pricing-features { margin-bottom: 32px; }
.pricing-features li {
    padding: 8px 0; font-size: 0.92rem;
    display: flex; align-items: center; gap: 10px;
}
.pricing-features li::before {
    content: "✓"; color: var(--green); font-weight: 700;
}
.pricing-btn {
    display: block; width: 100%; text-align: center;
    padding: 14px; border-radius: 12px;
    font-size: 1rem; font-weight: 700; border: none; cursor: pointer;
    transition: background var(--transition), transform var(--transition);
}
.pricing-btn.primary {
    background: var(--orange); color: #fff;
    box-shadow: 0 4px 16px rgba(232,93,4,0.3);
}
.pricing-btn.primary:hover { background: #C44E03; }
.pricing-btn.secondary {
    background: var(--gray-light); color: var(--charcoal);
}
.pricing-btn.secondary:hover { background: #E5E7EB; }
.pricing-note {
    margin-top: 32px; font-size: 0.85rem; color: var(--gray);
    max-width: 600px; margin-left: auto; margin-right: auto;
    line-height: 1.6;
}

/* --- FAQ --- */
.faq { padding: 100px 0; background: var(--gray-light); }
.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item {
    background: var(--white); border-radius: 14px;
    margin-bottom: 12px; overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.faq-question {
    padding: 20px 24px; font-weight: 600; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 0.98rem; transition: color var(--transition);
}
.faq-question:hover { color: var(--orange); }
.faq-question::after {
    content: '+'; font-size: 1.4rem; font-weight: 700;
    color: var(--orange); transition: transform 0.3s;
}
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-answer-inner {
    padding: 0 24px 20px; color: var(--gray);
    font-size: 0.92rem; line-height: 1.7;
}
.faq-item.open .faq-answer { max-height: 300px; }

/* --- CTA Banner --- */
.cta-banner {
    padding: 80px 0; text-align: center;
    background: linear-gradient(135deg, var(--charcoal) 0%, #2D2D4E 100%);
    color: #fff;
}
.cta-banner h2 { font-size: 2.2rem; font-weight: 800; margin-bottom: 16px; }
.cta-banner p {
    font-size: 1.1rem; opacity: 0.8;
    max-width: 480px; margin: 0 auto 32px;
}

/* --- Footer --- */
.footer {
    padding: 60px 0 30px;
    background: var(--charcoal); color: rgba(255,255,255,0.7);
}
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px; margin-bottom: 40px;
}
.footer-brand h3 { color: #fff; font-size: 1.3rem; font-weight: 800; margin-bottom: 12px; }
.footer-brand p { font-size: 0.88rem; line-height: 1.65; max-width: 280px; }
.footer-col h4 {
    color: #fff; font-size: 0.85rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 16px;
}
.footer-col a {
    display: block; font-size: 0.88rem; padding: 4px 0;
    transition: color var(--transition);
}
.footer-col a:hover { color: var(--orange); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px; display: flex;
    justify-content: space-between; align-items: center;
    font-size: 0.82rem;
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { transition: color var(--transition); }
.footer-bottom-links a:hover { color: var(--orange); }

/* --- Legal Pages --- */
.legal-page {
    padding: 140px 0 80px;
    background: var(--gray-light);
}
.legal-page h1 {
    font-size: 2.4rem; font-weight: 800; margin-bottom: 8px;
}
.legal-date {
    color: var(--gray); font-size: 0.9rem; margin-bottom: 40px;
}
.legal-content {
    background: var(--white);
    border-radius: var(--radius);
    padding: 48px;
    box-shadow: var(--shadow-sm);
    max-width: 800px;
}
.legal-content h2 {
    font-size: 1.3rem; font-weight: 700;
    margin-top: 36px; margin-bottom: 12px;
    padding-top: 20px; border-top: 1px solid var(--gray-light);
}
.legal-content h2:first-child { margin-top: 0; border-top: none; padding-top: 0; }
.legal-content h3 {
    font-size: 1.05rem; font-weight: 600;
    margin-top: 20px; margin-bottom: 8px;
}
.legal-content p { margin-bottom: 12px; font-size: 0.94rem; color: #374151; line-height: 1.75; }
.legal-content ul { margin: 12px 0 12px 24px; }
.legal-content li {
    font-size: 0.94rem; color: #374151;
    padding: 4px 0; line-height: 1.65;
    list-style: disc;
}
.legal-content a { color: var(--orange); text-decoration: underline; }

/* --- Responsive --- */
@media (max-width: 900px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: 1fr; gap: 32px; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .nav-links { display: none; flex-direction: column; position: absolute; top: 60px; left: 0; right: 0; background: #fff; padding: 24px; gap: 16px; box-shadow: var(--shadow); }
    .nav-links.active { display: flex; }
    .hamburger { display: flex; }
    .lang-switcher { margin-left: auto; margin-right: 12px; }
    .hero { padding: 130px 0 60px; }
    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 1rem; }
    .features-grid { grid-template-columns: 1fr; }
    .section-title { font-size: 1.8rem; }
    .legal-content { padding: 28px 20px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .phone-mockup { width: 240px; height: 480px; }
    .mockup-card-text { font-size: 0.75rem; }
}
