/* ================================================
   StoreMate - Modern Landing Page Styles
   ================================================ */

/* CSS Variables */
:root {
    /* Colors */
    --primary: #007AFF;
    --primary-dark: #0055CC;
    --primary-light: #4DA3FF;

    --purple: #6366F1;
    --purple-light: #A855F7;
    --green: #10B981;
    --orange: #F59E0B;
    --pink: #EC4899;
    --cyan: #06B6D4;
    --red: #EF4444;

    --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;

    --white: #FFFFFF;
    --black: #000000;

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

    /* Spacing */
    --section-padding: 120px;
    --container-width: 1200px;

    /* Borders */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -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);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 200ms ease;
    --transition-slow: 300ms ease;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-900);
    background: var(--white);
    overflow-x: hidden;
}

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

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

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

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ================================================
   Navigation
   ================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition-base);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 20px;
    color: var(--gray-900);
}

.logo-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

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

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

.nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--gray-900);
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
}

.nav-cta:hover {
    background: var(--gray-800);
    transform: translateY(-1px);
}

.nav-cta svg {
    width: 18px;
    height: 18px;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

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

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 24px;
    border-bottom: 1px solid var(--gray-200);
    flex-direction: column;
    gap: 16px;
    z-index: 999;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    font-size: 16px;
    font-weight: 500;
    color: var(--gray-700);
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-100);
}

.mobile-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    background: var(--gray-900);
    color: var(--white) !important;
    border-radius: var(--radius-lg);
    margin-top: 8px;
}

/* ================================================
   Hero Section
   ================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 24px 80px;
    padding-left: calc((100vw - var(--container-width)) / 2 + 24px);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse at center, rgba(0, 122, 255, 0.08) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(0, 122, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 122, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
}

/* Floating Language Cards - Hidden for cleaner look */
.floating-elements {
    display: none;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.1), rgba(99, 102, 241, 0.1));
    border: 1px solid rgba(0, 122, 255, 0.2);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease;
}

.badge-icon {
    font-size: 16px;
}

.hero h1 {
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease 0.1s backwards;
}

.hero-title-line {
    display: block;
    color: var(--gray-900);
}

.hero-title-gradient {
    display: block;
    background: linear-gradient(135deg, var(--primary), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.7;
    color: var(--gray-600);
    margin-bottom: 32px;
    animation: fadeInUp 0.6s ease 0.2s backwards;
}

.hero-subtitle strong {
    color: var(--gray-900);
    font-weight: 600;
}

/* Hero CTA Buttons */
.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    animation: fadeInUp 0.6s ease 0.3s backwards;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    box-shadow: 0 4px 14px rgba(0, 122, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 122, 255, 0.5);
}

.btn-secondary {
    background: var(--white);
    color: var(--gray-700);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--gray-50);
    border-color: var(--gray-300);
}

.btn-outline {
    background: transparent;
    color: var(--gray-700);
    border: 2px solid var(--gray-200);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    animation: fadeInUp 0.6s ease 0.4s backwards;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 32px;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: var(--gray-500);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--gray-200);
}

/* Hero Mockup */
.hero-mockup {
    position: absolute;
    right: -5%;
    top: 50%;
    transform: translateY(-50%);
    width: 55%;
    max-width: 700px;
    z-index: 1;
    animation: fadeInRight 0.8s ease 0.3s backwards;
}

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

@keyframes fadeInRight {
    from { opacity: 0; transform: translate(50px, -50%); }
    to { opacity: 1; transform: translate(0, -50%); }
}

.mockup-window {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

.mockup-header {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
}

.mockup-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #FF5F56; }
.dot.yellow { background: #FFBD2E; }
.dot.green { background: #27C93F; }

.mockup-title {
    flex: 1;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-500);
    margin-right: 52px;
}

.mockup-content {
    display: flex;
    min-height: 400px;
}

.mockup-sidebar {
    width: 180px;
    background: var(--gray-50);
    border-right: 1px solid var(--gray-200);
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-600);
    transition: var(--transition-fast);
}

.sidebar-item.active {
    background: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.mockup-main {
    flex: 1;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    align-content: start;
}

.mockup-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
}

.card-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.card-icon.blue { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); }
.card-icon.purple { background: linear-gradient(135deg, var(--purple), var(--purple-light)); }
.card-icon.green { background: linear-gradient(135deg, var(--green), #059669); }

.card-info {
    display: flex;
    flex-direction: column;
}

.card-value {
    font-size: 22px;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1;
}

.card-label {
    font-size: 12px;
    color: var(--gray-500);
    margin-top: 2px;
}

.mockup-activity {
    grid-column: span 3;
    padding: 18px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
}

.activity-header {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 14px;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-200);
    font-size: 13px;
    color: var(--gray-600);
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-icon {
    font-size: 16px;
}

/* ================================================
   Logos Section
   ================================================ */
.logos-section {
    padding: 60px 24px;
    background: var(--gray-50);
    border-top: 1px solid var(--gray-100);
    border-bottom: 1px solid var(--gray-100);
}

.logos-title {
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-500);
    margin-bottom: 32px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logos-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.logo-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gray-400);
    transition: var(--transition-base);
}

.logo-item:hover {
    color: var(--gray-600);
}

.logo-item span {
    font-size: 16px;
    font-weight: 600;
}

/* ================================================
   Features Section
   ================================================ */
.features {
    padding: var(--section-padding) 24px;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 64px;
}

.section-badge {
    display: inline-block;
    padding: 6px 14px;
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.1), rgba(99, 102, 241, 0.1));
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 18px;
    color: var(--gray-500);
    line-height: 1.7;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    padding: 32px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    transition: var(--transition-base);
}

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

.feature-card.feature-large {
    grid-column: span 3;
    display: flex;
    align-items: flex-start;
    gap: 24px;
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.03), rgba(99, 102, 241, 0.03));
}

.feature-card.feature-large .feature-icon {
    flex-shrink: 0;
    margin-bottom: 0;
}

.feature-card.feature-large .feature-content {
    flex: 1;
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin-bottom: 20px;
}

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

.feature-icon.purple { background: linear-gradient(135deg, var(--purple), var(--purple-light)); }
.feature-icon.green { background: linear-gradient(135deg, var(--green), #059669); }
.feature-icon.orange { background: linear-gradient(135deg, var(--orange), #D97706); }
.feature-icon.pink { background: linear-gradient(135deg, var(--pink), #DB2777); }
.feature-icon.cyan { background: linear-gradient(135deg, var(--cyan), #0891B2); }

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.7;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.feature-tags span {
    padding: 6px 12px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-600);
}

/* ================================================
   How It Works Section
   ================================================ */
.how-it-works {
    padding: var(--section-padding) 24px;
    background: var(--gray-50);
}

.steps-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.step {
    flex: 1;
    max-width: 320px;
    text-align: center;
    padding: 0 24px;
}

.step-number {
    font-size: 64px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 24px;
}

.step-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin-bottom: 24px;
    box-shadow: 0 8px 24px rgba(0, 122, 255, 0.3);
}

.step-icon.purple {
    background: linear-gradient(135deg, var(--purple), var(--purple-light));
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
}

.step-icon.green {
    background: linear-gradient(135deg, var(--green), #059669);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
}

.step-icon svg {
    width: 32px;
    height: 32px;
}

.step h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.step p {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.7;
}

.step-connector {
    width: 100px;
    padding-top: 100px;
    color: var(--gray-300);
}

/* ================================================
   Showcase Section
   ================================================ */
.showcase {
    padding: var(--section-padding) 24px;
}

.showcase-grid {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 40px;
    margin-bottom: 64px;
}

.showcase-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.device-frame {
    background: var(--gray-900);
    border-radius: 36px;
    padding: 12px;
    box-shadow: var(--shadow-2xl);
}

.device-frame.iphone {
    width: 220px;
}

.device-frame.ipad {
    width: 360px;
    border-radius: 24px;
    padding: 16px;
}

.device-frame.watch {
    width: 140px;
    border-radius: 40px;
    padding: 10px;
}

.device-screen {
    border-radius: 28px;
    overflow: hidden;
    aspect-ratio: 9/19.5;
}

.device-frame.ipad .device-screen {
    border-radius: 12px;
    aspect-ratio: 4/3;
}

.device-frame.watch .device-screen {
    border-radius: 32px;
    aspect-ratio: 1/1.2;
}

.screen-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.gradient-1 { background: linear-gradient(135deg, var(--primary), var(--purple)); }
.gradient-2 { background: linear-gradient(135deg, var(--purple), var(--pink)); }
.gradient-3 { background: linear-gradient(135deg, var(--green), var(--cyan)); }

.screen-text {
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

.device-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-500);
}

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

.templates-preview h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 24px;
}

.templates-row {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.template-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.template-preview {
    width: 80px;
    height: 120px;
    border-radius: var(--radius-md);
    background: var(--gray-100);
    border: 2px solid var(--gray-200);
    position: relative;
    overflow: hidden;
    transition: var(--transition-base);
}

.template-preview:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.template-preview::before,
.template-preview::after {
    content: '';
    position: absolute;
}

.t1::before {
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 60px;
    background: var(--gray-300);
    border-radius: 8px;
}

.t2::before {
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 12px;
    background: var(--gray-300);
    border-radius: 4px;
}
.t2::after {
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 45px;
    height: 55px;
    background: var(--gray-300);
    border-radius: 8px;
}

.t3::before {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-15deg);
    width: 45px;
    height: 65px;
    background: var(--gray-300);
    border-radius: 8px;
}

.t4::before {
    top: 50%;
    left: 30%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 50px;
    background: var(--gray-300);
    border-radius: 6px;
}
.t4::after {
    top: 50%;
    left: 70%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 50px;
    background: var(--gray-400);
    border-radius: 6px;
}

.t5::before {
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 60px;
    background: var(--gray-300);
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.template-item span {
    font-size: 12px;
    font-weight: 500;
    color: var(--gray-500);
}

/* ================================================
   Pricing Section
   ================================================ */
.pricing {
    padding: 80px 24px;
    background: var(--gray-50);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    transition: var(--transition-base);
    position: relative;
}

.pricing-card:hover {
    border-color: var(--gray-300);
    box-shadow: var(--shadow-lg);
}

.pricing-card.popular {
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-xl);
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 16px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-header {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--gray-200);
}

.pricing-header h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.price {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
    margin-bottom: 8px;
}

.price .currency {
    font-size: 24px;
    font-weight: 600;
    color: var(--gray-900);
    margin-top: 8px;
}

.price .amount {
    font-size: 56px;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1;
}

.price .period {
    font-size: 16px;
    color: var(--gray-500);
    margin-top: auto;
    margin-bottom: 8px;
}

.pricing-header p {
    font-size: 14px;
    color: var(--gray-500);
}

.pricing-features {
    list-style: none;
    flex: 1;
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-size: 15px;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-100);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li svg {
    width: 20px;
    height: 20px;
    color: var(--green);
    flex-shrink: 0;
}

.pricing-features li.disabled {
    color: var(--gray-400);
}

.pricing-features li.disabled svg {
    color: var(--gray-300);
}

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

/* ================================================
   FAQ Section
   ================================================ */
.faq {
    padding: var(--section-padding) 24px;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-base);
}

.faq-item:hover {
    border-color: var(--gray-300);
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-900);
    text-align: left;
    cursor: pointer;
    transition: var(--transition-fast);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question svg {
    width: 20px;
    height: 20px;
    color: var(--gray-400);
    transition: var(--transition-base);
    flex-shrink: 0;
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 24px 24px;
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ================================================
   CTA Section
   ================================================ */
.cta {
    position: relative;
    padding: 100px 24px;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.cta-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary), var(--purple));
}

.cta-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
}

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

.cta h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}

.cta p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    margin-bottom: 32px;
}

.btn-white {
    background: var(--white);
    color: var(--gray-900);
    padding: 16px 32px;
    box-shadow: var(--shadow-xl);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.btn-large {
    font-size: 16px;
}

.btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.btn-small {
    font-size: 11px;
    font-weight: 400;
    opacity: 0.7;
}

.btn-large {
    font-size: 17px;
    font-weight: 700;
}

.cta-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.cta-info .dot {
    opacity: 0.3;
}

/* ================================================
   Footer
   ================================================ */
.footer {
    padding: 80px 24px 40px;
    background: var(--gray-900);
    color: var(--white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand {
    max-width: 280px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 20px;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-logo .logo-icon {
    border-radius: var(--radius-sm);
}

.footer-brand p {
    font-size: 14px;
    color: var(--gray-400);
    margin-bottom: 24px;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--gray-800);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: var(--transition-fast);
}

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

.social-links svg {
    width: 18px;
    height: 18px;
}

.footer-links h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links a {
    display: block;
    font-size: 14px;
    color: var(--gray-400);
    padding: 8px 0;
    transition: var(--transition-fast);
}

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

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 32px;
    border-top: 1px solid var(--gray-800);
}

.footer-bottom p {
    font-size: 14px;
    color: var(--gray-500);
}

.footer-bottom .heart {
    color: var(--red);
}

/* ================================================
   Responsive Design
   ================================================ */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        padding: 120px 24px 60px;
        padding-left: 24px;
        min-height: auto;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
        margin-bottom: 48px;
    }

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

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

    .hero-mockup {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        width: 100%;
        max-width: 600px;
    }

    .floating-elements {
        display: none;
    }

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

    .feature-card.feature-large {
        grid-column: span 2;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .pricing-card.popular {
        transform: none;
        order: -1;
    }

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

@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
    }

    .nav-links {
        display: none;
    }

    .nav-cta {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

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

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

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

    .stat-divider {
        display: none;
    }

    .mockup-sidebar {
        display: none;
    }

    .mockup-main {
        grid-template-columns: 1fr;
    }

    .mockup-activity {
        grid-column: span 1;
    }

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

    .feature-card.feature-large {
        grid-column: span 1;
        flex-direction: column;
    }

    .steps-container {
        flex-direction: column;
        gap: 48px;
    }

    .step-connector {
        display: none;
    }

    .showcase-grid {
        flex-wrap: wrap;
    }

    .device-frame.ipad {
        width: 280px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-brand {
        max-width: 100%;
    }

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

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

    .hero {
        padding: 100px 16px 40px;
    }

    .logos-grid {
        gap: 32px;
    }

    .logo-item span {
        display: none;
    }

    .templates-row {
        gap: 16px;
    }

    .template-preview {
        width: 60px;
        height: 90px;
    }

    .cta-info {
        flex-wrap: wrap;
        gap: 8px;
    }
}

/* Scroll animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ================================================
   Language Dropdown
   ================================================ */
.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lang-dropdown {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: var(--gray-100);
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
    cursor: pointer;
    transition: var(--transition-fast);
}

.lang-btn:hover {
    background: var(--gray-200);
}

.lang-btn svg {
    color: var(--gray-500);
}

.lang-btn .chevron {
    transition: transform var(--transition-fast);
}

.lang-dropdown.active .lang-btn .chevron {
    transform: rotate(180deg);
}

.lang-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 160px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-fast);
    z-index: 100;
}

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

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    background: none;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
    cursor: pointer;
    transition: var(--transition-fast);
}

.lang-option:hover {
    background: var(--gray-100);
}

.lang-option.active {
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.1), rgba(99, 102, 241, 0.1));
    color: var(--primary);
}

.lang-flag {
    font-size: 18px;
}

/* ================================================
   Legal Pages Styles
   ================================================ */
.legal-page {
    padding: 140px 24px 80px;
    min-height: 100vh;
}

.legal-header {
    text-align: center;
    margin-bottom: 48px;
}

.legal-header h1 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.legal-updated {
    font-size: 14px;
    color: var(--gray-500);
}

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

.legal-highlight {
    display: flex;
    gap: 20px;
    padding: 28px;
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.05), rgba(99, 102, 241, 0.05));
    border: 1px solid rgba(0, 122, 255, 0.2);
    border-radius: var(--radius-xl);
    margin-bottom: 48px;
}

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

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

.highlight-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.highlight-content p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.7;
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gray-200);
}

.legal-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-800);
    margin: 24px 0 12px;
}

.legal-section h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 8px;
}

.legal-section p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 16px;
}

.legal-section ul,
.legal-section ol {
    margin: 16px 0;
    padding-left: 24px;
}

.legal-section li {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 8px;
}

.legal-section a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

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

.legal-note {
    padding: 20px;
    background: var(--gray-50);
    border-left: 4px solid var(--primary);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin: 20px 0;
}

.legal-note.warning {
    background: rgba(239, 68, 68, 0.05);
    border-left-color: var(--red);
}

.legal-note p {
    margin-bottom: 12px;
}

.legal-note ul {
    margin: 8px 0;
}

/* Security Features */
.security-feature {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    margin: 20px 0;
    transition: var(--transition-base);
}

.security-feature:hover {
    border-color: var(--gray-300);
    box-shadow: var(--shadow-md);
}

.security-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--green), #059669);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

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

.security-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.security-content p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.7;
    margin: 0;
}

/* Legal Summary */
.legal-summary {
    margin-top: 48px;
    padding: 32px;
    background: var(--gray-50);
    border-radius: var(--radius-xl);
}

.legal-summary h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 24px;
    text-align: center;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.summary-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: var(--white);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
}

.summary-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.summary-item.green svg {
    color: var(--green);
}

.summary-item.blue svg {
    color: var(--primary);
}

/* Nav Links Active State */
.nav-links a.active {
    color: var(--primary);
}

/* Responsive for Legal Pages */
@media (max-width: 768px) {
    .legal-highlight {
        flex-direction: column;
        text-align: center;
    }

    .highlight-icon {
        margin: 0 auto;
    }

    .security-feature {
        flex-direction: column;
    }

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

    .nav-right {
        display: none;
    }
}

@media (max-width: 480px) {
    .summary-grid {
        grid-template-columns: 1fr;
    }
}