/* ====================================
   MAZYTE STUDIO - Website
   Modern, Clean, Premium Design
   ==================================== */

/* CSS Variables */
:root {
    /* Color Palette */
    --color-primary: #3b4a3f;
    --color-primary-light: #7a9a7e;
    --color-primary-lighter: #8fa99a;
    --color-accent: #a6d5c8;
    --color-bg: #f6f7f5;
    
    /* Derived Colors */
    --color-primary-dark: #2d3a32;
    --color-secondary: #7a9a7e;
    
    /* Neutrals */
    --color-white: #FFFFFF;
    --color-gray-50: #F9FAFB;
    --color-gray-100: #F3F4F6;
    --color-gray-200: #E5E7EB;
    --color-gray-300: #D1D5DB;
    --color-gray-400: #9CA3AF;
    --color-gray-500: #6B7280;
    --color-gray-600: #4B5563;
    --color-gray-700: #374151;
    --color-gray-800: #1F2937;
    --color-gray-900: #111827;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #3b4a3f 0%, #7a9a7e 100%);
    --gradient-light: linear-gradient(135deg, #8fa99a 0%, #a6d5c8 100%);
    --gradient-soft: linear-gradient(135deg, #a6d5c8 0%, #f6f7f5 100%);
    --gradient-dark: linear-gradient(135deg, #3b4a3f 0%, #2d3a32 100%);
    --gradient-products: linear-gradient(135deg, #3b4a3f 0%, #2d3a32 100%);
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    --spacing-4xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 40px rgba(255, 107, 157, 0.3);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 200ms ease;
    --transition-slow: 300ms ease;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-family);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-gray-700);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* ====================================
   NAVIGATION
   ==================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(246, 247, 245, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(59, 74, 63, 0.1);
    transition: var(--transition-base);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--color-gray-900);
}

.logo-image {
    height: 2rem;
    width: auto;
    display: block;
    object-fit: contain;
    flex-shrink: 0;
}

.nav-logo img {
    visibility: visible;
    opacity: 1;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
}

.nav-links a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-gray-600);
    transition: var(--transition-fast);
}

.nav-links a:hover {
    color: var(--color-gray-900);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--spacing-sm);
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--color-gray-700);
    border-radius: 2px;
    transition: var(--transition-fast);
}

/* ====================================
   HERO SECTION
   ==================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 72px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 100% at 0% 50%, rgba(166, 213, 200, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse 60% 80% at 100% 100%, rgba(143, 169, 154, 0.25) 0%, transparent 50%),
        radial-gradient(ellipse 50% 50% at 80% 20%, rgba(122, 154, 126, 0.2) 0%, transparent 50%),
        linear-gradient(180deg, #f6f7f5 0%, #ffffff 100%);
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-4xl) var(--spacing-lg);
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2.5rem, 4.5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: var(--spacing-lg);
    letter-spacing: -0.01em;
    color: #1a1a2e;
}

.hero-subtitle {
    display: block;
    font-size: inherit;
    font-weight: 800;
    font-style: italic;
    background: linear-gradient(90deg, #3b4a3f 0%, #7a9a7e 50%, #8fa99a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 0;
}

.hero-description {
    font-size: 1.0625rem;
    color: #4a4a5a;
    margin-bottom: var(--spacing-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 12px;
    transition: var(--transition-base);
    text-decoration: none;
}

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

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--color-white);
    color: var(--color-primary);
    border: 1.5px solid var(--color-primary-light);
}

.btn-secondary:hover {
    background: var(--color-bg);
    border-color: var(--color-primary);
    color: var(--color-primary-dark);
}

.btn-icon {
    width: 18px;
    height: 18px;
}

/* ====================================
   SECTION STYLES
   ==================================== */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.section-badge {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-md);
    background: var(--gradient-primary);
    color: var(--color-white);
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-badge.light {
    background: rgba(255, 255, 255, 0.2);
    color: var(--color-white);
    backdrop-filter: blur(10px);
}

.section-badge.light {
    background: rgba(255, 255, 255, 0.2);
    color: var(--color-white);
}

.section-title {
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: var(--color-gray-900);
    letter-spacing: -0.01em;
}

.section-title.light {
    color: var(--color-white);
}

.section-description {
    font-size: 1.0625rem;
    color: var(--color-gray-600);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.section-description.light {
    color: rgba(255, 255, 255, 0.9);
}

/* ====================================
   ABOUT SECTION
   ==================================== */
.about-section {
    padding: var(--spacing-4xl) 0;
    background: var(--color-white);
}

.value-card {
    background: var(--color-white);
    border-color: var(--color-primary-lighter);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-3xl);
}

.value-card {
    padding: var(--spacing-xl);
    background: var(--color-white);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--color-gray-200);
    transition: var(--transition-base);
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.value-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
}

.value-card:hover {
    border-color: var(--color-primary-light);
}

.value-icon svg {
    width: 24px;
    height: 24px;
}

.value-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--color-gray-900);
}

.value-card p {
    color: var(--color-gray-600);
    line-height: 1.6;
}

/* ====================================
   PRODUCTS SECTION
   ==================================== */
.products-section {
    position: relative;
    padding: var(--spacing-4xl) 0;
    overflow: hidden;
}

.products-background {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.products-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #3b4a3f 0%, #7a9a7e 50%, #8fa99a 100%);
}

.product-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: var(--spacing-3xl);
    margin-top: var(--spacing-3xl);
}

.product-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.product-info {
    color: var(--color-white);
}

.product-badge {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-md);
    background: rgba(255, 255, 255, 0.2);
    color: var(--color-white);
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: var(--spacing-md);
}

.product-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    color: var(--color-white);
}

.product-description {
    font-size: 1.0625rem;
    line-height: 1.7;
    margin-bottom: var(--spacing-xl);
    color: rgba(255, 255, 255, 0.9);
}

.product-features {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.product-feature {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: rgba(255, 255, 255, 0.9);
}

.product-feature svg {
    width: 20px;
    height: 20px;
    color: var(--color-accent);
}

.product-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    position: relative;
}

.phone-frame {
    position: relative;
    width: 280px;
    height: 570px;
    background: #0a0a0a;
    border-radius: 50px;
    padding: 5px;
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.15),
        0 12px 24px -8px rgba(0, 0, 0, 0.1);
    border: 0.5px solid #2a2a2a;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--color-white);
    border-radius: 46px;
    overflow: hidden;
}

.phone-screenshot {
    width: 100%;
    height: 100%;
    display: block;
}

.product-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-light);
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1.25rem;
}

.coming-soon {
    text-align: center;
    margin-top: var(--spacing-3xl);
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
}

/* ====================================
   STAY CONNECTED SECTION
   ==================================== */
.connect-section {
    padding: var(--spacing-4xl) 0;
    background: var(--color-bg);
}

.connect-content {
    max-width: 600px;
    margin: 0 auto;
}

.connect-links {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
}

.connect-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    padding: var(--spacing-xl);
    background: var(--color-white);
    border: 1px solid var(--color-primary-lighter);
    border-radius: var(--radius-xl);
    transition: var(--transition-base);
    text-decoration: none;
    color: var(--color-gray-900);
    min-width: 280px;
}

.connect-link:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.connect-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    flex-shrink: 0;
}

.connect-icon svg {
    width: 28px;
    height: 28px;
}

.connect-text h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
    color: var(--color-gray-900);
}

.connect-text p {
    font-size: 0.9375rem;
    color: var(--color-gray-600);
}


/* ====================================
   FOOTER
   ==================================== */
.footer {
    background: var(--color-primary);
    color: var(--color-bg);
    padding: var(--spacing-3xl) 0 var(--spacing-xl);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
    gap: var(--spacing-xl);
}

.footer-brand {
    flex: 1;
    min-width: 200px;
}

.footer-logo {
    font-size: 1.125rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-sm);
}

.footer-logo-image {
    height: 1.5rem;
    width: auto;
    display: block;
    object-fit: contain;
}

.footer-tagline {
    font-size: 0.875rem;
    opacity: 0.6;
    margin-top: var(--spacing-xs);
}

.footer-links {
    display: flex;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
    align-items: center;
}

.footer-links a {
    font-size: 0.875rem;
    color: var(--color-accent);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-bg);
}

.footer-social-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.social-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.footer-bottom {
    padding-top: var(--spacing-xl);
    text-align: center;
    border-top: 1px solid rgba(166, 213, 200, 0.2);
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--color-primary-lighter);
}

/* ====================================
   RESPONSIVE DESIGN
   ==================================== */
@media (max-width: 1024px) {
    .product-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .product-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }

    .hero-container {
        padding: var(--spacing-2xl) var(--spacing-lg);
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

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

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

    .product-card {
        padding: var(--spacing-xl);
    }

    .phone-frame {
        width: 240px;
        height: 490px;
    }

    .footer-content {
        flex-direction: column;
    }
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: white;
        padding: 1.5rem;
        flex-direction: column;
        gap: 1rem;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .nav-links.mobile-open {
        display: flex;
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}
