/* Kitchee Website - Complete Updated CSS with Light/Dark Mode */
/* New Color Palette:
   App Orange: #F2762E
   App Brown: Light #731803, Dark #A67165
   App Green: #5C8C14 (Kitchee text)
   App Tan: #A67165
   App Blue: Light #032373, Dark #80A1F2
   App Cyan: #80A1F2
   App Red: #C92A06
   Smoky Black: #0D0D0D
*/

:root {
    /* Apple-inspired Light Mode Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f7;
    --bg-tertiary: #f8f9fa;
    --text-primary: #1d1d1f;
    --text-secondary: #86868b;
    --accent-orange: #F2762E;
    --accent-green: #5C8C14;
    --accent-blue: #0071e3;
    --accent-hover: #0077ed;
    --border-color: #d2d2d7;
    --shadow-light: rgba(0, 0, 0, 0.08);
    --shadow-medium: rgba(0, 0, 0, 0.12);
    --overlay-bg: rgba(255, 255, 255, 0.8);

    /* Typography Scale */
    --font-size-display: clamp(48px, 8vw, 96px);
    --font-size-large: clamp(32px, 5vw, 56px);
    --font-size-medium: clamp(19px, 2.5vw, 28px);
    --font-size-body: 17px;
    --font-size-caption: 12px;

    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 48px;
    --spacing-xl: 80px;
    --spacing-xxl: 120px;

    /* Layout */
    --max-width: 1024px;
    --border-radius: 16px;
    --transition: all 0.3s ease;
}

/* Apple-inspired Dark Mode Colors */
[data-theme="dark"] {
    --bg-primary: #000000;
    --bg-secondary: #1d1d1f;
    --bg-tertiary: #2a2a2a;
    --text-primary: #f5f5f7;
    --text-secondary: #a1a1a6;
    --accent-orange: #F2762E;
    --accent-green: #5C8C14;
    --accent-blue: #0a84ff;
    --accent-hover: #409cff;
    --border-color: #424245;
    --shadow-light: rgba(0, 0, 0, 0.3);
    --shadow-medium: rgba(0, 0, 0, 0.5);
    --overlay-bg: rgba(0, 0, 0, 0.8);
}

/* Base Typography and Body Styles */

/* Apple-style Button Effects */
.cta-button:hover, .premium-btn:hover, .contact-btn:hover {
    background: var(--accent-hover, #0077ed);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(0, 113, 227, 0.3);
}

.cta-button-secondary:hover {
    background: var(--accent-blue, #0071e3);
    color: var(--bg-primary); /* Intentional: white text on colored button background */
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(0, 113, 227, 0.3);
}

/* Blog post and card hover effects */
.blog-post:hover, .feature-card:hover, .pricing-card:hover, .value-card:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .blog-post:hover,
[data-theme="dark"] .feature-card:hover,
[data-theme="dark"] .pricing-card:hover,
[data-theme="dark"] .value-card:hover {
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.1);
}

/* Apple-style section spacing and alignment */
.container {
    max-width: var(--max-width, 1024px);
    margin: 0 auto;
    padding-left: var(--spacing-md, 24px);
    padding-right: var(--spacing-md, 24px);
}

/* Apple-style sections */
.hero, .main-content, .features-section, .pricing-section, .updates-section {
    background: var(--bg-primary);
    color: var(--text-primary);
}

/* Apple-style headers and typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-weight: 600;
    letter-spacing: -0.015em;
}

/* Ensure most sections use the primary background theme */
section {
    background: var(--bg-primary);
}

/* Allow specific sections to override background */
section.transparent-bg,
section[style*="background: transparent"] {
    background: transparent !important;
}

/* Latest Updates Section */
.latest-updates {
    padding: var(--spacing-xl, 80px) var(--spacing-md, 24px);
    background: var(--bg-primary);
}

.latest-updates .container {
    max-width: var(--max-width, 1024px);
}

.latest-updates h2 {
    font-size: var(--font-size-large, clamp(32px, 5vw, 56px));
    font-weight: 600;
    margin-bottom: var(--spacing-lg, 48px);
    letter-spacing: -0.015em;
    color: var(--text-primary);
}

.latest-updates .blog-post {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    padding: var(--spacing-lg, 48px);
    cursor: pointer;
    transition: var(--transition, all 0.3s ease);
}

.latest-updates .blog-date {
    color: var(--text-secondary);
    font-size: var(--font-size-caption, 12px);
    margin-bottom: var(--spacing-sm, 16px);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.latest-updates .blog-title {
    font-size: var(--font-size-medium, clamp(19px, 2.5vw, 28px));
    font-weight: 600;
    margin-bottom: var(--spacing-sm, 16px);
    color: var(--text-primary);
    line-height: 1.3;
}

.latest-updates .blog-excerpt {
    color: var(--text-secondary);
    line-height: 1.4;
    font-size: var(--font-size-body, 17px);
}

/* Apple-style alternating sections */
.values-section, .approach-section, .faq-section {
    background: var(--bg-secondary) !important;
}

/* Ensure proper text color inheritance */
p, span, li {
    color: var(--text-primary);
}

.feature-description, .plan-description, .mission-text {
    color: var(--text-secondary);
}

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

/* Ensure all elements use Quicksand font, except Material Icons */
*, *::before, *::after {
    font-family: 'Quicksand', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

/* Restore Material Icons font */
.material-icons {
    font-family: 'Material Icons' !important;
}

body {
    font-family: 'Quicksand', -apple-system, BlinkMacSystemFont, sans-serif !important;
    line-height: 1.47;
    color: var(--text-primary);
    background: transparent;
    font-size: var(--font-size-body);
    margin: 0;
    padding: 0;
    transition: background 0.3s ease, color 0.3s ease;
    min-height: 100vh;
    position: relative;
    /* iOS fixes */
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* TEXT COLOR FIXES - Specific text for sections outside containers */
.why-choose-section h2,
.why-choose-section h3,
.why-choose-section p,
.approach-section h2,
.approach-section h3,
.approach-section p,
.values-section h2,
.values-section p {
    color: var(--text-primary) !important;
}

/* Footer must be green text */
footer,
footer * {
    color: var(--text-secondary) !important;
}

/* CONTAINER */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HEADER & NAVIGATION */
header {
    background: var(--overlay-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    font-weight: 600;
    color: var(--accent-green);
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-green);
}

/* Logo section with integrated language picker */
.logo-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Language picker integrated with logo */
.language-picker-integrated {
    position: relative;
}

.language-btn {
    font-size: 14px;
    color: var(--text-secondary);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 8px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    transition: all 0.3s ease;
    /* iOS touch improvements */
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    min-height: 36px;
    font-family: inherit;
}

.language-btn:hover {
    background: var(--accent-green);
    color: var(--bg-primary); /* Intentional: white text on green button background */
    border-color: var(--accent-green);
}

.language-btn:hover .language-arrow {
    color: var(--bg-primary); /* Intentional: white text on green button background */
}

.language-arrow {
    font-size: 10px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.language-btn.active .language-arrow {
    transform: rotate(180deg);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--shadow-medium);
    z-index: 1004;
    min-width: 160px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 4px;
}

.language-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: block;
    width: 100%;
    padding: 12px 16px;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    transition: background-color 0.2s ease;
    text-align: left;
    font-family: inherit;
    font-size: 14px;
    /* iOS touch improvements */
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    min-height: 44px;
    display: flex;
    align-items: center;
}

.language-option:hover {
    background: var(--bg-tertiary);
}

.language-option:active {
    background: var(--accent-green);
    color: var(--bg-primary); /* Intentional: white text on green background */
}

/* Mobile Menu Button - Enhanced for iOS */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    /* Enhanced iOS touch improvements */
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
    min-width: 48px; /* Larger iOS touch target */
    min-height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: background-color 0.2s ease;
    /* Force hardware acceleration on iOS */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    will-change: transform;
    position: relative;
    z-index: 10000; /* Highest z-index to stay above mobile menu */
}

.mobile-menu-btn:active {
    background: rgba(0, 0, 0, 0.05);
}

.hamburger-line {
    width: 28px;
    height: 3px;
    background: var(--text-primary);
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    border-radius: 3px;
    display: block;
    /* Enhanced iOS rendering */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    will-change: transform;
}

.mobile-menu-btn.active .hamburger-line:first-child {
    transform: rotate(45deg) translate(7px, 7px);
    -webkit-transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scale(0);
    -webkit-transform: scale(0);
}

.mobile-menu-btn.active .hamburger-line:last-child {
    transform: rotate(-45deg) translate(7px, -7px);
    -webkit-transform: rotate(-45deg) translate(7px, -7px);
}

/* HERO SECTIONS */
.hero {
    text-align: center;
    padding: 80px 0;
    background: var(--bg-primary);
    color: var(--text-primary);
}

.hero.nobanner {
    background: var(--bg-primary);
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.hero p {
    font-size: 20px;
    color: var(--text-primary);
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* COMING SOON SPECIFIC */
.coming-soon-body {
    background: var(--bg-secondary);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.coming-soon-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--overlay-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 100;
}

.coming-soon-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.coming-soon-content {
    text-align: center;
    background: var(--bg-secondary);
    padding: 80px 60px;
    border-radius: 24px;
    box-shadow: 0 8px 40px var(--shadow-medium);
    animation: fadeInUp 0.8s ease-out;
    margin-top: 80px;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: url('resources/kitchee_logo_1024.webp') center/contain no-repeat;
}

.main-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.subtitle {
    font-size: 24px;
    font-weight: 600;
    color: var(--accent-green);
    margin-bottom: 30px;
}

.description {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

/* FEATURES PREVIEW */
.features-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: var(--bg-tertiary);
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-4px);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.feature-icon.large {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.feature-icon .material-icons {
    font-size: 24px;
    color: var(--bg-primary); /* Intentional: white icon on colored background */
}

.feature-icon.large .material-icons {
    font-size: 28px;
}

.feature-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.feature-desc {
    font-size: 14px;
    color: var(--text-primary);
    text-align: center;
}

/* NOTIFY SECTION */
.notify-section {
    background: var(--bg-tertiary);
    padding: 40px;
    border-radius: 16px;
    margin: 40px 0;
}

.notify-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.notify-form {
    display: flex;
    gap: 12px;
    max-width: 400px;
    margin: 0 auto;
}

.notify-input {
    flex: 1;
    padding: 16px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.notify-input:focus {
    outline: none;
    border-color: var(--accent-green);
    box-shadow: 0 0 0 4px rgba(92, 140, 20, 0.1);
}

.notify-btn {
    background: var(--accent-green);
    color: var(--bg-primary); /* Intentional: white text on green button */
    padding: 16px 24px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.notify-btn:hover {
    background: var(--accent-brown);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(92, 140, 20, 0.3);
}

/* SOCIAL LINKS */
.social-links {
    margin-top: 40px;
}

.social-title {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-link {
    width: 50px;
    height: 50px;
    background: var(--bg-tertiary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--accent-brown);
    transition: all 0.3s ease;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    /* iOS touch improvements */
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    /* Better visibility on mobile */
    border: 2px solid var(--border-color);
    min-width: 50px;
    min-height: 50px;
    /* iOS centering fixes */
    position: relative;
    overflow: hidden;
    /* Ensure proper flexbox centering on iOS */
    -webkit-box-align: center;
    -webkit-box-pack: center;
    -ms-flex-align: center;
    -ms-flex-pack: center;
}

.social-link {
    background-color: var(--bg-secondary);
    border: 2px solid var(--accent-blue);
    color: var(--accent-blue);
}

.social-link svg {
    transition: all 0.3s ease;
    /* iOS centering fix */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    /* Prevent flexbox from moving the icon */
    flex-shrink: 0;
    fill: currentColor;
}

.social-link:hover {
    background-color: var(--accent-blue);
    color: var(--bg-primary); /* Intentional: white text on blue background */
    transform: translateY(-2px);
}

.social-link:hover svg {
    transform: translate(-50%, -50%) scale(1.1);
}


/* MAIN CONTENT SECTIONS */
.main-content {
    padding: 80px 0;
}

.content-section {
    background: var(--bg-secondary);
    padding: 60px 40px;
    border-radius: 24px;
    box-shadow: 0 4px 20px var(--shadow-light);
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out;
}

.section-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 30px;
    color: var(--text-primary);
    text-align: center;
}
/* Section titles directly on colored background */
body > main .section-title,
.values-section .section-title {
    color: var(--bg-primary); /* Intentional: white text on colored background with shadow */
    text-shadow: 0 2px 4px rgba(0,0,0,0.4);
}
/* Section descriptions directly on colored background */
body > main .section-description,
.values-section .section-description {
    color: var(--bg-primary); /* Intentional: white text on colored background with shadow */
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
/* Credit packs section styling */
.credit-packs-section h2 {
    color: var(--bg-primary); /* Intentional: white text on colored background with shadow */
    text-shadow: 0 2px 4px rgba(0,0,0,0.4);
}
.credit-packs-section p {
    color: var(--bg-primary); /* Intentional: white text on colored background with shadow */
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.subsection-title {
    font-size: 22px;
    font-weight: 600;
    margin: 40px 0 20px 0;
    color: var(--text-primary);
}

/* FEATURES GRID */
.features-section {
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.feature-card {
    background: var(--bg-secondary);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 40px var(--shadow-medium);
}

.feature-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-primary);
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    color: var(--text-primary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-list li::before {
    content: "✓";
    color: var(--accent-green);
    font-weight: bold;
}

/* SUPPORT GRID */
.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.support-card {
    background: var(--bg-secondary);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    cursor: pointer;
}

.support-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 40px var(--shadow-medium);
}

.support-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.support-card p {
    color: var(--text-primary);
    margin-bottom: 20px;
}

.support-card .icon {
    width: 60px;
    height: 60px;
    background: var(--accent-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--bg-primary); /* Intentional: white icon on orange background */
}

.support-card .icon .material-icons {
    font-size: 28px;
}

/* PREMIUM SECTION */
.premium-section {
    background: var(--accent-orange);
    color: var(--bg-primary); /* Intentional: white text on orange background */
    padding: 80px 0;
    text-align: center;
    border-radius: 24px;
    margin: 40px 0;
}

.premium-section h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.premium-section p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.premium-btn {
    background: var(--bg-primary);
    color: var(--accent-orange);
    padding: 16px 32px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.premium-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

/* PRICING CARDS */
.pricing-section {
    padding: 80px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(15px, 2vw, 30px);
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Subscription pricing grid - always 3 columns */
.pricing-section > .container > .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(15px, 2vw, 30px);
}

/* Credit packs pricing grid - always 4 columns */
.credit-packs-section .pricing-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(10px, 1.5vw, 20px);
    max-width: 1200px;
}

.pricing-card {
    background: var(--bg-secondary);
    padding: clamp(20px, 3vw, 40px);
    border-radius: 16px;
    box-shadow: 0 4px 20px var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 400px;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 40px var(--shadow-medium);
}

.pricing-card.featured {
    border: 2px solid var(--accent-green);
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-green);
    color: var(--bg-primary); /* Intentional: white text on green badge background */
    padding: clamp(6px, 1vw, 8px) clamp(12px, 2vw, 20px);
    border-radius: 20px;
    font-size: clamp(12px, 1.2vw, 14px);
    font-weight: 600;
    white-space: nowrap;
}

.plan-name {
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 600;
    margin-bottom: clamp(12px, 1.5vw, 16px);
    color: var(--text-primary);
}

.plan-price {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    color: var(--accent-green);
    margin-bottom: clamp(6px, 1vw, 8px);
    line-height: 1;
    transition: all 0.3s ease;
}

.plan-price.price-transitioning {
    transform: scale(0.95);
    opacity: 0.7;
}

.plan-price .currency {
    font-size: clamp(16px, 2vw, 24px);
    vertical-align: top;
    transition: opacity 0.3s ease;
}

.plan-period {
    color: var(--text-primary);
    margin-bottom: clamp(10px, 1.2vw, 15px);
    font-size: clamp(14px, 1.2vw, 16px);
    transition: all 0.3s ease;
}

.plan-description {
    color: var(--text-secondary);
    font-size: clamp(13px, 1.1vw, 15px);
    line-height: 1.4;
    margin-bottom: clamp(20px, 2.5vw, 30px);
    font-style: italic;
}

.plan-features {
    list-style: none;
    margin-bottom: clamp(20px, 2.5vw, 30px);
    text-align: left;
    flex-grow: 1;
}

.plan-features li {
    margin-bottom: clamp(8px, 1vw, 12px);
    display: flex;
    align-items: flex-start;
    gap: clamp(8px, 1vw, 12px);
    font-size: clamp(13px, 1.1vw, 15px);
    line-height: 1.4;
    color: var(--text-primary);
}

.plan-features .check-icon,
.plan-features .x-icon {
    width: clamp(16px, 1.8vw, 20px);
    height: clamp(16px, 1.8vw, 20px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-primary); /* Intentional: white icon on colored circle backgrounds */
    font-size: clamp(10px, 1vw, 12px);
    flex-shrink: 0;
    margin-top: 2px;
}

.plan-features .check-icon {
    background: var(--accent-green);
}

.plan-features .x-icon {
    background: var(--accent-orange);
}

.plan-cta {
    width: 100%;
    padding: clamp(12px, 1.5vw, 16px);
    border: none;
    border-radius: 12px;
    font-size: clamp(14px, 1.2vw, 16px);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
    text-align: center;
    margin-top: auto;
}

.plan-cta.primary {
    background: var(--accent-green);
    color: var(--bg-primary); /* Intentional: white text on green button background */
}

.plan-cta.primary:hover {
    background: var(--accent-brown);
    transform: translateY(-2px);
}

.plan-cta.secondary {
    background: transparent;
    color: var(--accent-green);
    border: 2px solid var(--accent-green);
}

.plan-cta.secondary:hover {
    background: var(--accent-green);
    color: var(--bg-primary); /* Intentional: white text on green button background */
}

/* PRICING FOOTNOTES */
.pricing-footnotes {
    text-align: center;
    margin: 40px 0;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.pricing-footnotes p {
    margin: 8px 0;
    font-size: clamp(13px, 1.1vw, 15px);
    color: var(--text-secondary);
}

/* LEGAL NAVIGATION */
.legal-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.legal-nav-btn {
    padding: 12px 24px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 25px;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.legal-nav-btn:hover {
    background: var(--accent-green);
    color: var(--bg-primary); /* Intentional: white text on green button background */
    transform: translateY(-1px);
}

.legal-nav-btn.active {
    background: var(--accent-green);
    color: var(--bg-primary); /* Intentional: white text on green button background */
    border-color: var(--accent-green);
}

.hidden {
    display: none;
}

/* Mobile legal navigation */
@media (max-width: 768px) {
    .legal-nav {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    .legal-nav-btn {
        width: 100%;
        max-width: 250px;
    }
}

/* MOBILE PLAN NAVIGATION */
.mobile-plan-nav {
    display: none;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.plan-nav-btn {
    padding: 10px 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 25px;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 80px;
}

.plan-nav-btn:hover {
    background: var(--accent-green);
    color: var(--bg-primary); /* Intentional: white text on green button background */
    transform: translateY(-1px);
}

.plan-nav-btn.active {
    background: var(--accent-green);
    color: var(--bg-primary); /* Intentional: white text on green button background */
    border-color: var(--accent-green);
}

/* BILLING TOGGLE */
.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.toggle-switch {
    position: relative;
    width: 60px;
    height: 32px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.toggle-switch.active {
    background: rgba(255, 255, 255, 0.5);
}

.toggle-slider {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 24px;
    height: 24px;
    background: var(--bg-primary);
    border-radius: 50%;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.toggle-switch.active .toggle-slider {
    transform: translateX(28px);
}

.billing-label {
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.billing-label.active {
    color: var(--bg-primary); /* Intentional: white text on dark background */
    transform: scale(1.05);
}

.savings-badge {
    background: var(--accent-green);
    color: var(--bg-primary); /* Intentional: white text on green badge background */
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 8px;
}

/* FORMS */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: var(--bg-primary);
    color: var(--text-primary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-green);
    box-shadow: 0 0 0 4px rgba(92, 140, 20, 0.1);
}

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

.submit-btn {
    background: var(--accent-green);
    color: var(--bg-primary); /* Intentional: white text on green button background */
    padding: 16px 32px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    width: 100%;
}

.submit-btn:hover {
    background: var(--accent-brown);
    transform: translateY(-2px);
}

/* FAQ SECTION */
.faq-section {
    background: var(--bg-secondary);
    padding: 80px 0;
    border-radius: 24px;
    margin: 40px 0;
    box-shadow: 0 4px 20px var(--shadow-light);
}

.faq-section h2 {
    color: var(--text-primary);
}

.faq-item {
    background: var(--bg-tertiary);
    margin-bottom: 16px;
    border-radius: 12px;
    overflow: hidden;
}

.faq-question {
    padding: 24px;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
    color: var(--text-primary);
}

.faq-question:hover {
    background: var(--border-color);
}

.faq-answer {
    padding: 0 24px 24px;
    color: var(--text-primary);
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* ICONS */
.company-logo,
.privacy-icon,
.terms-icon {
    width: 80px;
    height: 80px;
    background: var(--accent-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.privacy-icon {
    background: var(--accent-green);
}

.company-logo .material-icons,
.privacy-icon .material-icons,
.terms-icon .material-icons {
    font-size: 36px;
    color: var(--bg-primary); /* Intentional: white icon on colored background */
}

/* VALUES SECTION */
.values-section {
    margin-top: 80px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.value-card {
    background: var(--bg-secondary);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px var(--shadow-light);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px var(--shadow-medium);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.value-icon .material-icons {
    font-size: 28px;
    color: var(--bg-primary); /* Intentional: white icon on colored background */
}

.value-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.value-card p {
    color: var(--text-primary);
    font-size: 16px;
}

/* TEXT STYLES */
.privacy-text,
.terms-text {
    font-size: 16px;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.7;
}

.privacy-list,
.terms-list {
    margin: 20px 0;
    padding-left: 20px;
}

.privacy-list li,
.terms-list li {
    font-size: 16px;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.6;
}

.mission-text {
    font-size: 16px;
    color: var(--text-primary);
    margin-bottom: 40px;
    line-height: 1.7;
    text-align: left;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-description {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 40px;
    line-height: 1.7;
}

.highlight-text {
    font-weight: 600;
    color: var(--accent-brown);
}

.copyright-text,
.last-updated {
    font-size: 14px;
    color: var(--accent-green);
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

/* HIGHLIGHT BOXES */
.highlight-box {
    background: var(--bg-tertiary);
    border-left: 4px solid var(--accent-green);
    padding: 20px;
    margin: 30px 0;
    border-radius: 8px;
}

.highlight-box p {
    margin: 0;
    font-size: 16px;
    color: var(--text-primary);
    font-weight: 500;
}

.disclaimer-box {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent-orange);
    padding: 30px;
    margin: 40px 0;
    border-radius: 8px;
}

.disclaimer-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.disclaimer-text {
    font-size: 16px;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.7;
}

.disclaimer-list {
    margin: 16px 0;
    padding-left: 20px;
}

.disclaimer-list li {
    font-size: 16px;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.6;
}

.warning-box {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent-orange);
    padding: 20px;
    margin: 30px 0;
    border-radius: 8px;
}

.warning-box p {
    margin: 0;
    font-size: 16px;
    color: var(--accent-red);
    font-weight: 500;
}

/* CONTACT SECTIONS */
.contact-section {
    background: var(--accent-orange);
    color: var(--bg-primary); /* Intentional: white text on orange background */
    padding: 40px;
    border-radius: 16px;
    margin-top: 40px;
    text-align: center;
}

.contact-section h2,
.contact-section h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
}

.contact-section h2 {
    font-size: 32px;
}

.contact-section p {
    font-size: 16px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.contact-btn {
    background: var(--bg-primary);
    color: var(--accent-orange);
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

/* UPDATES TIMELINE */
.updates-section {
    padding: 80px 0;
}

.updates-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.updates-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--accent-orange);
}

.update-item {
    position: relative;
    margin-bottom: 60px;
    padding-left: 140px;
}

.update-date {
    position: absolute;
    left: 0;
    top: 0;
    min-width: 120px;
    height: auto;
    padding: 8px 12px;
    background: var(--bg-secondary);
    border: 2px solid var(--accent-orange);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--accent-orange);
    font-size: 12px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(242, 118, 46, 0.2);
}

.update-card {
    background: var(--bg-secondary);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px var(--shadow-light);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.update-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--shadow-medium);
}

.update-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.version-badge {
    background: var(--accent-green);
    color: var(--bg-primary); /* Intentional: white text on green badge background */
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.update-type {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.update-type.feature {
    background: var(--accent-green);
    color: var(--bg-primary); /* Intentional: white text on green badge background */
}

.update-type.improvement {
    background: var(--accent-orange);
    color: var(--bg-primary); /* Intentional: white text on orange badge background */
}

.update-type.bugfix {
    background: var(--accent-brown);
    color: var(--bg-primary); /* Intentional: white text on brown badge background */
}

.update-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.update-description {
    color: var(--text-primary);
    margin-bottom: 20px;
}

.update-features {
    list-style: none;
}



.update-features li {
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.feature-icon.new {
    background: var(--accent-green);
}

.feature-icon.improved {
    background: var(--accent-orange);
}

.feature-icon.fixed {
    background: var(--accent-brown);
}

/* NEWSLETTER SECTION */
.newsletter-section {
    background: var(--accent-orange);
    color: var(--bg-primary); /* Intentional: white text on orange background */
    padding: 60px 0;
    text-align: center;
    border-radius: 24px;
    margin: 40px 0;
}

.newsletter-section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
}

.newsletter-section p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    gap: 16px;
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 16px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-family: inherit;
}

.newsletter-btn {
    background: var(--bg-primary);
    color: var(--accent-orange);
    padding: 16px 24px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

/* ERROR PAGE */
.error-body {
    background: var(--bg-secondary);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-content {
    text-align: center;
    background: var(--bg-secondary);
    padding: 60px 40px;
    border-radius: 24px;
    box-shadow: 0 8px 40px var(--shadow-medium);
    animation: fadeInUp 0.8s ease-out;
}

.error-icon {
    width: 120px;
    height: 120px;
    background: var(--accent-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    animation: pulse 2s infinite;
}

.error-icon .material-icons {
    font-size: 48px;
    color: var(--bg-primary); /* Intentional: white icon on colored background */
}

.error-code {
    font-size: 72px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.error-title {
    font-size: 32px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.error-message {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 40px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.action-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 16px 32px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-primary {
    background: var(--accent-green);
    color: var(--bg-primary); /* Intentional: white text on green button background */
}

.btn-primary:hover {
    background: var(--accent-brown);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(92, 140, 20, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--accent-green);
    border: 2px solid var(--accent-green);
}

.btn-secondary:hover {
    background: var(--accent-green);
    color: var(--bg-primary); /* Intentional: white text on green button background */
    transform: translateY(-2px);
}

.helpful-links {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.helpful-links h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
}

.help-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: var(--bg-tertiary);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    font-weight: 500;
}

.help-link:hover {
    background: var(--border-color);
    transform: translateY(-2px);
}

.help-link .material-icons {
    font-size: 20px;
    color: var(--accent-green);
}

/* FOOTER */
footer {
    background: var(--overlay-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-color);
    color: var(--text-primary);
    text-align: center;
    padding: 40px 0;
    margin-top: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    margin-bottom: 20px;
    font-weight: 600;
    color: var(--text-primary);
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-green);
}

/* Social links in footer should be horizontal */
.footer-section .social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
    /* Ensure proper spacing on mobile */
    flex-wrap: wrap;
    padding: 10px;
}

/* Mobile improvements for social links */
@media (max-width: 768px) {
    .footer-section .social-links {
        gap: 20px;
        padding: 15px;
    }
    
    .social-link {
        width: 55px;
        height: 55px;
        min-width: 55px;
        min-height: 55px;
        /* Better touch targets on mobile */
        border-width: 3px;
        /* iOS specific fixes */
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        will-change: transform;
    }
    
    .social-link.instagram {
        width: 60px;
        height: 60px;
        min-width: 60px;
        min-height: 60px;
    }
    
    .social-link svg {
        width: 26px !important;
        height: 26px !important;
        /* Force absolute positioning on mobile iOS */
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        /* iOS rendering fixes */
        -webkit-transform: translate(-50%, -50%) !important;
        will-change: transform;
    }
    
    .social-link:hover svg {
        transform: translate(-50%, -50%) scale(1.1) !important;
        -webkit-transform: translate(-50%, -50%) scale(1.1) !important;
    }
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
    }

    .main-title {
        font-size: 36px;
    }

    .subtitle {
        font-size: 20px;
    }

    .description {
        font-size: 16px;
    }

    .coming-soon-content {
        padding: 60px 40px;
        margin: 20px;
        margin-top: 100px;
    }

    .content-section {
        padding: 40px 20px;
        margin: 20px;
    }

    .mobile-menu-btn {
        display: flex;
    }
    
    /* Hide regular navigation on mobile, but preserve children */
    .nav-links {
        display: none;
    }
    
    /* Show list items when mobile menu is open */
    .nav-links.mobile-menu-open {
        display: flex !important;
    }
    
    .nav-links.mobile-menu-open li {
        display: block !important;
    }
    
    .nav-links.mobile-menu-open a {
        display: flex !important;
    }
    
    /* Logo section mobile adjustments */
    .logo-section {
        gap: 12px;
    }
    
    .language-btn {
        font-size: 12px;
        padding: 6px 10px;
        min-height: 32px;
        gap: 6px;
    }
    
    .language-dropdown {
        min-width: 140px;
        right: 0;
        left: auto;
    }
    
    .language-option {
        padding: 10px 14px;
        font-size: 13px;
        min-height: 40px;
    }
    
    /* Bootstrap navbar customization */
    .navbar {
        background: var(--bg-primary) !important;
        border-bottom: 1px solid var(--border-color);
    }
    
    .navbar-brand {
        display: flex;
        align-items: center;
        font-weight: 600;
        color: var(--text-primary) !important;
    }
    
    .nav-link {
        color: var(--text-primary) !important;
        transition: color 0.3s ease;
    }
    
    .nav-link:hover {
        color: var(--accent-green) !important;
    }
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .support-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Mobile: Stack subscription cards vertically with navigation */
    .pricing-section > .container > .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 100%;
    }
    
    /* Show mobile navigation on tablets/phones */
    .mobile-plan-nav {
        display: flex;
    }
    
    /* Credit packs - force single line even on mobile */
    .credit-packs-section .pricing-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: clamp(8px, 1.5vw, 15px);
    }

    .pricing-card.featured {
        transform: none;
    }
    
    /* Make cards more compact on mobile */
    .pricing-card {
        min-height: clamp(350px, 40vh, 400px);
        padding: clamp(15px, 2.5vw, 25px);
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        padding: 30px;
    }

    .support-card {
        padding: 30px;
    }

    .notify-form {
        flex-direction: column;
        width: 100%;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .update-item {
        padding-left: 120px;
    }

    .update-date {
        min-width: 100px;
        height: auto;
        padding: 6px 10px;
        font-size: 10px;
    }

    .updates-timeline::before {
        left: 20px;
    }

    .error-content {
        padding: 40px 20px;
        margin: 20px;
    }

    .error-code {
        font-size: 56px;
    }

    .error-title {
        font-size: 24px;
    }

    .error-message {
        font-size: 16px;
    }

    .action-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .links-grid {
        grid-template-columns: 1fr;
    }

    .features-preview {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .coming-soon-content {
        padding: 40px 20px;
    }

    .logo-icon {
        width: 36px;
        height: 36px;
        background: url('resources/kitchee_logo_1024.webp') center/contain no-repeat;
    }

    .main-title {
        font-size: 28px;
    }

    /* Extra small screen optimizations for pricing cards */
    .pricing-section > .container > .pricing-grid {
        gap: 20px;
    }
    
    .pricing-card {
        min-height: auto;
        padding: clamp(20px, 4vw, 25px);
    }
    
    /* Stack credit packs on very small screens */
    .credit-packs-section .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .popular-badge {
        font-size: clamp(10px, 1vw, 12px);
        padding: clamp(4px, 0.8vw, 6px) clamp(8px, 1.5vw, 12px);
    }
    
    .plan-features li {
        font-size: clamp(11px, 1vw, 13px);
        margin-bottom: clamp(6px, 0.8vw, 8px);
    }

    .error-icon {
        width: 100px;
        height: 100px;
    }

    .error-icon .material-icons {
        font-size: 40px;
    }

    .error-code {
        font-size: 48px;
    }
}

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(92, 140, 20, 0.2);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 30px rgba(92, 140, 20, 0.4);
    }
}

/* Removed kitcheeGradient animation - no longer needed since we're using solid backgrounds */

/* Mobile menu animations for iOS */
@keyframes slideInFromTop {
    0% {
        opacity: 0;
        transform: translateY(-20px);
        -webkit-transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        -webkit-transform: translateY(0);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* ANIMATION DELAYS */
.feature-card,
.support-card,
.value-card,
.pricing-card,
.update-item {
    animation: fadeInUp 0.6s ease-out;
}

.feature-card:nth-child(2),
.support-card:nth-child(2),
.value-card:nth-child(2),
.pricing-card:nth-child(2),
.update-item:nth-child(2) {
    animation-delay: 0.1s;
}

.feature-card:nth-child(3),
.support-card:nth-child(3),
.value-card:nth-child(3),
.pricing-card:nth-child(3),
.update-item:nth-child(3) {
    animation-delay: 0.2s;
}


