/* ========================================
   ASTRO FRANCHISE - Premium Styles
   ======================================== */

/* CSS Variables */
:root {
    /* Colors */
    --color-primary: #6B21A8;
    --color-primary-light: #9333EA;
    --color-primary-dark: #581C87;
    --color-accent: #F59E0B;
    --color-accent-light: #FCD34D;
    
    /* Backgrounds */
    --bg-primary: #FFFFFF;
    --bg-secondary: #FAF5FF;
    --bg-dark: #1E1B2E;
    --bg-gradient-start: #F3E8FF;
    --bg-gradient-end: #FFFFFF;
    
    /* Text */
    --text-primary: #1F2937;
    --text-secondary: #6B7280;
    --text-light: #9CA3AF;
    --text-white: #FFFFFF;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #9333EA 0%, #6B21A8 100%);
    --gradient-accent: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    --gradient-text: linear-gradient(135deg, #9333EA 0%, #EC4899 50%, #F59E0B 100%);
    --gradient-hero: linear-gradient(180deg, #F3E8FF 0%, #FFFFFF 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(107, 33, 168, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(107, 33, 168, 0.1), 0 2px 4px -1px rgba(107, 33, 168, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(107, 33, 168, 0.1), 0 4px 6px -2px rgba(107, 33, 168, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(107, 33, 168, 0.1), 0 10px 10px -5px rgba(107, 33, 168, 0.04);
    --shadow-glow: 0 0 40px rgba(147, 51, 234, 0.3);
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --section-padding: 120px;
    --container-max: 1280px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

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

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

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

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

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

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

ul, ol {
    list-style: none;
}

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

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

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

table {
    padding-bottom: 15px;
}
.seo-text-content h3 {
    margin-bottom: 20px;
}

.seo-text-content a {
  color: black;
}

.seo-text-content ul {
    list-style-type: disc !important;
    padding-left: 25px !important;  
    margin-bottom: 20px;            
}


.seo-text-content li {
    margin-bottom: 10px; 
    line-height: 1.5;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition-base);
    white-space: nowrap;
}

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

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

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

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

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

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

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

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

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

.btn-block {
    width: 100%;
}

.btn-icon {
    width: 20px;
    height: 20px;
    transition: var(--transition-base);
}

.btn:hover .btn-icon {
    transform: translateX(4px);
}

/* Section Styles */
.section {
    padding: var(--section-padding) 0;
    position: relative;
}

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

.section-label {
    display: inline-block;
    padding: 8px 16px;
    background: var(--bg-secondary);
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-full);
    margin-bottom: 20px;
}

.section-title {
    font-size: 48px;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Header */
.header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(107, 33, 168, 0.1);
    transition: var(--transition-base);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    box-shadow: var(--shadow-md);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.logo-subtitle {
    font-size: 11px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-base);
}

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

.nav-link:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.phone-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.phone-link:hover {
    color: var(--color-primary);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    padding: 24px;
    border-bottom: 1px solid rgba(107, 33, 168, 0.1);
    box-shadow: var(--shadow-lg);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-nav-link {
    font-size: 16px;
    font-weight: 500;
    padding: 12px 0;
    border-bottom: 1px solid var(--bg-secondary);
}

.mobile-btn {
    margin-top: 16px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
    background: var(--gradient-hero);
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.stars {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(147, 51, 234, 0.3), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(245, 158, 11, 0.3), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(147, 51, 234, 0.3), transparent),
        radial-gradient(2px 2px at 160px 120px, rgba(236, 72, 153, 0.3), transparent),
        radial-gradient(1px 1px at 230px 80px, rgba(147, 51, 234, 0.3), transparent);
    background-size: 250px 250px;
    animation: twinkle 5s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 8s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: rgba(147, 51, 234, 0.2);
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: rgba(245, 158, 11, 0.15);
    bottom: -100px;
    left: -100px;
    animation-delay: -2s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: rgba(236, 72, 153, 0.15);
    top: 50%;
    left: 30%;
    animation-delay: -4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(1.05); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 60px 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: var(--bg-primary);
    border: 1px solid rgba(147, 51, 234, 0.2);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 32px;
    box-shadow: var(--shadow-sm);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #10B981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.hero-title {
    font-size: 64px;
    line-height: 1.1;
    margin-bottom: 28px;
}

.hero-description {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 700px;
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-stats {
    display: flex;
    gap: 48px;
    margin-bottom: 48px;
    padding-top: 40px;
    border-top: 1px solid rgba(107, 33, 168, 0.1);
}

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

.stat-number {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    color: var(--color-primary);
}

.stat-label {
    font-size: 13px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--color-primary);
    border-radius: 13px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 2px;
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(12px); opacity: 0; }
}

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

.feature-card {
    padding: 32px;
    background: var(--bg-primary);
    border: 1px solid rgba(107, 33, 168, 0.1);
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
    position: relative;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(147, 51, 234, 0.2);
}

.feature-card.featured {
    background: var(--gradient-primary);
    color: var(--text-white);
    border: none;
}

.feature-card.featured .feature-title,
.feature-card.featured .feature-text {
    color: var(--text-white);
}

.feature-card.featured .feature-icon {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-white);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    margin-bottom: 20px;
}

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

.feature-title {
    font-size: 20px;
    margin-bottom: 12px;
}

.feature-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Tech Section */
.section-tech {
    background: var(--bg-secondary);
}

.tech-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.tech-content .section-title {
    text-align: left;
    margin-bottom: 24px;
}

.tech-lead {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
}

.tech-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.tech-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.tech-feature-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

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

.tech-feature-content h4 {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.tech-feature-content p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Tech Dashboard */
.tech-visual {
    position: relative;
}

.tech-dashboard {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 1px solid rgba(107, 33, 168, 0.1);
}

.dashboard-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--bg-secondary);
    border-bottom: 1px solid rgba(107, 33, 168, 0.1);
}

.dashboard-dots {
    display: flex;
    gap: 6px;
}

.dashboard-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dashboard-dots span:nth-child(1) { background: #EF4444; }
.dashboard-dots span:nth-child(2) { background: #F59E0B; }
.dashboard-dots span:nth-child(3) { background: #10B981; }

.dashboard-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}

.dashboard-content {
    padding: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.dashboard-card {
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
}

.card-label {
    font-size: 12px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.card-value {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--color-primary);
}

.card-trend {
    font-size: 12px;
    font-weight: 600;
    margin-top: 4px;
}

.card-trend.positive {
    color: #10B981;
}

.dashboard-chart {
    grid-column: span 2;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px;
    height: 100px;
    margin-bottom: 12px;
}

.bar {
    flex: 1;
    background: rgba(147, 51, 234, 0.2);
    border-radius: 4px 4px 0 0;
    transition: var(--transition-base);
}

.bar.active {
    background: var(--gradient-primary);
}

.chart-label {
    font-size: 12px;
    color: var(--text-light);
    text-align: center;
}

/* Calculator Section */
.section-calc {
    background: var(--gradient-hero);
}

.calc-container {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.calc-header {
    padding: 48px 48px 0;
    text-align: center;
}

.calc-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    padding: 48px;
}

.calc-controls {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.calc-slider {
    background: var(--bg-secondary);
    padding: 24px;
    border-radius: var(--radius-md);
}

.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.slider-header label {
    font-weight: 600;
    color: var(--text-primary);
}

.slider-value {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--color-primary);
}

.slider {
    width: 100%;
    height: 8px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(147, 51, 234, 0.1);
    border-radius: 4px;
    outline: none;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    background: var(--gradient-primary);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 13px;
    color: var(--text-light);
}

.calc-params {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.param-item {
    display: flex;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
}

.param-label {
    font-size: 14px;
    color: var(--text-secondary);
}

.param-value {
    font-weight: 600;
    color: var(--text-primary);
}

.calc-result {
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--text-white);
}

.result-label {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 12px;
}

.result-value {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 8px;
}

.result-note {
    font-size: 12px;
    opacity: 0.6;
    margin-bottom: 32px;
}

/* Tariffs Section */
.tariffs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

.tariff-card {
    background: var(--bg-primary);
    border: 2px solid rgba(107, 33, 168, 0.1);
    border-radius: var(--radius-xl);
    padding: 32px;
    transition: var(--transition-base);
    position: relative;
}

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

.tariff-card.popular {
    border-color: var(--color-primary);
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.tariff-card.popular:hover {
    transform: scale(1.05) translateY(-4px);
}

.tariff-card.premium {
    border-color: var(--color-accent);
}

.tariff-badge {
    position: absolute;
    top: -12px;
    right: 24px;
    padding: 6px 16px;
    background: var(--gradient-primary);
    color: var(--text-white);
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--radius-full);
}

.tariff-header {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(107, 33, 168, 0.1);
}

.tariff-name {
    font-size: 24px;
    margin-bottom: 16px;
}

.tariff-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 8px;
}

.price-value {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 700;
    color: var(--color-primary);
}

.tariff-card.premium .price-value {
    color: var(--color-accent);
}

.price-currency {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 600;
    color: var(--color-primary);
}

.tariff-desc {
    font-size: 14px;
    color: var(--text-secondary);
}

.tariff-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.tariff-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: var(--text-secondary);
}

.tariff-feature svg {
    width: 18px;
    height: 18px;
    color: #10B981;
    flex-shrink: 0;
    margin-top: 2px;
}

.tariff-feature.highlight {
    font-weight: 600;
    color: var(--text-primary);
}

/* Reviews Section */
.section-reviews {
    background: var(--bg-secondary);
}

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

.review-card {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    position: relative;
}

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

.review-card.featured {
    border: 2px solid var(--color-primary);
}

.review-badge {
    position: absolute;
    top: -10px;
    left: 24px;
    padding: 4px 12px;
    background: var(--gradient-primary);
    color: var(--text-white);
    font-size: 11px;
    font-weight: 600;
    border-radius: var(--radius-full);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.review-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--bg-secondary);
}

.review-name {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 2px;
}

.review-location {
    font-size: 13px;
    color: var(--text-light);
}

.review-content {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.review-content p {
    font-style: italic;
}

.review-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid rgba(107, 33, 168, 0.1);
}

.review-label {
    font-size: 12px;
    color: var(--text-light);
}

.review-profit {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: #10B981;
}

/* FAQ Section */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-primary);
    border: 1px solid rgba(107, 33, 168, 0.1);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-base);
    margin-bottom: 12px;
}

.faq-item:hover {
    border-color: rgba(147, 51, 234, 0.2);
}

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

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

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

.faq-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: var(--transition-base);
    color: var(--text-primary);
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow);
}

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

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

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

.cta-bg {
    position: absolute;
    inset: 0;
}

.cta-bg .stars {
    opacity: 0.3;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-white);
}

.cta-title {
    font-size: 42px;
    color: var(--text-white);
    margin-bottom: 20px;
}

.cta-description {
    font-size: 17px;
    opacity: 0.8;
    margin-bottom: 40px;
    line-height: 1.7;
}

.cta-form {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: 32px;
}

.form-row {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.form-field {
    flex: 1;
}

.form-field input {
    width: 100%;
    padding: 16px 20px;
    font-size: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    outline: none;
    transition: var(--transition-base);
}

.form-field input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-field input:focus {
    border-color: var(--color-primary-light);
    background: rgba(255, 255, 255, 0.15);
}

.form-message {
    font-size: 14px;
    margin-bottom: 16px;
    min-height: 20px;
}

.form-message.success {
    color: #10B981;
}

.form-message.error {
    color: #EF4444;
}

.form-consent {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.form-consent input {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    flex-shrink: 0;
    margin-top: 2px;
    position: relative;
    transition: var(--transition-base);
}

.form-consent input:checked + .checkmark {
    background: var(--color-primary-light);
    border-color: var(--color-primary-light);
}

.checkmark::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
    transition: var(--transition-base);
}

.form-consent input:checked + .checkmark::after {
    opacity: 1;
}

.consent-text {
    font-size: 12px;
    opacity: 0.7;
    text-align: left;
    line-height: 1.5;
}

.consent-text a {
    text-decoration: underline;
    opacity: 1;
}

.consent-text a:hover {
    color: var(--color-accent-light);
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    padding: 80px 0 40px;
}

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

.footer-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-top: 16px;
    max-width: 300px;
}

.footer-title {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 14px;
    color: var(--text-secondary);
    transition: var(--transition-base);
}

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

.footer-phone a,
.footer-email a {
    font-size: 14px;
    color: var(--text-secondary);
}

.footer-phone a:hover,
.footer-email a:hover {
    color: var(--color-primary);
}

.footer-disclaimer {
    color: var(--text-light);
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition-base);
}

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

.social-link svg {
    width: 20px;
    height: 20px;
}

.footer-seo {
    padding: 32px 0;
    border-top: 1px solid rgba(107, 33, 168, 0.1);
    border-bottom: 1px solid rgba(107, 33, 168, 0.1);
    margin-bottom: 32px;
}

.footer-seo-title {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 16px;
}

.footer-seo-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
}

.footer-seo-links a {
    font-size: 13px;
    color: var(--text-light);
}

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

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

.footer-copyright {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.footer-legal {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 16px;
}

.footer-legal a {
    font-size: 13px;
    color: var(--text-light);
}

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

.footer-requisites {
    font-size: 12px;
    color: var(--text-light);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    padding: 24px;
    overflow-y: auto;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    max-width: 700px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    padding: 40px;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: var(--transition-base);
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-close svg {
    width: 20px;
    height: 20px;
}

.modal-title {
    font-size: 28px;
    margin-bottom: 24px;
    padding-right: 40px;
}

.modal-body {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.modal-body h3 {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 24px 0 12px;
}

.modal-body h3:first-child {
    margin-top: 0;
}

.modal-body p {
    margin-bottom: 12px;
}

/* Responsive */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }
    
    .nav,
    .header-actions .phone-link {
        display: none;
    }
    
    .mobile-menu.active {
        display: block;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .calc-body {
        grid-template-columns: 1fr;
    }
    
    .tariffs-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .tariff-card.popular {
        transform: none;
        order: -1;
    }
    
    .tariff-card.popular:hover {
        transform: translateY(-4px);
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 36px;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 24px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 12px;
    }
    
    .modal-content {
        padding: 24px;
    }
}

/* Print */
@media print {
    .header,
    .scroll-indicator,
    .hero-bg,
    .cta-bg {
        display: none;
    }
    
    .hero {
        min-height: auto;
        padding: 40px 0;
    }
    
    .section {
        padding: 40px 0;
    }
}

/* Отдельный крестик в мобильном меню */
.mobile-close-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 40px;
    line-height: 1;
    cursor: pointer;
    z-index: 2002;
    padding: 10px;
}

/* ============================================
   MOBILE MENU STYLES - ДОБАВЬТЕ ЭТИ СТИЛИ
   ============================================ */

/* Кнопка гамбургера */
.menu-toggle {
    display: none !important; 
    position: relative !important;
    width: 30px !important;
    height: 24px !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    padding: 0 !important;
    z-index: 2001 !important; /* Вытаскиваем кнопку поверх открытого меню */
}

/* Показываем кнопку на мобилках и планшетах */
@media (max-width: 1024px) {
    .menu-toggle {
        display: block !important;
    }
}

.menu-toggle span {
    display: block !important;
    position: absolute !important;
    left: 0 !important;
    width: 100% !important;
    height: 3px !important;
    background-color: #1F2937 !important; /* Темные полоски, чтобы видно было на белом */
    border-radius: 2px !important;
    transition: all 0.3s ease !important;
    margin: 0 !important;
    transform: none !important;
}

/* Жесткая фиксация позиций 3-х полосок */
.menu-toggle span:nth-child(1) { top: 0px !important; }
.menu-toggle span:nth-child(2) { top: 10px !important; }
.menu-toggle span:nth-child(3) { top: 20px !important; }

/* Превращение в крестик при клике */
.menu-toggle.active span:nth-child(1) {
    top: 10px !important;
    transform: rotate(45deg) !important;
    background-color: #ffffff !important; /* Белый крестик на темном фоне меню */
}

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

.menu-toggle.active span:nth-child(3) {
    top: 10px !important;
    transform: rotate(-45deg) !important;
    background-color: #ffffff !important; /* Белый крестик на темном фоне меню */
}

/* Мобильное меню */
.mobile-menu {
    display: none; /* Скрыто по умолчанию */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #0b0f19;
    z-index: 1000;
    padding-top: 80px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 40px 20px;
}

.mobile-nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 500;
    padding: 15px;
    transition: color 0.3s ease;
}

.mobile-nav-link:hover {
    color: #6366f1;
}

.mobile-btn {
    margin-top: 20px;
    width: 100%;
    max-width: 300px;
}

/* Показываем кнопку гамбургера на мобильных */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav {
        display: none; /* Скрываем десктопную навигацию */
    }
    
    .header-actions .btn-primary {
        display: none; /* Скрываем кнопку в хедере на мобильных */
    }
}

/* Форма сообщений */
.form-message {
    margin-top: 10px;
    padding: 10px;
    border-radius: 4px;
    font-size: 0.9rem;
    display: none;
}

.form-message.success {
    display: block;
    background-color: #10b981;
    color: white;
}

.form-message.error {
    display: block;
    background-color: #ef4444;
    color: white;
}

/* Header scrolled state */
.header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
}
