/* ============================================
   StretchedMindz - Business Website
   Brand: #4F46E5 (indigo) → #06B6D4 (cyan)
   ============================================ */

:root {
    --color-indigo: #4F46E5;
    --color-cyan: #06B6D4;
    --color-indigo-light: #6366F1;
    --color-cyan-light: #22D3EE;
    --color-dark: #111827;
    --color-gray: #6B7280;
    --color-gray-light: #9CA3AF;
    --color-bg: #F9FAFB;
    --color-white: #FFFFFF;
    --gradient-brand: linear-gradient(135deg, var(--color-indigo) 0%, var(--color-cyan) 100%);
    --gradient-subtle: linear-gradient(135deg, rgba(79, 70, 229, 0.05) 0%, rgba(6, 182, 212, 0.05) 100%);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --radius: 12px;
    --radius-lg: 16px;
    --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Instrument Serif', Georgia, serif;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-dark);
    background: var(--color-white);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ============================================
   Header & Navigation
   ============================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 44px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--color-indigo);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-dark);
    border-radius: 2px;
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding-top: 72px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-subtle);
    z-index: 0;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(79, 70, 229, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 60%;
    height: 100%;
    background: radial-gradient(ellipse, rgba(6, 182, 212, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 400;
    line-height: 1.2;
    color: var(--color-dark);
    max-width: 700px;
    margin-bottom: 1.25rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--color-gray);
    max-width: 560px;
    margin-bottom: 2rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ============================================
   Buttons
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius);
    transition: all 0.2s;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--gradient-brand);
    color: var(--color-white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--color-white);
    color: var(--color-indigo);
    border-color: var(--color-indigo);
}

.btn-secondary:hover {
    background: rgba(79, 70, 229, 0.05);
}

.btn-outline {
    background: transparent;
    color: var(--color-indigo);
    border-color: var(--color-indigo);
}

.btn-outline:hover {
    background: rgba(79, 70, 229, 0.08);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* ============================================
   Sections
   ============================================ */

.section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 400;
    color: var(--color-dark);
    margin-bottom: 0.75rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-gray);
}

/* ============================================
   About Section
   ============================================ */

.about {
    background: var(--color-bg);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.about-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.2s, transform 0.2s;
}

.about-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.about-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.25rem;
    color: var(--color-indigo);
}

.about-icon svg {
    width: 100%;
    height: 100%;
}

.about-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.about-card p {
    color: var(--color-gray);
    font-size: 0.95rem;
}

/* ============================================
   Products Section
   ============================================ */

.products {
    background: var(--color-white);
}

.product-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 3rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.product-card:last-of-type {
    border-bottom: none;
}

.product-card--alt .product-content {
    order: 2;
}

.product-card--alt .product-gallery {
    order: 1;
}

.product-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-indigo);
    background: rgba(79, 70, 229, 0.1);
    border-radius: 6px;
    margin-bottom: 1rem;
}

.product-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.product-description {
    color: var(--color-gray);
    margin-bottom: 1.5rem;
}

.product-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.product-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-dark);
}

.product-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 6px;
    height: 6px;
    background: var(--gradient-brand);
    border-radius: 50%;
}

.product-gallery-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--color-bg);
}

.product-gallery-main img {
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: contain;
    display: block;
}

.product-gallery-thumbs {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.product-gallery-thumbs img {
    width: calc(33.333% - 0.5rem);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: box-shadow 0.2s;
}

.product-gallery-thumbs img:hover {
    box-shadow: var(--shadow-md);
}

/* ============================================
   Contact Section
   ============================================ */

.contact {
    background: var(--gradient-subtle);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-content .section-title {
    text-align: left;
    margin-bottom: 1rem;
}

.contact-content p {
    color: var(--color-gray);
    margin-bottom: 1.5rem;
}

.contact-details {
    margin-top: 1.5rem;
}

.contact-details p {
    margin-bottom: 0.5rem;
}

.contact-details a {
    color: var(--color-indigo);
    text-decoration: none;
    font-weight: 500;
}

.contact-details a:hover {
    text-decoration: underline;
}

/* ============================================
   Footer
   ============================================ */

.footer {
    background: var(--color-dark);
    color: var(--color-gray-light);
    padding: 3rem 0;
}

.footer-content {
    text-align: center;
}

.footer-logo {
    height: 36px;
    width: auto;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.footer-tagline {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.footer-copy {
    font-size: 0.85rem;
    opacity: 0.7;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 900px) {
    .product-card,
    .product-card--alt {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-card--alt .product-content,
    .product-card--alt .product-gallery {
        order: unset;
    }

    .product-gallery-main img {
        max-height: 400px;
        object-fit: contain;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .contact-content .section-title {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--color-white);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .section {
        padding: 3rem 0;
    }

    .product-gallery-thumbs {
        display: none;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 36px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }
}
