/* CSS Variables */
:root {
    --primary-blue: #7395D9;
    --secondary-blue: #5B74A6;
    --dark-blue: #034AA6;
    --accent-green: #47A61B;
    --charcoal: #0D0D0D;
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --shadow: rgba(7, 74, 166, 0.1);
    --transition: all 0.3s ease;
}

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Quicksand', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--charcoal);
    background: var(--white);
    overflow-x: hidden;
}

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

/* Banner Section */
.banner {
    width: 100%;
    background: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner-link {
    display: block;
    transition: var(--transition);
}

.banner-link:hover {
    transform: scale(1.02);
    opacity: 0.9;
}

.banner-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Header Styles */
.header {
    background: var(--white);
    box-shadow: 0 2px 20px var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.header-content {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 0;
}

.nav {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav a {
    color: var(--charcoal);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 1rem;
}

.nav a:hover {
    color: var(--primary-blue);
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav a:hover::after {
    width: 80%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--charcoal);
    cursor: pointer;
    position: absolute;
    right: 2rem;
}

/* Hero Section */
.hero {
    padding: 100px 0 80px;
    background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
    margin-top: 80px;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--secondary-blue);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* iPhone Showcase for Kitchee */
.kitchee-showcase {
    position: relative;
    max-width: 280px; /* 30% smaller than 400px */
    margin: 0 auto;
}

.kitchee-link {
    display: block;
    transition: var(--transition);
}

.kitchee-link:hover .kitchee-phone {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 35px 70px rgba(7, 74, 166, 0.4);
}

.kitchee-phone {
    width: 100%;
    height: auto;
    border-radius: 25px;
    box-shadow: 0 25px 50px rgba(7, 74, 166, 0.3);
    transition: var(--transition);
}

/* Button Styles */
.btn-primary, .btn-secondary, .btn-outline {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
}

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

.btn-primary:hover {
    background: var(--dark-blue);
    border-color: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(7, 74, 166, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--secondary-blue);
    border-color: var(--secondary-blue);
}

.btn-outline:hover {
    background: var(--secondary-blue);
    color: var(--white);
}

.btn-outline:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Products Section */
.products {
    padding: 80px 0;
    background: var(--white);
}

.products h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--charcoal);
    margin-bottom: 3rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.product-item {
    background: var(--white);
    border: 1px solid rgba(115, 149, 217, 0.3);
    border-radius: 15px;
    padding: 2.5rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.product-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-green));
    transform: translateX(-100%);
    transition: var(--transition);
}

.product-item:hover::before {
    transform: translateX(0);
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px var(--shadow);
}

.product-item.coming-soon {
    opacity: 0.7;
}

.product-content h3 {
    font-size: 1.5rem;
    color: var(--charcoal);
    margin-bottom: 1rem;
}

.product-content p {
    color: var(--secondary-blue);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 80px 0;
    background: var(--light-gray);
}

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

.about h2 {
    font-size: 2.5rem;
    color: var(--charcoal);
    margin-bottom: 2rem;
}

.about p {
    font-size: 1.1rem;
    color: var(--secondary-blue);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* Footer */
.footer {
    background: var(--charcoal);
    color: var(--white);
    padding: 3rem 0 2rem;
}

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

.footer-section h3 {
    color: var(--accent-green);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p, .footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    line-height: 1.6;
}

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

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

/* Support Page Specific Styles */
.support-hero {
    text-align: center;
    padding: 120px 0 60px;
}

.support-options {
    padding: 60px 0;
    background: var(--white);
}

.support-options h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--charcoal);
    margin-bottom: 3rem;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.support-card {
    background: var(--white);
    border: 1px solid rgba(115, 149, 217, 0.3);
    border-radius: 15px;
    padding: 2.5rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.support-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-green));
    transform: translateX(-100%);
    transition: var(--transition);
}

.support-card:hover::before {
    transform: translateX(0);
}

.support-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px var(--shadow);
}

.support-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.support-card h3 {
    font-size: 1.5rem;
    color: var(--charcoal);
    margin-bottom: 1rem;
}

.support-card p {
    color: var(--secondary-blue);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.faq {
    padding: 60px 0;
    background: var(--light-gray);
}

.faq h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--charcoal);
    margin-bottom: 3rem;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--charcoal);
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(115, 149, 217, 0.1);
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--primary-blue);
    transition: var(--transition);
}

.faq-item.active .faq-question::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--secondary-blue);
    line-height: 1.6;
    margin: 0;
}

.faq-answer a {
    color: var(--primary-blue);
    text-decoration: none;
}

.faq-answer a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .banner-image {
        max-width: 100%;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem 2rem;
        box-shadow: 0 5px 15px var(--shadow);
    }
    
    .nav.active {
        display: flex;
    }
    
    .hero {
        margin-top: 60px;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .support-grid {
        grid-template-columns: 1fr;
    }
    
    .support-card {
        padding: 2rem;
    }
    
    .faq-question {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .faq-question::after {
        right: 1rem;
    }
    
    .faq-answer p {
        padding: 0 1rem 1rem;
    }
    
    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .banner-image {
        max-width: 100%;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .btn-primary, .btn-secondary, .btn-outline {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .kitchee-showcase {
        max-width: 210px; /* 30% smaller than 300px */
    }
}