/* ============================================
   WAVE ED AI - MAIN STYLESHEET
   ============================================ */

/* ===== CSS VARIABLES ===== */
:root {
    /* Primary Colors */
    --navy-blue: #0A2463;
    --cyan-blue: #3BCEEF;
    --wave-blue: #1E88E5;
    
    /* Secondary Colors */
    --orange: #FB8500;
    --yellow: #FFB703;
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    --black: #000000;
    
    /* Subject Colors */
    --physics-purple: #8B5CF6;
    --chemistry-green: #10B981;
    --biology-red: #EF4444;
    --math-blue: #3B82F6;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--navy-blue) 0%, var(--cyan-blue) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--orange) 0%, var(--yellow) 100%);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --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);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-normal: 300ms ease-in-out;
    --transition-slow: 500ms ease-in-out;
    
    /* Z-index */
    --z-header: 1000;
    --z-dropdown: 1100;
    --z-modal: 1200;
    --z-toast: 1300;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--gray-900);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
}

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

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 var(--spacing-xl);
    }
}

/* ===== HEADER & NAVIGATION ===== */
.header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: var(--z-header);
}

.navbar {
    padding: var(--spacing-md) 0;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: none;
}

@media (min-width: 1024px) {
    .nav-menu {
        display: flex;
        align-items: center;
        gap: var(--spacing-xl);
        flex: 1;
        justify-content: space-between;
        margin-left: var(--spacing-xl);
    }
}

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

.nav-link {
    font-weight: 500;
    color: var(--gray-700);
    padding: var(--spacing-xs) var(--spacing-sm);
    transition: color var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-link:hover {
    color: var(--cyan-blue);
}

.nav-dropdown {
    position: relative;
}

.dropdown-arrow {
    font-size: 0.75rem;
    transition: transform var(--transition-fast);
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-lg);
    padding: var(--spacing-sm);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-normal);
    z-index: var(--z-dropdown);
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: var(--spacing-sm);
    border-radius: var(--radius-md);
    color: var(--gray-700);
    transition: all var(--transition-fast);
}

.dropdown-menu a:hover {
    background: var(--gray-50);
    color: var(--cyan-blue);
    padding-left: var(--spacing-md);
}

.nav-cta {
    display: flex;
    gap: var(--spacing-sm);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    background: none;
    border: none;
    padding: var(--spacing-xs);
    cursor: pointer;
}

@media (min-width: 1024px) {
    .mobile-menu-toggle {
        display: none;
    }
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--navy-blue);
    transition: all var(--transition-fast);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu */
@media (max-width: 1023px) {
    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: var(--shadow-lg);
        padding: var(--spacing-lg);
        gap: var(--spacing-md);
    }
    
    .nav-links {
        flex-direction: column;
        width: 100%;
    }
    
    .nav-link {
        width: 100%;
        padding: var(--spacing-sm);
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        margin-left: var(--spacing-md);
        display: none;
    }
    
    .nav-dropdown.active .dropdown-menu {
        display: block;
    }
    
    .nav-cta {
        flex-direction: column;
        width: 100%;
    }
}

/* ===== BUTTONS ===== */
.btn-primary,
.btn-secondary,
.btn-tertiary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.5rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: var(--font-size-base);
    transition: all var(--transition-fast);
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-secondary {
    background: var(--white);
    color: var(--navy-blue);
    border-color: var(--gray-300);
}

.btn-secondary:hover {
    border-color: var(--cyan-blue);
    color: var(--cyan-blue);
}

.btn-tertiary {
    background: transparent;
    color: var(--cyan-blue);
}

.btn-tertiary:hover {
    background: var(--gray-50);
}

.btn-large {
    padding: 0.875rem 2rem;
    font-size: var(--font-size-lg);
}

.btn-block {
    width: 100%;
}

.btn-link {
    color: var(--cyan-blue);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-link:hover {
    color: var(--navy-blue);
}

/* ============================================
   HERO SECTION - MOBILE RESPONSIVE
   ============================================ */

.hero {
    background: linear-gradient(135deg, #0A2463 0%, #3BCEEF 100%);
    color: white;
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

/* Background pattern/decoration */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('/static/images/hero-pattern.svg') no-repeat center right;
    background-size: cover;
    opacity: 0.1;
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Left Content */
.hero-left {
    animation: fadeInLeft 0.8s ease-out;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-title .highlight {
    background: linear-gradient(90deg, #3BCEEF, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.95;
    font-weight: 400;
}

.hero-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #3BCEEF;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-buttons .btn-primary {
    background: white;
    color: #0A2463;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-buttons .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.hero-buttons .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s;
}

.hero-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Right Content - Image/Illustration */
.hero-right {
    position: relative;
    animation: fadeInRight 0.8s ease-out;
}

.hero-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: float 3s ease-in-out infinite;
}

/* Floating animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Trust Indicators (optional - if you have them) */
.hero-trust {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    opacity: 0.9;
}

.trust-icon {
    font-size: 1.2rem;
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

/* Large Tablets and Small Desktops */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
}

/* Tablets */
@media (max-width: 1024px) {
    .hero {
        padding: 80px 0 60px;
    }
    
    .hero-content {
        gap: 40px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .stat-number {
        font-size: 1.6rem;
    }
}

/* Large Phones and Small Tablets */
@media (max-width: 768px) {
    .hero {
        padding: 60px 0 40px;
    }
    
    /* Stack content vertically on mobile */
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-left {
        order: 2; /* Text comes after image on mobile */
    }
    
    .hero-right {
        order: 1; /* Image comes first on mobile */
    }
    
    .hero-badge {
        font-size: 0.85rem;
        padding: 6px 16px;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 25px;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 20px;
        margin-bottom: 30px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    .hero-buttons {
        justify-content: center;
        gap: 12px;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        padding: 12px 25px;
        font-size: 0.95rem;
    }
    
    .hero-image {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .hero-trust {
        flex-direction: column;
        gap: 15px;
        margin-top: 25px;
        padding-top: 25px;
    }
}

/* Medium Phones */
@media (max-width: 640px) {
    .hero {
        padding: 50px 0 30px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .hero-stats {
        gap: 15px;
    }
    
    .stat-number {
        font-size: 1.3rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .hero-image {
        max-width: 350px;
    }
}

/* Small Phones (iPhone SE, older Android) */
@media (max-width: 480px) {
    .hero {
        padding: 40px 0 30px;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 5px 14px;
    }
    
    .hero-title {
        font-size: 1.5rem;
        line-height: 1.4;
        margin-bottom: 12px;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 20px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 25px;
        align-items: center;
    }
    
    .stat-item {
        text-align: center;
        width: 100%;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    /* Stack buttons vertically on very small screens */
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
        font-size: 0.9rem;
    }
    
    .hero-image {
        max-width: 280px;
    }
    
    .hero-trust {
        gap: 12px;
    }
    
    .trust-item {
        font-size: 0.85rem;
    }
}

/* Extra Small Phones (< 375px) */
@media (max-width: 375px) {
    .hero {
        padding: 30px 0 25px;
    }
    
    .hero-title {
        font-size: 1.4rem;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
    }
    
    .hero-stats {
        gap: 12px;
    }
    
    .stat-number {
        font-size: 1.3rem;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        padding: 12px 18px;
        font-size: 0.85rem;
    }
    
    .hero-image {
        max-width: 250px;
    }
}

/* Very Small Phones (< 320px - Galaxy Fold, etc) */
@media (max-width: 320px) {
    .hero {
        padding: 25px 0 20px;
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: 4px 12px;
    }
    
    .hero-title {
        font-size: 1.25rem;
        margin-bottom: 10px;
    }
    
    .hero-subtitle {
        font-size: 0.8rem;
        margin-bottom: 18px;
    }
    
    .stat-number {
        font-size: 1.2rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        padding: 10px 16px;
        font-size: 0.8rem;
        gap: 6px;
    }
    
    .hero-image {
        max-width: 220px;
    }
}

/* Landscape Mode for Phones */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        padding: 40px 0 30px;
    }
    
    .hero-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        text-align: left;
    }
    
    .hero-left {
        order: 1;
    }
    
    .hero-right {
        order: 2;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .hero-stats {
        margin-bottom: 20px;
    }
    
    .hero-image {
        max-width: 250px;
    }
}
/* ===== SECTION STYLES ===== */
section {
    padding: var(--spacing-3xl) 0;
}

.section-header {
    margin-bottom: var(--spacing-2xl);
}

.section-header.center {
    text-align: center;
}

.section-title {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--navy-blue);
    margin-bottom: var(--spacing-md);
}

@media (min-width: 768px) {
    .section-title {
        font-size: var(--font-size-4xl);
    }
}

.section-subtitle {
    font-size: var(--font-size-lg);
    color: var(--gray-600);
}

/* ===== PROBLEM-SOLUTION SECTION ===== */
.problem-solution {
    background: var(--white);
}

.comparison-grid {
    display: grid;
    gap: var(--spacing-xl);
}

@media (min-width: 768px) {
    .comparison-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.comparison-card {
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.comparison-card.challenge {
    background: linear-gradient(135deg, #FEE2E2 0%, #FECACA 100%);
}

.comparison-card.solution {
    background: linear-gradient(135deg, #D1FAE5 0%, #A7F3D0 100%);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.comparison-card h3 {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.problem-list,
.solution-list {
    list-style: none;
    padding-left: 0;
}

.problem-list li,
.solution-list li {
    padding: var(--spacing-sm) 0;
    padding-left: var(--spacing-xl);
    position: relative;
}

.problem-list li::before {
    content: "❌";
    position: absolute;
    left: 0;
}

.solution-list li::before {
    content: "✅";
    position: absolute;
    left: 0;
}

/* ===== FEATURES SECTION ===== */
.features-section {
    background: var(--gray-50);
}

.features-grid {
    display: grid;
    gap: var(--spacing-lg);
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    margin-bottom: var(--spacing-md);
}

.feature-card h3 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--navy-blue);
    margin-bottom: var(--spacing-sm);
}

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

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    gap: var(--spacing-lg);
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.testimonial-card {
    background: var(--gray-50);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    object-fit: cover;
}

.testimonial-info h4 {
    font-weight: 600;
    color: var(--navy-blue);
    margin-bottom: 0.25rem;
}

.testimonial-info p {
    font-size: var(--font-size-sm);
    color: var(--gray-600);
}

.testimonial-exam {
    display: inline-block;
    background: var(--cyan-blue);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 600;
    margin-top: 0.25rem;
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    margin-left: auto;
}

.testimonial-quote {
    font-style: italic;
    color: var(--gray-700);
    line-height: 1.7;
}

/* ===== PARTNER BANNER ===== */
.partner-banner {
    background: var(--gradient-secondary);
    color: var(--white);
}

.partner-banner-content {
    display: grid;
    gap: var(--spacing-xl);
    align-items: center;
}

@media (min-width: 768px) {
    .partner-banner-content {
        grid-template-columns: 2fr 1fr;
    }
}

.partner-banner h2 {
    font-size: var(--font-size-3xl);
    margin-bottom: var(--spacing-md);
}

.partner-banner p {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-md);
    opacity: 0.95;
}

.partner-benefits {
    list-style: none;
    padding-left: 0;
}

.partner-benefits li {
    padding: var(--spacing-sm) 0;
    font-size: var(--font-size-lg);
}

.partner-banner-cta {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    align-items: flex-start;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: var(--gradient-primary);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--spacing-md);
}

.cta-content p {
    font-size: var(--font-size-lg);
    opacity: 0.9;
    margin-bottom: var(--spacing-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.cta-note {
    font-size: var(--font-size-sm);
    opacity: 0.8;
}

/* ===== CONTACT PAGE ===== */
.page-header {
    background: var(--gradient-primary);
    color: var(--white);
    padding: var(--spacing-2xl) 0;
    text-align: center;
}

.page-title {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    margin-bottom: var(--spacing-sm);
}

.page-subtitle {
    font-size: var(--font-size-xl);
    opacity: 0.9;
}

.contact-section {
    padding: var(--spacing-3xl) 0;
}

.contact-grid {
    display: grid;
    gap: var(--spacing-3xl);
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 2fr 1fr;
    }
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.contact-form-wrapper h2 {
    font-size: var(--font-size-2xl);
    color: var(--navy-blue);
    margin-bottom: var(--spacing-sm);
}

.form-description {
    color: var(--gray-600);
    margin-bottom: var(--spacing-lg);
}

.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: var(--spacing-xs);
}

.required {
    color: var(--biology-red);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-size: var(--font-size-base);
    font-family: inherit;
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--cyan-blue);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: var(--biology-red);
}

.form-error {
    display: block;
    color: var(--biology-red);
    font-size: var(--font-size-sm);
    margin-top: 0.25rem;
}

.character-count {
    display: block;
    text-align: right;
    font-size: var(--font-size-sm);
    color: var(--gray-500);
    margin-top: 0.25rem;
}

.form-message {
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    margin-top: var(--spacing-md);
    font-weight: 500;
}

.form-message.success {
    background: #D1FAE5;
    color: #065F46;
    border: 1px solid #10B981;
}

.form-message.error {
    background: #FEE2E2;
    color: #991B1B;
    border: 1px solid #EF4444;
}

/* Spinner Animation */
.spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Contact Info */
.contact-info {
    background: var(--gray-50);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
}

.contact-info h2 {
    font-size: var(--font-size-2xl);
    color: var(--navy-blue);
    margin-bottom: var(--spacing-sm);
}

.contact-info > p {
    color: var(--gray-600);
    margin-bottom: var(--spacing-lg);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.contact-method {
    display: flex;
    gap: var(--spacing-md);
}

.method-icon {
    width: 48px;
    height: 48px;
    background: var(--white);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan-blue);
    flex-shrink: 0;
}

.method-details h3 {
    font-size: var(--font-size-lg);
    color: var(--navy-blue);
    margin-bottom: 0.25rem;
}

.method-details p {
    color: var(--gray-600);
    margin: 0.25rem 0;
}

.method-details a {
    color: var(--cyan-blue);
    font-weight: 600;
}

.method-details a:hover {
    text-decoration: underline;
}

.response-time {
    font-size: var(--font-size-sm);
    color: var(--gray-500);
    font-style: italic;
}

.social-links-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.social-links-contact a {
    color: var(--cyan-blue);
    font-weight: 500;
}

.social-links-contact a:hover {
    text-decoration: underline;
}

.contact-cta {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
}

.contact-cta h3 {
    font-size: var(--font-size-lg);
    color: var(--navy-blue);
    margin-bottom: 0.5rem;
}

.contact-cta p {
    color: var(--gray-600);
    margin-bottom: var(--spacing-md);
}

/* FAQ Preview */
.faq-preview {
    background: var(--gray-50);
}

.faq-grid {
    display: grid;
    gap: var(--spacing-lg);
}

@media (min-width: 768px) {
    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.faq-item {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.faq-item h3 {
    font-size: var(--font-size-lg);
    color: var(--navy-blue);
    margin-bottom: var(--spacing-sm);
}

.faq-item p {
    color: var(--gray-600);
    line-height: 1.7;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: var(--spacing-3xl) 0 var(--spacing-lg);}

.footer-content {
display: grid;
gap: var(--spacing-xl);
margin-bottom: var(--spacing-2xl);
}

@media (min-width: 768px) {
.footer-content {
grid-template-columns: 1.5fr repeat(4, 1fr);
}
}

.footer-logo {
margin-bottom: var(--spacing-md);
}

.footer-description {
color: var(--gray-400);
line-height: 1.7;
margin-bottom: var(--spacing-md);
}

.social-links {
display: flex;
gap: var(--spacing-md);
}

.social-links a {
width: 40px;
height: 40px;
background: rgba(255, 255, 255, 0.1);
border-radius: var(--radius-md);
display: flex;
align-items: center;
justify-content: center;
color: var(--gray-300);
transition: all var(--transition-fast);
}

.social-links a:hover { background: var(--cyan-blue); color: var(--white); transform: translateY(-2px); }

.footer-title {
font-size: var(--font-size-lg);
font-weight: 600;
color: var(--white);
margin-bottom: var(--spacing-md);
}

.footer-links li {
margin-bottom: var(--spacing-sm);
}

.footer-links a {
color: var(--gray-400);
transition: color var(--transition-fast);
}

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

.footer-bottom {
border-top: 1px solid rgba(255, 255, 255, 0.1);
padding-top: var(--spacing-lg);
}

.footer-bottom-content {
display: flex;
flex-direction: column;
gap: var(--spacing-md);
align-items: center;
text-align: center;
}

@media (min-width: 768px) {
.footer-bottom-content {
flex-direction: row;
justify-content: space-between;
text-align: left;
}
}

.copyright {
color: var(--gray-400);
font-size: var(--font-size-sm);
}

.footer-legal {
display: flex;
flex-wrap: wrap;
gap: var(--spacing-md);
font-size: var(--font-size-sm);
}

.footer-legal a {
color: var(--gray-400);
transition: color var(--transition-fast);
}

.footer-legal a:hover { color: var(--cyan-blue); }

/* ===== UTILITY CLASSES ===== */
.text-center {
text-align: center;
}

.text-left {
text-align: left;
}

.text-right {
text-align: right;
}

/* ===== RESPONSIVE UTILITIES ===== */
@media (max-width: 767px) {
.hide-mobile {
display: none;
}
}

@media (min-width: 768px) {
.hide-desktop {
display: none;
}
}
/* Subject Page Headers */
.physics-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.chemistry-header {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.biology-header {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.subject-header {
    padding: 80px 0;
    color: white;
    text-align: center;
}

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

.subject-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.subject-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 40px 0;
}

.stat-item {
    text-align: center;
}

.stat-item strong {
    display: block;
    font-size: 2rem;
    margin-bottom: 5px;
}

.stat-item span {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Syllabus Section */
.syllabus-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.syllabus-accordion {
    max-width: 1000px;
    margin: 0 auto;
}

.syllabus-topic {
    background: white;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
}

.topic-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: #f8f9fa;
    cursor: pointer;
    transition: background 0.3s;
}

.topic-header:hover {
    background: #e9ecef;
}

.topic-header h3 {
    margin: 0;
    font-size: 1.3rem;
}

.topic-count {
    background: #007bff;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.topic-content {
    padding: 30px;
    display: none;
}

.syllabus-topic.active .topic-content {
    display: block;
}

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

.chapter-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.chapter-item h4 {
    margin-top: 0;
    color: #007bff;
    margin-bottom: 15px;
}

.chapter-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.chapter-item li {
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
}

.chapter-item li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #007bff;
}

/* AI Features Grid */
.ai-features-section {
    padding: 80px 0;
}

.ai-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.ai-feature {
    text-align: center;
    padding: 30px;
}

.ai-feature-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.ai-feature h3 {
    margin-bottom: 10px;
}

/* Subject-Specific CTA */
.physics-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.chemistry-cta {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.biology-cta {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

/* Responsive */
@media (max-width: 768px) {
    .subject-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .chapter-grid {
        grid-template-columns: 1fr;
    }
    
    .topic-header {
        padding: 15px 20px;
    }
    
    .topic-header h3 {
        font-size: 1.1rem;
    }
}
/* ============================================
   PARTNER PROGRAM PAGE STYLES
   ============================================ */

.partner-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 0;
    color: white;
    text-align: center;
    position: relative; /* ✅ This is already correct */
}

/* Partner Login Button - Top Right */
.partner-login-link {
    position: absolute;
    top: 30px;
    right: 30px;
    z-index: 10;
}

.btn-login {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.btn-login:hover {
    background: white;
    color: #667eea;
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.login-icon {
    font-size: 1.1rem;
}

/* Partner Header Content - ADD THIS */
.partner-header-content {
    position: relative;
    z-index: 1;
}

.partner-badge {
    font-size: 4rem;
    margin-bottom: 20px;
}

.partner-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin: 40px 0;
}

.partner-cta {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .partner-login-link {
        top: 15px;
        right: 15px;
    }
    
    .btn-login {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
}
/* Partner Types */
.partner-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.partner-type-card {
    background: white;
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.partner-type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.partner-type-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.benefits-list li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.benefits-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

.commission-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-align: center;
    font-weight: bold;
    margin-top: 20px;
}

/* Partner Steps */
.partner-steps {
    max-width: 900px;
    margin: 50px auto;
}

.partner-step {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    align-items: flex-start;
}

.step-number {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

/* Commission Structure */
.commission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.commission-card {
    background: white;
    border-radius: 12px;
    padding: 35px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    position: relative;
}

.commission-card.featured {
    border: 3px solid #667eea;
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #667eea;
    color: white;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
}

.plan-price {
    font-size: 1.8rem;
    font-weight: bold;
    color: #667eea;
    margin: 15px 0;
}

.commission-amount {
    font-size: 1.5rem;
    color: #28a745;
    font-weight: bold;
    margin: 15px 0;
}

.commission-detail {
    color: #666;
    margin: 15px 0;
}

.earning-example {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
}

/* Bonus Structure */
.bonus-structure {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 12px;
    margin-top: 50px;
    text-align: center;
}

.bonus-tiers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.bonus-tier {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Support Grid */
.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.support-item {
    text-align: center;
    padding: 30px;
}

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

/* Success Stories */
.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.story-card {
    background: white;
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.story-quote {
    font-size: 1.1rem;
    font-style: italic;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.6;
}

.story-author {
    border-top: 2px solid #f0f0f0;
    padding-top: 20px;
}

.story-author strong {
    display: block;
    color: #667eea;
    margin-bottom: 5px;
}

.story-author span {
    color: #666;
    font-size: 0.9rem;
}

.story-stats {
    display: flex;
    gap: 20px;
    margin-top: 15px;
    font-size: 0.85rem;
}

.story-stats span {
    background: #f8f9fa;
    padding: 5px 12px;
    border-radius: 15px;
    color: #333;
}

/* Application Form */
.application-form-wrapper {
    max-width: 700px;
    margin: 50px auto;
    background: white;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.partner-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.partner-form .form-group {
    margin-bottom: 25px;
}

.partner-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.partner-form input,
.partner-form select,
.partner-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.partner-form input:focus,
.partner-form select:focus,
.partner-form textarea:focus {
    outline: none;
    border-color: #667eea;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
}

.btn-block {
    width: 100%;
}

.form-note {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    margin-top: 20px;
}

/* Partner FAQ */
.partner-faq-section {
    background: #f8f9fa;
    padding: 80px 0;
}

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

.faq-grid .faq-item {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.faq-grid .faq-item h3 {
    color: #667eea;
    margin-top: 0;
    margin-bottom: 10px;
}

/* Final CTA */
.partner-final-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 0;
    text-align: center;
}

/* ============================================
   BLOG PAGE STYLES
   ============================================ */

.blog-header {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    padding: 80px 0;
    color: white;
    text-align: center;
}

.blog-search {
    max-width: 600px;
    margin: 40px auto 0;
    display: flex;
    gap: 10px;
}

.blog-search input {
    flex: 1;
    padding: 15px 20px;
    border-radius: 8px;
    border: none;
    font-size: 1rem;
}

/* Blog Categories */
.blog-categories-section {
    padding: 30px 0;
    background: white;
    border-bottom: 2px solid #f0f0f0;
    position: sticky;
    top: 70px;
    z-index: 100;
}

.categories-scroll {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 10px 0;
}

.category-btn {
    padding: 10px 25px;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 25px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s;
    font-weight: 500;
}

.category-btn:hover,
.category-btn.active {
    background: #f093fb;
    color: white;
    border-color: #f093fb;
}

/* Featured Article */
.featured-article {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin-top: 50px;
}

.featured-image {
    position: relative;
    height: 100%;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #f093fb;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: bold;
}

.featured-content {
    padding: 40px;
}

.article-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.article-meta .category {
    background: #f093fb;
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
}

.article-meta .date,
.article-meta .read-time {
    color: #666;
}

/* Articles Grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.article-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.article-image {
    height: 200px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-content {
    padding: 25px;
}

.article-content h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
    line-height: 1.4;
}

.article-content p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.read-more {
    color: #f093fb;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

.read-more:hover {
    color: #f5576c;
}

/* Load More */
.load-more-wrapper {
    text-align: center;
    margin-top: 50px;
}

/* Free Resources */
.free-resources-section {
    background: #f8f9fa;
    padding: 80px 0;
}

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

.resource-card {
    background: white;
    padding: 35px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.resource-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

/* Newsletter */
.newsletter-section {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    padding: 80px 0;
}

.newsletter-wrapper {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: white;
}

.newsletter-wrapper h2 {
    margin-bottom: 15px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border-radius: 8px;
    border: none;
    font-size: 1rem;
}

/* ============================================
   FAQ PAGE STYLES
   ============================================ */

.faq-header {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    padding: 80px 0;
    color: white;
    text-align: center;
}

.faq-search {
    max-width: 600px;
    margin: 40px auto 0;
    display: flex;
    gap: 10px;
}

.faq-search input {
    flex: 1;
    padding: 15px 20px;
    border-radius: 8px;
    border: none;
    font-size: 1rem;
}

/* Quick Links */
.faq-quick-links {
    padding: 50px 0;
    background: white;
    border-bottom: 2px solid #f0f0f0;
}

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

.quick-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
}

.quick-link:hover {
    background: #4facfe;
    color: white;
    transform: translateY(-3px);
}

.link-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

/* ============================================
   FAQ PAGE STYLES - UPDATED WITH WORKING ACCORDION
   ============================================ */

/* FAQ Header */
.faq-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 0;
    color: white;
    text-align: center;
}

/* FAQ Search */
.faq-search-section {
    padding: 40px 0;
    background: white;
}

.search-wrapper {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.faq-search-input {
    width: 100%;
    padding: 18px 50px 18px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 30px;
    font-size: 1rem;
    transition: all 0.3s;
}

.faq-search-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
}

.search-help {
    text-align: center;
    margin-top: 15px;
    color: #666;
}

.search-help a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.search-help a:hover {
    text-decoration: underline;
}

/* Category Tabs */
.faq-categories-section {
    padding: 40px 0;
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.category-tab {
    background: white;
    border: 2px solid #e0e0e0;
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    color: #666;
}

.category-tab:hover {
    border-color: #667eea;
    color: #667eea;
}

.category-tab.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    color: white;
}

/* FAQ Content */
.faq-content-section {
    padding: 60px 0;
    background: white;
}

.faq-category {
    margin-bottom: 60px;
}

.category-title {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #333;
    padding-bottom: 15px;
    border-bottom: 3px solid #667eea;
}

/* FAQ Items */
.faq-item {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: #667eea;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.1);
}

.faq-item.active {
    border-color: #667eea;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.15);
}

.faq-item.search-highlight {
    background: #fffbea;
}

/* FAQ Question Button */
.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s;
}

.faq-question:hover {
    background: #f8f9fa;
}

.question-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    flex: 1;
    padding-right: 20px;
}

/* FAQ Icon - Chevron Style */
.faq-icon {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #667eea;
    border-radius: 50%;
    transition: all 0.3s;
}

.icon-chevron {
    width: 18px;
    height: 18px;
    stroke: white;
    transition: transform 0.3s;
}

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

/* Alternative: Plus/Minus Icon (commented out, uncomment to use)
.faq-icon::before {
    content: '+';
    font-size: 1.5rem;
    color: white;
    font-weight: bold;
    transition: transform 0.3s;
}

.faq-item.active .faq-icon::before {
    content: '−';
    transform: rotate(180deg);
}
*/

/* FAQ Answer */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 25px;
}

.faq-item.active .faq-answer {
    max-height: 2000px;
    padding: 0 25px 25px 25px;
    transition: max-height 0.5s ease-in, padding 0.5s ease-in;
}

.faq-answer p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

.faq-answer ul,
.faq-answer ol {
    color: #666;
    line-height: 1.8;
    margin: 15px 0;
    padding-left: 30px;
}

.faq-answer li {
    margin-bottom: 10px;
}

.faq-answer strong {
    color: #333;
}

.faq-answer a {
    color: #667eea;
    text-decoration: none;
}

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

/* Comparison Box */
.comparison-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.comparison-column {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.comparison-column h4 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
}

/* Pricing Table in FAQ */
.pricing-table-faq {
    overflow-x: auto;
    margin: 20px 0;
}

.pricing-table-faq table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    border-radius: 8px;
    overflow: hidden;
}

.pricing-table-faq thead {
    background: #667eea;
    color: white;
}

.pricing-table-faq th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.pricing-table-faq td {
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.pricing-table-faq tbody tr:hover {
    background: #f8f9fa;
}

/* Subject Coverage */
.subject-coverage {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.coverage-box {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
}

.coverage-box h4 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
}

.coverage-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.coverage-box li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.coverage-box li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}
/* ============================================
   PRICING PAGE - TABLE SCROLL FIX
   ============================================ */

/* Plan Comparison Section */
.plan-comparison-section {
    padding: 80px 0;
    background: white;
}

/* Table Scroll Wrapper - Makes table horizontally scrollable */
.table-scroll-wrapper {
    width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    margin: 40px 0;
    
    /* Custom scrollbar styling */
    scrollbar-width: thin;
    scrollbar-color: #667eea #f0f0f0;
}

/* Webkit browsers (Chrome, Safari, Edge) scrollbar styling */
.table-scroll-wrapper::-webkit-scrollbar {
    height: 8px;
}

.table-scroll-wrapper::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 10px;
}

.table-scroll-wrapper::-webkit-scrollbar-thumb {
    background: #667eea;
    border-radius: 10px;
}

.table-scroll-wrapper::-webkit-scrollbar-thumb:hover {
    background: #5568d3;
}

/* Comparison Table */
.comparison-table {
    width: 100%;
    min-width: 800px; /* Ensures table doesn't collapse on mobile */
    border-collapse: collapse;
    background: white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border-radius: 12px;
    overflow: hidden;
}

.comparison-table thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.comparison-table th {
    padding: 20px 15px;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
    border-right: 1px solid rgba(255,255,255,0.1);
}

.comparison-table th:first-child {
    text-align: left;
    width: 30%;
    min-width: 200px;
}

.comparison-table th:last-child {
    border-right: none;
}

.comparison-table tbody tr {
    border-bottom: 1px solid #e0e0e0;
}

.comparison-table tbody tr:last-child {
    border-bottom: none;
}

.comparison-table tbody tr:hover {
    background: #f8f9fa;
}

.comparison-table td {
    padding: 18px 15px;
    text-align: center;
    color: #666;
    border-right: 1px solid #e0e0e0;
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 600;
    color: #333;
    background: #f8f9fa;
}

.comparison-table td:last-child {
    border-right: none;
}

/* Feature Icons in Table */
.comparison-table .feature-available {
    color: #4caf50;
    font-size: 1.3rem;
}

.comparison-table .feature-unavailable {
    color: #ccc;
    font-size: 1.3rem;
}

.comparison-table .feature-limited {
    color: #ff9800;
    font-size: 0.9rem;
}

/* Scroll Hint (only visible on mobile) */
.scroll-hint {
    display: none;
    text-align: center;
    color: #667eea;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 15px;
    animation: fadeInOut 2s infinite;
}

.scroll-icon {
    font-size: 1.2rem;
    display: inline-block;
    animation: bounce 2s infinite;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

@keyframes bounce {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .comparison-table {
        min-width: 700px;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 15px 12px;
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .plan-comparison-section {
        padding: 60px 0;
    }
    
    /* Show scroll hint on mobile */
    .scroll-hint {
        display: block;
    }
    
    .table-scroll-wrapper {
        /* Add visual indicator for scrollability */
        position: relative;
        box-shadow: inset -10px 0 10px -10px rgba(0,0,0,0.1);
    }
    
    /* Add fade gradient on right edge to indicate more content */
    .table-scroll-wrapper::after {
        content: '';
        position: absolute;
        right: 0;
        top: 0;
        bottom: 8px; /* Account for scrollbar */
        width: 30px;
        background: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,0.9));
        pointer-events: none;
    }
    
    .comparison-table {
        min-width: 600px;
        font-size: 0.9rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 12px 10px;
        font-size: 0.85rem;
    }
    
    .comparison-table th:first-child,
    .comparison-table td:first-child {
        min-width: 150px;
        position: sticky;
        left: 0;
        z-index: 1;
        background: white;
        box-shadow: 2px 0 5px rgba(0,0,0,0.05);
    }
    
    .comparison-table thead th:first-child {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    }
}

@media (max-width: 480px) {
    .comparison-table {
        min-width: 500px;
        font-size: 0.85rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 10px 8px;
        font-size: 0.8rem;
    }
    
    .comparison-table th:first-child,
    .comparison-table td:first-child {
        min-width: 120px;
    }
}

/* Print styles - show full table when printing */
@media print {
    .table-scroll-wrapper {
        overflow: visible;
    }
    
    .comparison-table {
        min-width: 100%;
    }
    
    .scroll-hint {
        display: none;
    }
}
/* FAQ CTA Section */
.faq-cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    text-align: center;
    color: white;
}

.cta-wrapper h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-wrapper p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 768px) {
    .faq-header {
        padding: 60px 0;
    }
    
    .category-tabs {
        gap: 8px;
    }
    
    .category-tab {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .category-title {
        font-size: 1.6rem;
    }
    
    .question-text {
        font-size: 1rem;
    }
    
    .faq-question {
        padding: 15px 20px;
    }
    
    .faq-answer {
        padding: 0 20px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 20px 20px 20px;
    }
    
    .comparison-box {
        grid-template-columns: 1fr;
    }
    
    .subject-coverage {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .cta-buttons .btn-large {
        width: 100%;
    }
}
/* Contact CTA */
.contact-cta-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.contact-cta-wrapper {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-cta-wrapper h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.contact-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

.contact-buttons .btn-primary,
.contact-buttons .btn-secondary {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .partner-types-grid,
    .articles-grid,
    .resources-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-article {
        grid-template-columns: 1fr;
    }
    
    .partner-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .application-form-wrapper {
        padding: 30px 20px;
    }
    
    .partner-stats,
    .contact-buttons {
        flex-direction: column;
        gap: 20px;
    }
    
    .partner-cta {
        flex-direction: column;
    }
    
    .blog-search,
    .faq-search,
    .newsletter-form {
        flex-direction: column;
    }
    
    .categories-scroll {
        justify-content: flex-start;
    }
    
    .quick-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* ============================================
   LEGAL PAGES STYLES
   ============================================ */

/* Legal Page Header */
.legal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px 0 40px;
    color: white;
    text-align: center;
}

.legal-header .page-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.legal-header .page-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 20px;
}

.legal-intro {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.95;
}

/* Legal Content Layout */
.legal-content-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.legal-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 50px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Table of Contents (Sidebar) */
.legal-toc {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    position: sticky;
    top: 100px;
    height: fit-content;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.legal-toc h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #667eea;
    font-size: 1.3rem;
    border-bottom: 2px solid #667eea;
    padding-bottom: 10px;
}

.legal-toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.legal-toc li {
    margin-bottom: 12px;
}

.legal-toc a {
    color: #333;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s;
    display: block;
    padding: 8px 12px;
    border-radius: 6px;
}

.legal-toc a:hover {
    background: #f0f0ff;
    color: #667eea;
    padding-left: 20px;
}

/* Main Legal Content */
.legal-main {
    background: white;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.legal-section {
    margin-bottom: 60px;
    scroll-margin-top: 100px;
}

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-section h2 {
    color: #333;
    font-size: 2rem;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #667eea;
}

.legal-section h3 {
    color: #444;
    font-size: 1.4rem;
    margin-top: 30px;
    margin-bottom: 15px;
}

.legal-section h4 {
    color: #555;
    font-size: 1.1rem;
    margin-top: 20px;
    margin-bottom: 10px;
}

.legal-section p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 1rem;
}

.legal-section ul,
.legal-section ol {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
    padding-left: 30px;
}

.legal-section li {
    margin-bottom: 10px;
}

.legal-section strong {
    color: #333;
    font-weight: 600;
}

/* Info Boxes */
.info-box {
    background: #e8f4f8;
    border-left: 4px solid #2196F3;
    padding: 20px 25px;
    margin: 25px 0;
    border-radius: 6px;
}

.info-box.security-box {
    background: #e8f5e9;
    border-left-color: #4CAF50;
}

.info-box.warning-box {
    background: #fff3e0;
    border-left-color: #FF9800;
}

.info-box.highlight-box {
    background: #f3e5f5;
    border-left-color: #9C27B0;
}

.info-box h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
}

.info-box p {
    margin-bottom: 10px;
}

.info-box ul {
    margin-bottom: 0;
}

/* Special Lists */
.no-collect-list li,
.equality-list li {
    padding-left: 10px;
}

/* Feature Grids */
.feature-grid,
.ai-principles,
.feature-item {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.feature-item,
.principle-item {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.feature-item h4,
.principle-item h4 {
    margin-top: 0;
    color: #667eea;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.contact-item {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
}

.contact-item h4 {
    color: #667eea;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.contact-item p {
    margin-bottom: 5px;
}

.contact-item a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-item small {
    color: #999;
    font-size: 0.85rem;
}

/* Tables */
.fee-table,
.error-table,
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-radius: 8px;
    overflow: hidden;
}

.fee-table thead,
.error-table thead,
.comparison-table thead {
    background: #667eea;
    color: white;
}

.fee-table th,
.error-table th,
.comparison-table th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.fee-table td,
.error-table td,
.comparison-table td {
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.fee-table tbody tr:hover,
.error-table tbody tr:hover,
.comparison-table tbody tr:hover {
    background: #f8f9fa;
}

/* Exception Grid */
.exception-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.exception-item {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    transition: all 0.3s;
}

.exception-item:hover {
    border-color: #667eea;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

.exception-item h4 {
    margin-top: 0;
    color: #667eea;
    font-size: 1.2rem;
}

.exception-item p {
    margin-bottom: 10px;
    font-size: 0.95rem;
}

/* Example Box */
.example-box {
    background: #fff9e6;
    border: 2px solid #ffc107;
    border-radius: 8px;
    padding: 25px;
    margin: 25px 0;
}

.example-box h4 {
    margin-top: 0;
    color: #f57c00;
}

/* Issue Grid */
.issue-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.issue-item {
    background: #fff3e0;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    border: 2px solid #ffb74d;
}

.issue-item h4 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #e65100;
    font-size: 1rem;
}

.issue-item p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Responsibility Grid */
.responsibility-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.responsibility-item {
    background: #e8f5e9;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    border: 2px solid #81c784;
}

.responsibility-item h4 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #2e7d32;
    font-size: 1rem;
}

.responsibility-item p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Prohibited List */
.prohibited-list {
    background: #ffebee;
    padding: 20px 30px;
    border-radius: 8px;
    border-left: 4px solid #f44336;
}

.prohibited-list ul {
    margin-bottom: 0;
}

.prohibited-list li {
    color: #c62828;
}

/* Liability Box */
.liability-box {
    background: #ffebee;
    border: 3px solid #f44336;
    padding: 30px;
    border-radius: 8px;
    margin: 30px 0;
}

.liability-box p {
    font-weight: 600;
    margin-bottom: 15px;
}

/* Reminder Boxes */
.reminder-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.reminder-box {
    background: #e3f2fd;
    border-left: 4px solid #2196F3;
    padding: 25px;
    border-radius: 8px;
}

.reminder-box h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #1565c0;
    font-size: 1.1rem;
}

.reminder-box p {
    margin-bottom: 0;
}

/* Summary Boxes */
.summary-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.summary-box {
    background: white;
    border: 2px solid #667eea;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
}

.summary-box h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #667eea;
    font-size: 1.2rem;
}

.summary-box p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Legal Acknowledgment */
.legal-acknowledgment {
    background: #f8f9fa;
    border: 2px solid #667eea;
    border-radius: 8px;
    padding: 35px;
    margin-top: 50px;
}

.legal-acknowledgment p {
    font-size: 1.05rem;
    margin-bottom: 15px;
}

.legal-acknowledgment strong {
    color: #667eea;
    font-size: 1.1rem;
}

.legal-acknowledgment ul {
    margin-top: 20px;
}

/* Final Note */
.final-note {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 8px;
    margin-top: 30px;
    text-align: center;
}

.final-note p {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.final-note p:last-child {
    margin-bottom: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .legal-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .legal-toc {
        position: static;
        max-height: none;
    }
}

@media (max-width: 768px) {
    .legal-header {
        padding: 40px 0 30px;
    }
    
    .legal-header .page-title {
        font-size: 2rem;
    }
    
    .legal-main {
        padding: 30px 20px;
    }
    
    .legal-section h2 {
        font-size: 1.6rem;
    }
    
    .legal-section h3 {
        font-size: 1.2rem;
    }
    
    .feature-grid,
    .ai-principles,
    .contact-grid,
    .exception-grid,
    .issue-grid,
    .responsibility-grid,
    .reminder-boxes,
    .summary-boxes {
        grid-template-columns: 1fr;
    }
    
    .legal-toc {
        padding: 20px;
    }
    
    .fee-table,
    .error-table,
    .comparison-table {
        font-size: 0.85rem;
    }
    
    .fee-table th,
    .fee-table td,
    .error-table th,
    .error-table td,
    .comparison-table th,
    .comparison-table td {
        padding: 10px 8px;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Print Styles */
@media print {
    .legal-toc,
    .page-header {
        display: none;
    }
    
    .legal-wrapper {
        grid-template-columns: 1fr;
    }
    
    .legal-main {
        box-shadow: none;
        padding: 0;
    }
    
    .legal-section {
        page-break-inside: avoid;
    }
}
/* ============================================
   APP DOWNLOAD PAGE STYLES
   ============================================ */

/* Download Header */
.download-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 0;
    color: white;
    text-align: center;
}

.download-header-content {
    max-width: 700px;
    margin: 0 auto;
}

/* App Icon - Fluid Responsive */
.app-icon-large {
    width: clamp(80px, 15vw, 140px);
    height: clamp(80px, 15vw, 140px);
    margin: 0 auto 30px;
    background: white;
    border-radius: clamp(16px, 3vw, 28px);
    padding: clamp(6px, 1.5vw, 12px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.app-icon-large img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Fine-tune for very small devices */
@media (max-width: 374px) {
    .app-icon-large {
        width: 80px;
        height: 80px;
        border-radius: 16px;
        padding: 6px;
    }
}

.app-tagline {
    font-size: 1.1rem;
    margin-top: 15px;
    opacity: 0.95;
}

/* Quick Download Section */
.quick-download-section {
    padding: 80px 0;
    background: white;
}

.quick-download-wrapper {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.quick-download-wrapper h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #333;
}

.download-instruction {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
}

/* Store Buttons */
.store-buttons,
.store-buttons-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.store-button {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 30px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s;
    min-width: 200px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.store-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.apple-button {
    background: #000;
    color: white;
}

.google-button {
    background: #000;
    color: white;
}

.button-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.button-icon svg {
    width: 100%;
    height: 100%;
}

.button-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.button-label {
    font-size: 0.75rem;
    opacity: 0.8;
    text-transform: uppercase;
}

.button-store {
    font-size: 1.3rem;
    font-weight: 600;
}

/* Download Stats */
.download-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.stat-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8f9fa;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
}

.stat-icon {
    font-size: 1.5rem;
}

.stat-text {
    color: #333;
}

/* Verification Steps */
.verify-app-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.verification-steps {
    max-width: 1000px;
    margin: 50px auto 0;
}

.verification-step {
    background: white;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.step-number {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
    font-size: 1.5rem;
}

.app-detail {
    background: #f8f9fa;
    padding: 15px 20px;
    border-radius: 8px;
    margin: 20px 0;
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.detail-label {
    font-weight: 600;
    color: #666;
}

.detail-value {
    color: #667eea;
    font-weight: 600;
    font-size: 1.1rem;
}

/* App Icon Showcase */
.app-icon-showcase {
    display: flex;
    gap: 30px;
    align-items: center;
    margin: 20px 0;
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
}

.official-icon {
    width: 100px;
    height: 100px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.icon-description ul {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
}

.icon-description li {
    padding: 5px 0;
    padding-left: 25px;
    position: relative;
}

.icon-description li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

/* App Details Grid */
.app-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.detail-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
}

.detail-item strong {
    display: block;
    color: #666;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.detail-item code {
    background: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: #667eea;
    font-size: 0.85rem;
    display: block;
    word-break: break-all;
}

.detail-item span {
    color: #333;
    font-weight: 600;
}

/* QR Code Section */
.qr-code-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.qr-wrapper {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.qr-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.qr-content p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

.qr-codes {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.qr-code-item {
    text-align: center;
}

.qr-code-box {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    margin-bottom: 15px;
}

.qr-code-box img {
    display: block;
    width: 200px;
    height: 200px;
}

.qr-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Screenshots Section */
.screenshots-section {
    padding: 80px 0;
    background: white;
}

.screenshots-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
}

.screenshot-item {
    flex: 0 0 280px;
    text-align: center;
    scroll-snap-align: center;
}

.screenshot-item img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    border: 8px solid #333;
}

.screenshot-caption {
    margin-top: 15px;
    font-weight: 600;
    color: #333;
}

/* App Features Grid */
.app-features-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.app-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.app-feature {
    background: white;
    padding: 35px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.app-feature:hover {
    transform: translateY(-5px);
}

.app-feature .feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.app-feature h3 {
    margin-bottom: 15px;
    color: #333;
}

.app-feature p {
    color: #666;
    line-height: 1.6;
}

/* Requirements Section */
.requirements-section {
    padding: 80px 0;
    background: white;
}

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

.requirement-card {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 12px;
    border: 2px solid #e0e0e0;
}

.requirement-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.requirement-header h3 {
    margin: 0;
    font-size: 1.8rem;
    color: #333;
}

.requirement-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.requirement-card li {
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
    color: #666;
}

.requirement-card li:last-child {
    border-bottom: none;
}

.requirement-card strong {
    color: #333;
}

/* Download FAQ */
.download-faq-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.download-faq-section .faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.download-faq-section .faq-item {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.download-faq-section .faq-item h3 {
    color: #667eea;
    margin-top: 0;
    margin-bottom: 15px;
}

.download-faq-section .faq-item p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.download-faq-section .faq-item a {
    color: #667eea;
    text-decoration: none;
}

.download-faq-section .faq-item a:hover {
    text-decoration: underline;
}

/* Final CTA */
.final-download-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    text-align: center;
    color: white;
}

.final-download-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.final-download-cta p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-note {
    font-size: 0.95rem;
    margin-top: 20px;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .download-header {
        padding: 60px 0;
    }
    
    .app-icon-large {
        width: 100px;
        height: 100px;
    }
    
    .quick-download-wrapper h2 {
        font-size: 2rem;
    }
    
    .store-buttons,
    .store-buttons-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .store-button {
        width: 100%;
        max-width: 300px;
    }
    
    .download-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .verification-step {
        flex-direction: column;
        padding: 25px;
    }
    
    .app-icon-showcase {
        flex-direction: column;
        text-align: center;
    }
    
    .qr-codes {
        flex-direction: column;
        align-items: center;
    }
    
    .requirements-grid {
        grid-template-columns: 1fr;
    }
    
    .final-download-cta h2 {
        font-size: 2rem;
    }
}
/* ============================================
   TECHNOLOGY PAGE STYLES
   ============================================ */

/* Tech Header */
.tech-header {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    padding: 80px 0;
    color: white;
    text-align: center;
}

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

.tech-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

/* Tech Introduction */
.tech-intro-section {
    padding: 80px 0;
    background: white;
}

.tech-intro-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.intro-content h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: #333;
}

.intro-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

.tech-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.tech-stat {
    text-align: center;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s;
}

.tech-stat:hover {
    border-color: #3b82f6;
    transform: translateY(-5px);
}

.tech-stat strong {
    display: block;
    font-size: 2rem;
    color: #3b82f6;
    margin-bottom: 10px;
}

.tech-stat span {
    color: #666;
    font-size: 0.95rem;
}

/* Video Playlist Section */
.tech-videos-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.video-playlist-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 50px;
}

.main-video {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-description {
    padding: 30px;
}

.video-description h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
}

.video-description p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Playlist Topics */
.playlist-topics {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.playlist-topics h3 {
    margin-top: 0;
    margin-bottom: 25px;
    color: #333;
}

.topics-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.topics-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #f0f0f0;
}

.topics-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.topic-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.topic-content strong {
    display: block;
    color: #333;
    margin-bottom: 5px;
}

.topic-content p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

/* Technology Stack */
.tech-stack-section {
    padding: 80px 0;
    background: white;
}

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

.stack-category {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
    border: 2px solid #e0e0e0;
}

.stack-category h3 {
    margin-top: 0;
    margin-bottom: 25px;
    color: #333;
    font-size: 1.3rem;
    padding-bottom: 15px;
    border-bottom: 2px solid #3b82f6;
}

.tech-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tech-item {
    background: white;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.tech-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.tech-logo {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 8px;
    flex-shrink: 0;
}

.tech-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 3px;
}

.tech-desc {
    font-size: 0.85rem;
    color: #666;
}

/* Innovations Section */
.innovations-section {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.innovation-card {
    background: white;
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}

.innovation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.innovation-number {
    position: absolute;
    top: -20px;
    right: 20px;
    font-size: 6rem;
    font-weight: bold;
    color: rgba(59, 130, 246, 0.1);
    line-height: 1;
}

.innovation-card h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
    font-size: 1.3rem;
    position: relative;
    z-index: 1;
}

.innovation-card > p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.innovation-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.innovation-features li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: #666;
    font-size: 0.95rem;
}

.innovation-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #3b82f6;
    font-weight: bold;
}

/* Developers Section */
.developers-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
}

.developers-wrapper {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.developers-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.developers-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.developer-roles {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin: 40px 0;
}

.role-tag {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.developer-cta {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Press Section */
.press-section {
    padding: 80px 0;
    background: white;
}

.press-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.press-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
}

.press-content > p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 25px;
}

.press-resources {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    margin: 30px 0;
}

.press-resources li {
    padding: 10px 0;
    color: #666;
}

.press-contact {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    margin: 30px 0;
}

.press-contact p {
    margin: 8px 0;
    color: #666;
}

.press-contact a {
    color: #3b82f6;
    text-decoration: none;
}

.press-contact a:hover {
    text-decoration: underline;
}

/* Research Section */
.research-section {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.research-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.research-date {
    display: inline-block;
    background: #3b82f6;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.research-card h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
}

.research-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.research-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
    font-size: 0.9rem;
    color: #666;
}

.research-meta a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
}

.research-meta a:hover {
    text-decoration: underline;
}

/* Open Source Section */
.opensource-section {
    padding: 80px 0;
    background: white;
}

.opensource-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.opensource-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
}

.opensource-content > p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
}

.opensource-projects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.project-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s;
}

.project-card:hover {
    border-color: #3b82f6;
    transform: translateY(-3px);
}

.project-card h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
}

.project-card p {
    color: #666;
    margin-bottom: 15px;
}

.github-link {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
}

.github-link:hover {
    text-decoration: underline;
}

.opensource-note {
    text-align: center;
    color: #666;
    font-style: italic;
    margin-top: 30px;
}

/* Security Section */
.security-section {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.security-item {
    background: white;
    padding: 35px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.security-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.security-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.security-item h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
}

.security-item p {
    color: #666;
    margin: 0;
}

/* Tech CTA Section */
.tech-cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    text-align: center;
    color: white;
}

.tech-cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.tech-cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

/* ============================================
   BLOG ARTICLE STYLES
   ============================================ */

.blog-article {
    background: white;
}

/* Article Header */
.article-header {
    background: #f8f9fa;
    padding: 60px 0 40px;
}

.article-meta-top {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.article-category {
    background: #3b82f6;
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
}

.article-date,
.read-time {
    color: #666;
}

.article-title {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #333;
}

.article-excerpt {
    font-size: 1.3rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}

.article-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.article-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info strong {
    display: block;
    color: #333;
    margin-bottom: 3px;
}

.author-info span {
    color: #666;
    font-size: 0.9rem;
}

/* Article Content */
.article-content {
    padding: 60px 0;
}

.article-content .container {
    max-width: 800px;
}

.article-section {
    margin-bottom: 50px;
}

.article-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
    margin-top: 40px;
}

.article-section h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #444;
    margin-top: 30px;
}

.article-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

.article-section ul,
.article-section ol {
    margin: 20px 0;
    padding-left: 30px;
}

.article-section li {
    margin-bottom: 12px;
    color: #666;
    line-height: 1.7;
}

/* Embedded Video */
.embedded-video {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin: 30px 0;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.embedded-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-caption {
    text-align: center;
    color: #666;
    font-size: 0.95rem;
    font-style: italic;
    margin-top: 15px;
}

/* Comparison Table */
.comparison-table-wrapper {
    overflow-x: auto;
    margin: 30px 0;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    border-radius: 8px;
    overflow: hidden;
}

.comparison-table thead {
    background: #3b82f6;
    color: white;
}

.comparison-table th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.comparison-table td {
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
    color: #666;
}

.comparison-table tbody tr:hover {
    background: #f8f9fa;
}

/* Code Block */
.code-block {
    background: #1e293b;
    padding: 25px;
    border-radius: 8px;
    margin: 30px 0;
    overflow-x: auto;
}

.code-block pre {
    margin: 0;
    color: #e2e8f0;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
}

.code-block code {
    color: #e2e8f0;
}

/* Performance Metrics */
.performance-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.metric {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    border: 2px solid #e0e0e0;
}

.metric strong {
    display: block;
    color: #666;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.metric-value {
    font-size: 2.5rem;
    font-weight: bold;
    color: #3b82f6;
}

/* Article CTA */
.article-cta {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 40px 0;
    flex-wrap: wrap;
}

/* Article Footer */
.article-footer {
    background: #f8f9fa;
    padding: 40px 0;
    border-top: 1px solid #e0e0e0;
}

.share-section {
    text-align: center;
}

.share-section h3 {
    margin-bottom: 20px;
    color: #333;
}

.share-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.share-btn {
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s;
}

.share-btn.twitter {
    background: #1DA1F2;
}

.share-btn.linkedin {
    background: #0077B5;
}

.share-btn.facebook {
    background: #1877F2;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* ============================================
   ABOUT PAGE - TECH SECTION
   ============================================ */

.how-we-built-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.tech-preview {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    align-items: center;
    margin-top: 50px;
}

.tech-preview-content p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
}

.tech-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.tech-highlight {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
}

.highlight-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 10px;
}

.tech-highlight strong {
    display: block;
    color: #333;
    margin-bottom: 5px;
}

.tech-highlight p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

.tech-cta {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.btn-link {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
    padding: 12px 25px;
}

.btn-link:hover {
    text-decoration: underline;
}

/* Tech Stack Visual */
.tech-preview-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-stack-visual {
    width: 100%;
    max-width: 300px;
}

.stack-layer {
    background: linear-gradient(135deg, #3b82f6 0%, #1e3a8a 100%);
    color: white;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.stack-layer:hover {
    transform: translateX(10px);
}

.stack-layer:nth-child(1) {
    opacity: 1;
}

.stack-layer:nth-child(2) {
    opacity: 0.9;
}

.stack-layer:nth-child(3) {
    opacity: 0.8;
}

.stack-layer:nth-child(4) {
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .video-playlist-wrapper {
        grid-template-columns: 1fr;
    }
    
    .tech-preview {
        grid-template-columns: 1fr;
    }
    
    .tech-stack-visual {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .tech-header {
        padding: 60px 0;
    }
    
    .tech-icon {
        font-size: 3rem;
    }
    
    .intro-content h2,
    .tech-cta-content h2,
    .developers-content h2 {
        font-size: 2rem;
    }
    
    .stack-grid,
    .innovations-grid,
    .research-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tech-highlights {
        grid-template-columns: 1fr;
    }
    
    .article-title {
        font-size: 2rem;
    }
    
    .article-excerpt {
        font-size: 1.1rem;
    }
    
    .developer-cta,
    .article-cta {
        flex-direction: column;
    }
    
    .developer-cta .btn-large,
    .article-cta .btn-large {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .tech-stats {
        grid-template-columns: 1fr;
    }
    
    .role-tag {
        font-size: 0.85rem;
        padding: 8px 15px;
    }
}
/* ============================================
   SOCIAL MEDIA BLOG PAGE STYLES
   ============================================ */

/* Blog Header */
.blog-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 0;
    color: white;
    text-align: center;
}

.blog-intro {
    max-width: 800px;
    margin: 20px auto 0;
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.95;
}

/* Social Feeds Section */
.social-feeds-section {
    padding: 80px 0;
    background: #f8f9fa;
}

/* Feed Navigation */
.feed-navigation {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.feed-tab {
    background: white;
    border: 2px solid #e0e0e0;
    padding: 15px 30px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 600;
    color: #666;
}

.feed-tab:hover {
    border-color: #667eea;
    color: #667eea;
    transform: translateY(-2px);
}

.feed-tab.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    color: white;
}

.tab-icon {
    font-size: 1.2rem;
}

/* Feed Content */
.feed-content {
    display: none;
}

.feed-content.active {
    display: block;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Feed Grid */
.feed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Social Feed Cards */
.social-feed-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.social-feed-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.card-header {
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.platform-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    padding: 8px 15px;
    border-radius: 20px;
    color: white;
    font-size: 0.9rem;
}

.platform-badge.linkedin {
    background: #0077B5;
}

.platform-badge.twitter {
    background: #1DA1F2;
}

.platform-badge.instagram {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
}

.platform-badge.youtube {
    background: #FF0000;
}

.view-all-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.view-all-link:hover {
    text-decoration: underline;
}

.card-content {
    padding: 30px;
}

.card-content h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
    font-size: 1.3rem;
}

.card-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Feed Stats */
.feed-stats {
    display: flex;
    gap: 30px;
    margin: 25px 0;
    padding: 20px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.stat {
    text-align: center;
}

.stat strong {
    display: block;
    font-size: 1.5rem;
    color: #667eea;
    margin-bottom: 5px;
}

.stat span {
    color: #666;
    font-size: 0.9rem;
}

/* Feed Detail Header */
.feed-detail-header {
    background: white;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.platform-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.platform-info i {
    color: #667eea;
}

.platform-info h2 {
    margin: 0 0 5px 0;
    color: #333;
}

.platform-info p {
    margin: 0;
    color: #666;
}

/* Embed Containers */
.linkedin-embed-container,
.twitter-embed-container,
.instagram-embed-container,
.youtube-embed-container {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.embed-notice {
    text-align: center;
    padding: 50px;
    background: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 30px;
}

.embed-notice p {
    margin: 15px 0;
    color: #666;
}

.embed-notice strong {
    color: #333;
    font-size: 1.2rem;
}

/* Recent Posts Preview */
.recent-posts-preview {
    margin-top: 30px;
}

.recent-posts-preview h3 {
    margin-bottom: 25px;
    color: #333;
}

.post-topics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.topic-tag {
    background: white;
    border: 2px solid #e0e0e0;
    padding: 15px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #666;
    transition: all 0.3s;
}

.topic-tag:hover {
    border-color: #667eea;
    color: #667eea;
}

.topic-icon {
    font-size: 1.5rem;
}

/* YouTube Video Player */
.video-player {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 30px;
}

.video-player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-description {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
}

.video-description h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
}

.video-description ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.video-description li {
    padding: 12px 0;
    color: #666;
    font-size: 1.05rem;
}

/* Newsletter Section */
.newsletter-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.newsletter-wrapper {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.newsletter-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.newsletter-input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
}

.newsletter-form .btn-primary {
    padding: 15px 40px;
    white-space: nowrap;
}

.newsletter-note {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Community Section */
.community-section {
    padding: 80px 0;
    background: white;
}

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

.community-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
}

.community-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.community-card.linkedin {
    border-color: #0077B5;
}

.community-card.linkedin:hover {
    background: #0077B5;
    color: white;
}

.community-card.twitter {
    border-color: #1DA1F2;
}

.community-card.twitter:hover {
    background: #1DA1F2;
    color: white;
}

.community-card.instagram {
    border-color: #E1306C;
}

.community-card.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
    color: white;
}

.community-card.youtube {
    border-color: #FF0000;
}

.community-card.youtube:hover {
    background: #FF0000;
    color: white;
}

.community-card.telegram {
    border-color: #0088cc;
}

.community-card.telegram:hover {
    background: #0088cc;
    color: white;
}

.community-card.discord {
    border-color: #5865F2;
}

.community-card.discord:hover {
    background: #5865F2;
    color: white;
}

.community-card i {
    color: inherit;
    margin-bottom: 20px;
}

.community-card h3 {
    margin: 0 0 10px 0;
    color: inherit;
}

.community-card p {
    color: inherit;
    margin-bottom: 15px;
    opacity: 0.8;
}

.follower-count {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(0,0,0,0.05);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.community-card:hover .follower-count {
    background: rgba(255,255,255,0.2);
}

/* Blog CTA Section */
.blog-cta-section {
    padding: 80px 0;
    background: #f8f9fa;
    text-align: center;
}

.blog-cta-section .cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #333;
}

.blog-cta-section .cta-content p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-header {
        padding: 60px 0;
    }
    
    .blog-intro {
        font-size: 1rem;
    }
    
    .feed-navigation {
        gap: 10px;
    }
    
    .feed-tab {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .feed-grid {
        grid-template-columns: 1fr;
    }
    
    .feed-detail-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .platform-info {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form .btn-primary {
        width: 100%;
    }
    
    .community-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feed-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .post-topics {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .community-grid {
        grid-template-columns: 1fr;
    }
    
    .feed-tab {
        width: 100%;
        justify-content: center;
    }
}
/* ============================================
   CONTACT FORM STYLES
   ============================================ */

/* Contact Header */
.contact-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 0;
    color: white;
    text-align: center;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Contact Form Wrapper */
.contact-form-wrapper {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.contact-form-wrapper h2 {
    margin-top: 0;
    margin-bottom: 30px;
    color: #333;
    font-size: 1.8rem;
}

/* Form Groups */
.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #f44336;
}

.field-hint {
    display: block;
    font-size: 0.85rem;
    color: #666;
    margin-top: 5px;
}

.field-error {
    display: none;
    color: #f44336;
    font-size: 0.85rem;
    margin-top: 5px;
}

/* Character Counter */
.char-count {
    display: block;
    text-align: right;
    font-size: 0.85rem;
    color: #666;
    margin-top: 5px;
}

/* Alert Messages */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: #d4edda;
    border: 2px solid #c3e6cb;
    color: #155724;
}

.alert-error {
    background: #f8d7da;
    border: 2px solid #f5c6cb;
    color: #721c24;
}

/* Loading Spinner */
.spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.btn-loading {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* Form Note */
.form-note {
    text-align: center;
    font-size: 0.85rem;
    color: #666;
    margin-top: 20px;
}

.form-note a {
    color: #667eea;
    text-decoration: none;
}

.form-note a:hover {
    text-decoration: underline;
}

/* Contact Info */
.contact-info {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.contact-info h2 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
}

.contact-methods {
    margin: 30px 0;
}

.contact-method {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e0e0e0;
}

.contact-method:last-child {
    border-bottom: none;
}

.method-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.method-content h3 {
    margin: 0 0 8px 0;
    color: #333;
    font-size: 1.1rem;
}

.method-content a {
    color: #667eea;
    text-decoration: none;
}

.method-content a:hover {
    text-decoration: underline;
}

.business-hours {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
}

.business-hours h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
}

.business-hours p {
    margin: 8px 0;
    color: #666;
}
/* Honeypot Field - Hidden from users, visible to bots */
.honeypot-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
}

/* Contact CTA Section */
.contact-cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    text-align: center;
    color: white;
}

.contact-cta-section .cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.contact-cta-section .cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .contact-header {
        padding: 60px 0;
    }
    
    .contact-form-wrapper,
    .contact-info {
        padding: 30px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-cta-section {
        padding: 60px 20px;
    }
    
    .contact-cta-section .cta-content h2 {
        font-size: 2rem;
    }
}
/* ============================================
   PARTNER APPLICATION FORM STYLES
   ============================================ */

/* Partner Header */
.partner-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 0;
    color: white;
    text-align: center;
}

.partner-benefits-quick {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.benefit-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Partner Application Section */
.partner-application-section {
    padding: 60px 0;
    background: #f8f9fa;
}

/* Progress Steps */
.progress-steps {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
    position: relative;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 25%;
    right: 25%;
    height: 2px;
    background: #e0e0e0;
    z-index: 0;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 1;
    flex: 1;
    max-width: 150px;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    border: 2px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #999;
    transition: all 0.3s;
}

.step-label {
    font-size: 0.9rem;
    color: #666;
    text-align: center;
}

.step.active .step-number {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    color: white;
}

.step.completed .step-number {
    background: #4caf50;
    border-color: #4caf50;
    color: white;
}

.step.completed .step-number::after {
    content: '✓';
}

.step.active .step-label {
    color: #667eea;
    font-weight: 600;
}

/* Application Wrapper */
.application-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    padding: 50px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* Form Steps */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeInUp 0.5s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #333;
    padding-bottom: 15px;
    border-bottom: 2px solid #667eea;
}

/* Form Groups */
.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="password"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #f44336;
}

.form-group input.success {
    border-color: #4caf50;
}

.field-hint {
    display: block;
    font-size: 0.85rem;
    color: #666;
    margin-top: 5px;
}

.field-error {
    display: none;
    color: #f44336;
    font-size: 0.85rem;
    margin-top: 5px;
}

/* Password Strength */
.password-strength {
    margin-top: 8px;
    font-size: 0.9rem;
    display: none;
}

/* Promo Code Availability */
#promoCodeAvailability {
    margin-top: 8px;
    font-size: 0.9rem;
}

/* Checkbox Group */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 10px;
    border-radius: 6px;
    transition: background 0.3s;
}

.checkbox-label:hover {
    background: #f8f9fa;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.terms-checkbox {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
}

.terms-checkbox a {
    color: #667eea;
    text-decoration: none;
}

.terms-checkbox a:hover {
    text-decoration: underline;
}

/* Character Counter */
.char-count {
    display: block;
    text-align: right;
    font-size: 0.85rem;
    color: #666;
    margin-top: 5px;
}

/* Form Navigation */
.form-navigation {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}

/* Review Section */
.review-section {
    margin-bottom: 35px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 8px;
}

.review-section h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #667eea;
    font-size: 1.2rem;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.review-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.review-label {
    font-size: 0.85rem;
    color: #666;
    font-weight: 600;
}

.review-value {
    color: #333;
    font-size: 1rem;
}

/* Success Message Styling */
.success-icon {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 20px;
}

.success-content h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #2e7d32;
    font-size: 1.8rem;
}

.success-content p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.next-steps {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin: 25px 0;
    border-left: 4px solid #4caf50;
}

.next-steps h4 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
}

.next-steps ul {
    margin: 0;
    padding-left: 20px;
}

.next-steps li {
    margin-bottom: 10px;
    color: #666;
}

/* Loading Spinner */
.spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.btn-loading {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* Alert Messages */
.alert {
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.alert-success {
    background: #d4edda;
    border: 2px solid #c3e6cb;
    color: #155724;
}

.alert-error {
    background: #f8d7da;
    border: 2px solid #f5c6cb;
    color: #721c24;
}

/* Responsive Design */
@media (max-width: 768px) {
    .partner-header {
        padding: 60px 0;
    }
    
    .partner-benefits-quick {
        flex-direction: column;
        align-items: center;
    }
    
    .progress-steps {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .progress-steps::before {
        display: none;
    }
    
    .application-wrapper {
        padding: 30px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .review-grid {
        grid-template-columns: 1fr;
    }
    
    .form-navigation {
        flex-direction: column;
    }
    
    .form-navigation button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .step-title {
        font-size: 1.4rem;
    }
    
    .step {
        max-width: 80px;
    }
    
    .step-label {
        font-size: 0.75rem;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
}