/* ================================
   RESET & BASE STYLES
   ================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors - Professional Rich Blue Theme */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #e9ecef;
    --bg-google-blue: #0066CC;
    --bg-dark: #0066CC;
    --text-primary: #1a202c;
    --text-secondary: #4a5568;
    --text-light: #ffffff;
    --accent-google: #0066CC;
    --accent-google-light: #1976D2;
    --accent-google-dark: #004C99;
    --accent-sky: #1e88e5;
    --accent-sky-light: #42a5f5;
    --accent-primary: #0066CC;
    --accent-secondary: #004C99;
    --accent-teal: #0d9488;
    --accent-green: #059669;
    --accent-purple: #7c3aed;
    --border-color: #e2e8f0;
    --border-dark: rgba(255, 255, 255, 0.1);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    
    /* Gradients */
    --gradient-blue: linear-gradient(135deg, #0066CC 0%, #004C99 100%);
    --gradient-teal: linear-gradient(135deg, #0d9488 0%, #06b6d4 100%);
    --gradient-green: linear-gradient(135deg, #059669 0%, #10b981 100%);
    --gradient-purple: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 100%);
    --gradient-google: linear-gradient(135deg, #0066CC 0%, #1976D2 100%);
    --gradient-sky: linear-gradient(135deg, #0066CC 0%, #1976D2 100%);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ================================
   NAVIGATION
   ================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-google-blue);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-dark);
    box-shadow: 0 2px 10px rgba(0, 102, 204, 0.3);
    z-index: 1000;
}

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

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--text-light);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-light);
}

/* ================================
   BUTTONS
   ================================ */
.btn-primary {
    background: var(--gradient-google);
    color: #ffffff !important;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
    display: inline-block;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.4);
    background: var(--accent-google-light);
    color: #ffffff !important;
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--accent-google);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.btn-secondary:hover {
    border-color: var(--accent-google-light);
    background: rgba(0, 102, 204, 0.1);
    color: var(--accent-google);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* ================================
   HERO SECTION
   ================================ */
.hero {
    position: relative;
    padding: 8rem 0 4rem 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 102, 204, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 1.5rem auto;
    line-height: 1.8;
}

.hero-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 2rem auto;
    line-height: 1.7;
    padding: 0 1rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ================================
   PLATFORM INTRO
   ================================ */
.platform-intro {
    padding: 3rem 0;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-tag {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--gradient-google);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.section-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ================================
   BENEFITS SECTION
   ================================ */
.benefits {
    padding: 3rem 0;
    background: linear-gradient(135deg, #e8f0fe 0%, #d2e3fc 100%);
}

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

.benefit-card {
    background: var(--gradient-google);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    color: white;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 102, 204, 0.4);
}

.benefit-number {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.benefit-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: white;
}

.benefit-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* ================================
   WHY CHAZAK SECTION
   ================================ */
.why-chazak {
    padding: 3rem 0;
    background: var(--bg-primary);
}

/* ================================
   PRODUCTS GRID
   ================================ */
.products {
    padding: 3rem 0;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

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

.product-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-card:nth-child(1):hover {
    border-color: var(--accent-google);
    box-shadow: 0 20px 40px rgba(0, 102, 204, 0.25);
}

.product-card:nth-child(2):hover {
    border-color: var(--accent-teal);
    box-shadow: 0 20px 40px rgba(13, 148, 136, 0.25);
}

.product-card:nth-child(3):hover {
    border-color: var(--accent-green);
    box-shadow: 0 20px 40px rgba(5, 150, 105, 0.25);
}

.product-card:nth-child(4):hover {
    border-color: var(--accent-purple);
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.25);
}

.product-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    transition: transform 0.3s;
}

.product-card:nth-child(1) .product-icon {
    background: var(--gradient-google);
}

.product-card:nth-child(2) .product-icon {
    background: var(--gradient-teal);
}

.product-card:nth-child(3) .product-icon {
    background: var(--gradient-green);
}

.product-card:nth-child(4) .product-icon {
    background: var(--gradient-purple);
}

.product-card:hover .product-icon {
    transform: scale(1.1);
}

.product-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.product-tagline {
    color: var(--accent-google-dark);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.product-description {
    color: var(--text-secondary);
    line-height: 1.7;
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.product-link-arrow {
    color: var(--accent-google);
    font-weight: 600;
    transition: transform 0.3s;
    display: inline-block;
}

.product-card:hover .product-link-arrow {
    transform: translateX(5px);
}

/* ================================
   PRODUCT DETAIL PAGE
   ================================ */
.product-hero {
    padding: 10rem 0 4rem 0;
    background: var(--bg-secondary);
    text-align: center;
}

.product-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.product-hero .tagline {
    font-size: 1.3rem;
    color: var(--accent-google-dark);
    margin-bottom: 1.5rem;
}

.product-content {
    padding: var(--spacing-lg) 0;
}

.content-section {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
}

.content-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--accent-google-dark);
}

.content-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

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

.feature-item {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.feature-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--accent-google);
}

.feature-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--accent-google-dark);
}

.feature-item p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ================================
   CTA SECTION
   ================================ */
.cta {
    padding: 4rem 0;
    background: var(--gradient-google);
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.cta-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
}

.cta .btn-primary {
    background: white;
    color: var(--accent-google) !important;
    font-weight: 700;
}

.cta .btn-primary:hover {
    background: var(--bg-secondary);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    color: var(--accent-google) !important;
}

/* ================================
   FOOTER
   ================================ */
.footer {
    background: var(--bg-google-blue);
    padding: var(--spacing-lg) 0 var(--spacing-md) 0;
    border-top: 1px solid var(--border-dark);
    color: rgba(255, 255, 255, 0.8);
}

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

.footer-section h3, .footer-section h4 {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--text-light);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
}

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

/* ================================
   RESPONSIVE DESIGN
   ================================ */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .benefit-number {
        font-size: 3rem;
    }
    
    .content-section {
        padding: 2rem;
    }
    
    .hero {
        padding: 8rem 0 4rem 0;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .btn-large {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}