/* ============================================
   FITPLEX - GYM SOFTWARE
   Modern SaaS Website - Purple/Pink Theme
   ============================================ */

/* CSS Variables */
:root {
    /* Primary Colors - Purple */
    --primary: #7c3aed;
    --primary-dark: #6d28d9;
    --primary-light: #8b5cf6;
    --primary-lighter: #a78bfa;

    /* Secondary Colors - Pink */
    --secondary: #ec4899;
    --secondary-dark: #db2777;
    --secondary-light: #f472b6;

    /* Accent Colors */
    --accent-cyan: #06b6d4;
    --accent-green: #10b981;
    --accent-green-dark: #059669;
    --accent-green-light: #34d399;
    --accent-red: #ef4444;
    --accent-amber: #f59e0b;

    /* Background Colors */
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-gray: #f1f5f9;
    --bg-dark: #0f172a;
    --bg-dark-secondary: #1e293b;
    --bg-purple-light: #faf5ff;
    --bg-pink-light: #fdf2f8;

    /* Text Colors */
    --text-dark: #0f172a;
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --text-white: #ffffff;

    /* Border Colors */
    --border-light: #e2e8f0;
    --border-medium: #cbd5e1;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #7c3aed 0%, #ec4899 100%);
    --gradient-primary-full: linear-gradient(135deg, #7c3aed 0%, #ec4899 50%, #06b6d4 100%);
    --gradient-text: linear-gradient(135deg, #7c3aed 0%, #ec4899 100%);
    --gradient-hero: linear-gradient(135deg, #faf5ff 0%, #fdf2f8 50%, #ecfeff 100%);
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-purple: 0 4px 20px rgba(124, 58, 237, 0.4);

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition: 300ms ease;
    --transition-slow: 500ms ease;

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

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

body {
    font-family: var(--font-sans);
    background: var(--bg-white);
    color: var(--text-secondary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-sans);
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

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

a:hover {
    color: var(--primary-dark);
}

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

/* Utility Classes */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
    position: relative;
}

.section-gray {
    background: var(--bg-light);
}

.section-dark {
    background: var(--bg-dark);
}

.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark h5 {
    color: var(--text-white);
}

.section-dark p {
    color: var(--text-light);
}

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

.text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.fitplex-gradient {
    background: var(--gradient-primary-full);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(124, 58, 237, 0.1);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3.5rem;
}

.section-header .badge {
    margin-bottom: 1rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-muted);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.5);
    color: var(--text-white);
}

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

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

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

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--primary-dark);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--border-medium);
}

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(124, 58, 237, 0.05);
}

.btn-whatsapp {
    background: #25D366;
    color: #fff;
    border: none;
}

.btn-whatsapp:hover {
    background: #1da851;
    transform: translateY(-2px);
    color: #fff;
}

.btn-lg {
    padding: 0.875rem 2rem;
    font-size: 1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: all var(--transition);
}

.navbar.scrolled {
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
}

.navbar-brand:hover {
    color: var(--text-dark);
}

.navbar-brand .brand-logo {
    height: 42px;
    width: auto;
    transition: opacity var(--transition-fast);
}

.navbar-brand:hover .brand-logo {
    opacity: 0.85;
}

.navbar-brand .brand-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    color: #fff;
    font-size: 1.25rem;
}

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

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9375rem;
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

/* Dropdown */
.nav-item {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 0.5rem;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    box-shadow: var(--shadow-xl);
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(5px);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.dropdown-item:hover {
    background: var(--bg-light);
    color: var(--primary);
}

.dropdown-item i {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    color: var(--text-white);
}

.dropdown-item strong {
    display: block;
    color: var(--text-dark);
    font-weight: 600;
}

.dropdown-item span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: all var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 8rem 0 5rem;
    background: var(--gradient-hero);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

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

.hero-text {
    max-width: 600px;
}

.hero-text .badge {
    margin-bottom: 1.5rem;
}

.hero-text h1 {
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero-text p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: var(--text-muted);
}

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

.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(124, 58, 237, 0.2);
}

.hero-stat h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
}

.hero-visual {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
}

/* Dashboard Preview */
.dashboard-preview {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: 1rem;
    box-shadow: var(--shadow-2xl);
    border: 1px solid var(--border-light);
}

.dashboard-preview-header {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.dashboard-preview-header span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dashboard-preview-header span:nth-child(1) { background: #ef4444; }
.dashboard-preview-header span:nth-child(2) { background: #fbbf24; }
.dashboard-preview-header span:nth-child(3) { background: #22c55e; }

.dashboard-preview-content {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.hero-float-card {
    position: absolute;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
}

.hero-float-card.card-1 {
    top: 15%;
    left: -30px;
}

.hero-float-card.card-2 {
    bottom: 20%;
    right: -30px;
    animation-delay: -3s;
}

.hero-float-card i {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    font-size: 1rem;
    color: var(--text-white);
}

.hero-float-card .card-content h4 {
    font-size: 0.9375rem;
    margin-bottom: 0.125rem;
}

.hero-float-card .card-content p {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin: 0;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    text-align: center;
    transition: all var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.1);
    border-color: var(--primary-light);
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    margin: 0 auto 1.25rem;
    font-size: 1.25rem;
    color: var(--text-white);
}

.feature-card h4 {
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.feature-card p {
    font-size: 0.9375rem;
    margin: 0;
    color: var(--text-muted);
}

/* AI Features Section (dark) */
.ai-features-section {
    background: var(--gradient-dark);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.ai-features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%237c3aed' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.ai-feature-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.ai-feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(124, 58, 237, 0.5);
    box-shadow: 0 25px 50px -12px rgba(124, 58, 237, 0.25);
}

.ai-feature-card .icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 16px;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
    color: #fff;
}

.ai-feature-card .ai-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--gradient-primary);
    color: #fff;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ai-feature-card h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.ai-feature-card p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.ai-feature-card ul {
    list-style: none;
}

.ai-feature-card ul li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.75rem;
    font-size: 0.9375rem;
}

.ai-feature-card ul li i {
    color: var(--accent-cyan);
    font-size: 0.875rem;
}

.ai-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

/* Big Number Stat */
.big-stat-section {
    background: var(--gradient-primary);
    padding: 5rem 0;
    text-align: center;
}

.big-stat {
    color: #fff;
}

.big-stat h2 {
    font-size: 6rem;
    font-weight: 800;
    margin: 0;
    text-shadow: 0 4px 30px rgba(0,0,0,0.2);
    color: #fff;
}

.big-stat p {
    font-size: 1.5rem;
    opacity: 0.95;
    margin: 0.5rem 0 0 0;
    color: rgba(255,255,255,0.95);
}

.big-stat small {
    display: block;
    margin-top: 1rem;
    opacity: 0.8;
    font-size: 1rem;
    color: rgba(255,255,255,0.8);
}

/* PWA / Mobile Apps Section */
.pwa-section {
    background: #fff;
    padding: 6rem 0;
}

.pwa-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.pwa-card {
    background: linear-gradient(135deg, #faf5ff 0%, #fdf2f8 100%);
    border: 2px solid transparent;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.pwa-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.15);
}

.pwa-card .phone-mockup {
    width: 100px;
    height: 180px;
    background: #1a1a2e;
    border-radius: 20px;
    margin: 0 auto 1.5rem;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3), inset 0 0 0 2px #333;
    overflow: hidden;
}

.pwa-card .phone-mockup::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 5px;
    background: #0f0f1a;
    border-radius: 3px;
    z-index: 10;
}

.pwa-card .phone-mockup .phone-screen {
    position: absolute;
    top: 16px;
    left: 6px;
    right: 6px;
    bottom: 8px;
    background: linear-gradient(180deg, #7c3aed 0%, #a855f7 50%, #c084fc 100%);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 6px;
    overflow: hidden;
}

.pwa-card .phone-mockup .phone-screen .screen-header {
    width: 100%;
    height: 8px;
    background: rgba(255,255,255,0.2);
    border-radius: 4px;
    margin-bottom: 8px;
}

.pwa-card .phone-mockup .phone-screen .screen-avatar {
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
}

.pwa-card .phone-mockup .phone-screen .screen-avatar i {
    font-size: 16px;
    color: #7c3aed;
}

.pwa-card .phone-mockup .phone-screen .screen-lines {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 6px;
}

.pwa-card .phone-mockup .phone-screen .screen-line {
    height: 6px;
    background: rgba(255,255,255,0.3);
    border-radius: 3px;
}

.pwa-card .phone-mockup .phone-screen .screen-line:nth-child(1) { width: 80%; }
.pwa-card .phone-mockup .phone-screen .screen-line:nth-child(2) { width: 60%; }
.pwa-card .phone-mockup .phone-screen .screen-line:nth-child(3) { width: 70%; }

.pwa-card .phone-mockup .phone-screen .screen-buttons {
    display: flex;
    gap: 6px;
    margin-top: auto;
    width: 100%;
    justify-content: center;
}

.pwa-card .phone-mockup .phone-screen .screen-btn {
    width: 24px;
    height: 24px;
    background: rgba(255,255,255,0.9);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pwa-card .phone-mockup .phone-screen .screen-btn i {
    font-size: 10px;
    color: #7c3aed;
}

.pwa-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #0f172a;
}

.pwa-card p {
    color: #64748b;
    font-size: 0.9375rem;
    margin: 0;
}

.pwa-card .features-list {
    margin-top: 1.5rem;
    text-align: left;
    list-style: none;
}

.pwa-card .features-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #475569;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.pwa-card .features-list li i {
    color: var(--primary);
}

/* Module Cards */
.module-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.module-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.1);
}

.module-card .icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 12px;
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    color: #fff;
}

.module-card h4 {
    margin-bottom: 0.75rem;
    color: #0f172a;
}

.module-card p {
    font-size: 0.9375rem;
    margin-bottom: 1rem;
    color: #64748b;
}

.module-card ul {
    list-style: none;
}

.module-card ul li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #475569;
    margin-bottom: 0.5rem;
}

.module-card ul li i {
    color: var(--primary);
    font-size: 0.75rem;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Stats Section */
.stats-section {
    background: var(--gradient-primary);
    padding: 3.5rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

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

.stat-item h3 {
    font-size: 2.5rem;
    margin-bottom: 0.25rem;
    color: var(--text-white);
}

.stat-item p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9375rem;
    margin: 0;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.testimonial-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition: all var(--transition);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
}

.testimonial-card .stars {
    color: #f59e0b;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.testimonial-card blockquote {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    line-height: 1.7;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial-author .author-info h5 {
    font-size: 0.9375rem;
    margin-bottom: 0.125rem;
}

.testimonial-author .author-info p {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin: 0;
}

/* Testimonial Highlight */
.testimonial-highlight {
    background: linear-gradient(135deg, #faf5ff 0%, #fdf2f8 100%);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    margin-top: 3rem;
}

.testimonial-highlight blockquote {
    font-size: 1.5rem;
    color: #0f172a;
    font-style: italic;
    margin: 0 0 1.5rem 0;
    line-height: 1.6;
}

.testimonial-highlight .author-info h5 {
    margin: 0;
    color: #0f172a;
}

.testimonial-highlight .author-info p {
    margin: 0;
    color: #64748b;
    font-size: 0.875rem;
}

/* CTA Section */
.cta-section {
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.2) 0%, transparent 60%);
}

.cta-content {
    position: relative;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 1rem 0;
    z-index: 1;
}

.cta-content h2 {
    margin-bottom: 1rem;
    color: var(--text-white);
}

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

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

/* Footer */
.footer {
    background: var(--bg-dark);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.footer .navbar-brand {
    margin-bottom: 1rem;
    display: inline-flex;
}

.footer .navbar-brand .brand-logo {
    height: 42px;
}

.footer-brand p {
    margin: 0 0 1.5rem;
    max-width: 280px;
    color: var(--text-light);
    font-size: 0.9375rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-dark-secondary);
    border-radius: var(--radius);
    color: var(--text-light);
    transition: all var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--text-white);
}

.footer-col h4 {
    font-size: 0.9375rem;
    margin-bottom: 1.25rem;
    color: var(--text-white);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.625rem;
}

.footer-links a {
    color: var(--text-light);
    font-size: 0.9375rem;
    transition: color var(--transition-fast);
}

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

.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.875rem;
    color: var(--text-light);
    font-size: 0.9375rem;
}

.footer-contact i {
    color: var(--secondary);
    width: 18px;
    flex-shrink: 0;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--bg-dark-secondary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: var(--text-light);
    font-size: 0.875rem;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: var(--text-light);
    font-size: 0.875rem;
}

.footer-bottom-links a:hover {
    color: var(--secondary-light);
}

/* Page Header */
.page-header {
    padding: 9rem 0 3rem;
    background: var(--gradient-hero);
    position: relative;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.breadcrumb a {
    color: var(--text-muted);
}

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

.breadcrumb span {
    color: var(--text-light);
}

.page-header h1 {
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.125rem;
    max-width: 550px;
    color: var(--text-muted);
}

/* Product Hero */
.product-hero {
    padding: 9rem 0 4rem;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

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

.product-hero-content {
    position: relative;
    z-index: 1;
}

.product-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.product-logo-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    font-size: 2rem;
    color: var(--text-white);
    background: var(--gradient-primary);
}

.product-logo h1 {
    font-size: 2.25rem;
    margin: 0;
}

.product-hero-content .tagline {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.75rem;
}

.product-hero-content p {
    font-size: 1.0625rem;
    margin-bottom: 1.75rem;
    color: var(--text-muted);
}

.product-hero-visual {
    position: relative;
}

/* Contact Section */
.contact-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h2 {
    margin-bottom: 1rem;
}

.contact-info > p {
    margin-bottom: 2rem;
    color: var(--text-muted);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-method i {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    font-size: 1rem;
    color: var(--text-white);
    flex-shrink: 0;
}

.contact-method h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.contact-method p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9375rem;
}

.contact-method a {
    color: var(--text-muted);
}

.contact-method a:hover {
    color: var(--primary);
}

.contact-form-wrapper {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

.contact-form-wrapper h3 {
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 0.75rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
    background: var(--bg-white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* About Page */
.about-hero {
    padding: 9rem 0 4rem;
    background: var(--gradient-hero);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h1 {
    margin-bottom: 1.25rem;
}

.about-text p {
    font-size: 1.0625rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.about-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.value-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    text-align: center;
    transition: all var(--transition);
}

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

.value-card i {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    margin: 0 auto 1.25rem;
    font-size: 1.25rem;
    color: var(--text-white);
}

.value-card h4 {
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.value-card p {
    font-size: 0.9375rem;
    margin: 0;
    color: var(--text-muted);
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--gradient-primary);
}

.timeline-item {
    display: flex;
    margin-bottom: 2.5rem;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-item:nth-child(odd) .timeline-content {
    text-align: right;
    padding-right: 2.5rem;
    padding-left: 0;
}

.timeline-item:nth-child(even) .timeline-content {
    padding-left: 2.5rem;
}

.timeline-content {
    width: 50%;
}

.timeline-content .year {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.375rem;
}

.timeline-content h4 {
    margin-bottom: 0.375rem;
    font-size: 1.125rem;
}

.timeline-content p {
    font-size: 0.9375rem;
    color: var(--text-muted);
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: start;
}

.pricing-card {
    background: var(--bg-white);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    text-align: center;
    transition: all var(--transition);
    position: relative;
}

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

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.15);
}

.pricing-card .popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: #fff;
    padding: 0.35rem 1.5rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

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

.pricing-card .price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin: 1rem 0;
}

.pricing-card .price small {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
}

.pricing-card .pricing-features {
    list-style: none;
    text-align: left;
    margin: 1.5rem 0;
}

.pricing-card .pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--bg-gray);
}

.pricing-card .pricing-features li i {
    color: var(--primary);
    font-size: 0.875rem;
}

.pricing-card .btn {
    width: 100%;
    margin-top: 1rem;
}

/* Contact Pricing Box */
.contact-pricing {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);
    border: 2px solid rgba(124, 58, 237, 0.2);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    margin-top: 2rem;
}

.contact-pricing h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.contact-pricing p {
    color: #64748b;
    margin: 0.5rem 0 1.5rem 0;
}

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

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #64748b;
    font-size: 0.9375rem;
}

.trust-badge i {
    font-size: 1.5rem;
    color: var(--primary);
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    width: 60px !important;
    height: 60px !important;
    background: #25D366 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4) !important;
    z-index: 99999 !important;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5) !important;
}

.whatsapp-float i {
    color: #fff !important;
    font-size: 28px !important;
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Alert Messages */
.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
}

.alert-success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #16a34a;
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #dc2626;
}

.loading {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s ease-in-out infinite;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .hero .container,
    .product-hero .container,
    .about-content,
    .contact-section .container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hero-visual {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }

    .hero-text {
        text-align: center;
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .features-grid,
    .testimonials-grid,
    .about-values,
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .ai-features-grid {
        grid-template-columns: 1fr;
    }

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

    .modules-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-white);
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 1.5rem 2rem;
        gap: 0.75rem;
        transition: right var(--transition);
        border-left: 1px solid var(--border-light);
        box-shadow: var(--shadow-2xl);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-item .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0.5rem 0 0 1rem;
        min-width: auto;
    }

    .menu-toggle {
        display: flex;
        z-index: 1001;
    }

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

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

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

    .section {
        padding: 3.5rem 0;
    }

    .hero {
        padding: 7rem 0 3rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.25rem;
        align-items: center;
    }

    .hero-float-card {
        display: none;
    }

    .stats-grid {
        gap: 1.25rem;
    }

    .stat-item h3 {
        font-size: 2rem;
    }

    .big-stat h2 {
        font-size: 4rem;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .fitplex-hero h1 {
        font-size: 2rem;
    }
}

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

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }
}

/* SEO Page Specific Styles */
.seo-hero {
    background: var(--gradient-hero);
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
}

.seo-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.seo-hero h1 {
    color: #0f172a;
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.seo-hero p {
    color: #475569;
    font-size: 1.125rem;
    margin-bottom: 2rem;
    max-width: 600px;
}

.seo-stats-bar {
    background: var(--gradient-primary);
    padding: 3rem 0;
}

.seo-features {
    padding: 80px 0;
    background: #fff;
}

.seo-cta {
    padding: 80px 0;
    background: var(--gradient-primary);
    text-align: center;
}

.seo-cta h2 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.seo-cta p {
    color: rgba(255,255,255,0.9);
    font-size: 1.125rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
