/* CSS Variables */
:root {
    --primary-color: #667eea;
    --primary-dark: #5a6fd8;
    --primary-light: #f093fb;
    --secondary-color: #f093fb;
    --accent-color: #ffd89b;
    --text-dark: #2d3748;
    --text-light: #718096;
    --white: #ffffff;
    --light-bg: #f7fafc;
    --dark-bg: #1a202c;
    --border-color: #e2e8f0;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --transition: all 0.3s ease;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

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

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    box-shadow: var(--shadow);
}

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

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

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

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

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

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
}

.navbar {
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.logo i {
    font-size: 2rem;
}

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

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-color);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle .bar {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: var(--transition);
}

/* Main Content */
.main-content {
    margin-top: 80px;
}

/* Hero Section */
.hero {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    overflow: hidden;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><circle cx="200" cy="200" r="100" fill="rgba(255,255,255,0.1)"/><circle cx="800" cy="300" r="150" fill="rgba(255,255,255,0.05)"/><circle cx="400" cy="700" r="80" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: 100% 100%;
}

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

.hero-title {
    margin-bottom: 2rem;
    color: var(--white);
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

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

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
}

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

.hero-visual {
    position: relative;
    height: 400px;
}

.hero-image {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.floating-card {
    position: absolute;
    background: var(--white);
    color: var(--text-dark);
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: float 6s ease-in-out infinite;
}

.floating-card i {
    color: var(--primary-color);
}

.card-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: 10%;
    animation-delay: 2s;
}

.card-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

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

/* Services Preview */
.services-preview {
    padding: 100px 0;
    background: var(--light-bg);
}

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

.section-title {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

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

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2rem;
    color: var(--white);
}

.service-title {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.service-description {
    margin-bottom: 2rem;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.service-link:hover {
    transform: translateX(5px);
}

/* Benefits Section */
.benefits {
    padding: 100px 0;
}

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

.benefit-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.benefit-item {
    display: flex;
    gap: 1rem;
}

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

.benefit-content h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.benefits-visual {
    position: relative;
    height: 400px;
}

.benefits-image {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--light-bg), var(--border-color));
    border-radius: var(--border-radius-lg);
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.element-1 {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.element-2 {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    top: 60%;
    right: 30%;
    animation-delay: 3s;
}

.element-3 {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    bottom: 30%;
    left: 40%;
    animation-delay: 6s;
}

/* Clients Section - Animated Logo Slider */
.clients {
    padding: 80px 0;
    background: var(--light-bg);
    overflow: hidden;
}

.logos-slider {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    margin-top: 3rem;
}

.logos-track {
    display: inline-flex;
    animation: scroll-logos 30s linear infinite;
    gap: 3rem;
}

.client-logo {
    flex-shrink: 0;
    min-width: 250px;
    height: 120px;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    padding: 1.5rem 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    border: 2px solid transparent;
}

.client-logo:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: var(--shadow-lg);
    color: var(--primary-dark);
    border-color: var(--primary-color);
}

.client-logo span {
    white-space: normal;
    line-height: 1.3;
    letter-spacing: 0.5px;
}

/* Animation for infinite scroll */
@keyframes scroll-logos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pause animation on hover */
.logos-slider:hover .logos-track {
    animation-play-state: paused;
}

/* Fade effect on edges */
.logos-slider::before,
.logos-slider::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.logos-slider::before {
    left: 0;
    background: linear-gradient(to right, var(--light-bg), transparent);
}

.logos-slider::after {
    right: 0;
    background: linear-gradient(to left, var(--light-bg), transparent);
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

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

.cta-description {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.9);
}

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

/* Footer */
.footer {
    background: var(--dark-bg);
    color: var(--white);
    padding: 80px 0 20px;
}

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

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-description {
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.8);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.footer-title {
    color: var(--white);
    margin-bottom: 1.5rem;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item i {
    width: 20px;
    color: var(--primary-color);
}

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

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

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

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        padding: 2rem;
        transition: var(--transition);
        box-shadow: var(--shadow);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .benefits-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .client-logo {
        min-width: 200px;
        height: 100px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-stats {
        gap: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .client-logo {
        min-width: 180px;
        height: 80px;
        font-size: 0.9rem;
        padding: 1rem;
    }
}

/* Page Header */
.page-header {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    text-align: center;
}

.page-title {
    color: var(--white);
    margin-bottom: 1rem;
}

.page-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
}

/* Services Overview */
.services-overview {
    padding: 80px 0;
    background: var(--light-bg);
}

/* Service Detail Sections */
.service-detail {
    padding: 100px 0;
}

.service-detail.alt {
    background: var(--light-bg);
}

.service-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.service-icon-large {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 2rem;
}

.service-detail-title {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.service-detail-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Service Visuals */
.stats-box {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.stat-box {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
}

.stat-box .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-box .stat-label {
    color: var(--text-light);
    font-size: 0.9rem;
}

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

.ai-feature {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
}

.ai-feature i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.ai-feature h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

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

.tech-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.tech-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.tech-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.tech-item span {
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 500;
}

.seo-metrics {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.metric-item {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
}

.metric-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--white);
    font-size: 1.5rem;
}

.metric-item h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.local-benefits {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.benefit-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
}

.benefit-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.benefit-card h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

/* Process Section */
.our-process {
    padding: 100px 0;
    background: var(--light-bg);
}

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

.process-step {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin: 0 auto 2rem;
}

.step-content h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

/* Pricing Page Styles */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.pricing-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.pricing-card.featured {
    transform: scale(1.05);
    border: 2px solid var(--primary-color);
}

.pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.pricing-header {
    padding: 2rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.pricing-card.featured .pricing-header {
    padding-top: 3rem;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.plan-price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.plan-price-period {
    color: var(--text-light);
    font-size: 0.9rem;
}

.plan-description {
    margin-top: 1rem;
    color: var(--text-light);
}

.pricing-features {
    padding: 2rem;
}

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

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.5rem 0;
}

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

.pricing-footer {
    padding: 2rem;
    text-align: center;
}

/* Blog Styles */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.blog-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

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

.blog-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    position: relative;
    overflow: hidden;
}

.blog-content {
    padding: 2rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.blog-title {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.blog-excerpt {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.read-more:hover {
    transform: translateX(5px);
}

/* Contact Form */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 4rem;
}

.contact-form {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-content h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.info-content p {
    color: var(--text-light);
    margin: 0;
}

/* About Page */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.team-member {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    text-align: center;
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.member-photo {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    position: relative;
}

.member-info {
    padding: 2rem;
}

.member-name {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.member-role {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1rem;
}

.member-bio {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Responsive Design for Additional Components */
@media (max-width: 768px) {
    .service-detail-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .tech-stack {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 100px 0 60px;
    }
    
    .tech-stack {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
}

/* Pricing Section */
.pricing-section {
    padding: 100px 0;
}

/* Comparison Table */
.comparison-section {
    padding: 100px 0;
    background: var(--light-bg);
}

.comparison-table-wrapper {
    overflow-x: auto;
    margin-top: 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
}

.comparison-table {
    width: 100%;
    background: var(--white);
    border-collapse: collapse;
    min-width: 700px;
}

.comparison-table th,
.comparison-table td {
    padding: 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
    background: var(--primary-color);
    color: var(--white);
    font-weight: 600;
    text-align: center;
}

.comparison-table th:first-child {
    text-align: left;
}

.comparison-table td:first-child {
    font-weight: 500;
    color: var(--text-dark);
}

.comparison-table td:not(:first-child) {
    text-align: center;
}

.text-success {
    color: #28a745 !important;
}

.text-muted {
    color: var(--text-light) !important;
}

/* Add-ons Section */
.addons-section {
    padding: 100px 0;
}

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

.addon-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    padding: 2.5rem;
    text-align: center;
    transition: var(--transition);
}

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

.addon-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2rem;
    color: var(--white);
}

.addon-title {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.addon-description {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.addon-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.addon-features ul {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: left;
}

.addon-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.addon-features li::before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background: var(--light-bg);
}

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

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

.faq-question {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.faq-answer {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design for Pricing Components */
@media (max-width: 768px) {
    .comparison-table th,
    .comparison-table td {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .addons-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .comparison-table-wrapper {
        margin-left: -20px;
        margin-right: -20px;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem 0.5rem;
        font-size: 0.8rem;
    }
    
    .addon-card {
        padding: 2rem;
    }
}

/* Blog Section */
.blog-section {
    padding: 100px 0;
}

/* Newsletter Section */
.newsletter-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

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

.newsletter-title {
    color: var(--white);
    margin-bottom: 1rem;
}

.newsletter-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

.form-group-inline {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group-inline .form-input {
    flex: 1;
}

.newsletter-disclaimer {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Related Topics */
.related-topics {
    padding: 100px 0;
    background: var(--light-bg);
}

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

.topic-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

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

.topic-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: var(--white);
}

.topic-title {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.topic-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.topic-count {
    background: var(--light-bg);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    display: inline-block;
}

/* Pagination */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 4rem;
}

.pagination {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.pagination-link {
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.pagination-link:hover,
.pagination-link.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* About Page Styles */
.company-story {
    padding: 100px 0;
}

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

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

.story-stats .stat-item {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
}

.story-stats .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.story-stats .stat-label {
    color: var(--text-light);
    font-size: 0.9rem;
}

.mission-vision {
    padding: 100px 0;
    background: var(--light-bg);
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.mission-card,
.vision-card {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2rem;
    color: var(--white);
}

.card-title {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.card-description {
    color: var(--text-light);
    line-height: 1.6;
}

.company-values {
    padding: 100px 0;
}

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

.value-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

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

.value-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: var(--white);
}

.value-title {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.value-description {
    color: var(--text-light);
    line-height: 1.6;
}

.team-section {
    padding: 100px 0;
    background: var(--light-bg);
}

.certifications {
    padding: 100px 0;
}

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

.cert-item {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.cert-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.cert-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.cert-item h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.cert-item p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

/* Contact Page Styles */
.contact-section {
    padding: 100px 0;
}

.contact-form-wrapper {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
}

.form-title {
    color: var(--light-bg);
    margin-bottom: 0.5rem;
}

.form-subtitle {
    color: var(--light-bg);
    margin-bottom: 2rem;
}

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

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    color: var(--white);
    font-size: 12px;
    font-weight: bold;
}

.btn-full {
    width: 100%;
}

.form-disclaimer {
    font-size: 0.85rem;
    color: var(--text-light);
    text-align: center;
    margin-top: 1rem;
    line-height: 1.5;
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    background: none;
    border: none;
    cursor: pointer;
    font-size: inherit;
}

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

/* Map Section */
.map-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.map-container {
    margin-top: 3rem;
}

.map-placeholder {
    height: 400px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
}

.map-content i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.map-content h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.map-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

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

.contact-faq {
    padding: 100px 0;
}

/* Responsive Design for Additional Components */
@media (max-width: 768px) {
    .story-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .story-stats {
        grid-template-columns: 1fr;
    }
    
    .mission-vision-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .form-group-inline {
        flex-direction: column;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .topics-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .certifications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .map-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .contact-form-wrapper {
        padding: 2rem;
    }
    
    .pagination {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .certifications-grid {
        grid-template-columns: 1fr;
    }
    
    .mission-card,
    .vision-card {
        padding: 2rem;
    }
}
.hero-photo {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: 80% center; /* Чуть левее чем right */
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.hero-photo:hover {
    transform: translateY(-5px); /* Уменьшил эффект hover */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

@media (max-width: 968px) {
    .hero-photo {
        max-height: 400px;
        padding: 15px;
    }
}

@media (max-width: 768px) {
    .hero-photo {
        max-height: 300px;
        margin-top: 2rem;
        padding: 10px;
    }
    
    .hero-image {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-photo {
        max-height: 250px;
        padding: 8px;
    }
}
/* Privacy Policy Styles - ИСПРАВЛЕННАЯ ВЕРСИЯ */
.privacy-content {
    padding: 60px 0;
    background: var(--white);
}

.content-wrapper {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.policy-nav {
    position: sticky;
    top: 100px;
    height: fit-content;
    background: var(--light-bg);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
}

.policy-nav h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* ИСПРАВЛЕНО: Изменил .nav-list на .policy-nav-list */
.policy-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.policy-nav-list li {
    margin-bottom: 0.5rem;
}

.policy-nav-list a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
    display: block;
    padding: 0.5rem 0;
    border-left: 3px solid transparent;
    padding-left: 1rem;
}

.policy-nav-list a:hover {
    color: var(--primary-color);
    border-left-color: var(--primary-color);
}

.policy-content {
    background: var(--white);
}

.policy-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.policy-section:last-child {
    border-bottom: none;
}

.policy-section h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.policy-section h3 {
    color: var(--text-dark);
    font-size: 1.3rem;
    margin: 2rem 0 1rem 0;
}

.policy-section h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin: 1rem 0 0.5rem 0;
}

.policy-section p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.policy-section ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.policy-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.right-item {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.right-item h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.privacy-contact-details {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    margin: 2rem 0;
}

.privacy-contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--white);
    border-radius: var(--border-radius);
}

.privacy-contact-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    min-width: 20px;
}

.privacy-contact-item a {
    color: var(--primary-color);
    text-decoration: none;
}

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

.consent-section {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
}

.policy-actions {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Responsive Design */
@media (max-width: 968px) {
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .policy-nav {
        position: static;
        order: 2;
    }
    
    .policy-content {
        order: 1;
    }
    
    .rights-grid {
        grid-template-columns: 1fr;
    }
    
    .policy-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .privacy-content {
        padding: 40px 0;
    }
    
    .policy-section h2 {
        font-size: 1.5rem;
    }
    
    .privacy-contact-item {
        flex-direction: column;
        text-align: center;
    }
}
/* Floating Talk to Sales Button */
.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.floating-cta.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.floating-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.floating-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.floating-btn:hover::before {
    left: 100%;
}

.floating-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.5);
}

.floating-btn i {
    font-size: 1.2rem;
    animation: pulse-icon 2s ease-in-out infinite;
}

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

/* Responsive */
@media (max-width: 768px) {
    .floating-cta {
        bottom: 20px;
        right: 20px;
    }
    
    .floating-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .floating-btn span {
        display: none; /* На мобильных показываем только иконку */
    }
    
    .floating-btn i {
        font-size: 1.5rem;
    }
}

/* Анимация появления при загрузке */
@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(100px);
    }
    50% {
        transform: scale(1.05) translateY(-10px);
    }
    70% {
        transform: scale(0.9) translateY(5px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.floating-cta.show {
    animation: bounceIn 0.6s ease-out;
}
/* Highlight effect for form when scrolled to */
.contact-form-wrapper.highlight .form-background-gradient {
    animation: highlight-pulse 2s ease-out;
}

@keyframes highlight-pulse {
    0%, 100% {
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    }
    50% {
        box-shadow: 0 20px 60px rgba(139, 128, 249, 0.6);
    }
}
/* ... existing code ... */

/* Push Notification Styles */
.push-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.push-modal-content {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 400px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.push-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.push-modal-header h3 {
    margin: 0;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.push-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition);
    padding: 0.25rem;
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.push-modal-close:hover {
    background: var(--light-bg);
    color: var(--text-dark);
}

.push-modal-body {
    padding: 1.5rem;
}

.push-modal-body p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    line-height: 1.6;
}

.push-modal-buttons {
    display: flex;
    gap: 1rem;
    flex-direction: column;
}

@media (min-width: 480px) {
    .push-modal-buttons {
        flex-direction: row;
    }
}

/* Push notification button states */
#push-notification-btn {
    position: relative;
    overflow: hidden;
}

#push-notification-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

#push-notification-btn:disabled:hover {
    transform: none;
}

/* Notification success/error messages */
.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: var(--white);
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 10001;
    animation: notificationSlideIn 0.3s ease-out;
    max-width: 300px;
}

@keyframes notificationSlideIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.notification.success {
    border-left: 4px solid #10b981;
    color: #065f46;
}

.notification.success i {
    color: #10b981;
}

.notification.error {
    border-left: 4px solid #ef4444;
    color: #991b1b;
}

.notification.error i {
    color: #ef4444;
}

.notification span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Responsive adjustments for nav-cta */
@media (max-width: 768px) {
    .nav-cta {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
        margin-top: 1rem;
    }
    
    #push-notification-btn {
        margin-right: 0 !important;
        width: 100%;
        justify-content: center;
    }
    
    .push-modal-content {
        margin: 1rem;
        width: calc(100% - 2rem);
    }
}
/* Mobile Push Button Styles */
.mobile-push-btn {
    display: none;
    align-items: center;
}

.btn-mobile {
    padding: 8px 12px;
    font-size: 0.9rem;
    border-radius: 20px;
    min-width: auto;
}

.mobile-btn-text {
    display: none;
}

/* Desktop Push Button */
.desktop-push-btn {
    display: inline-flex;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    /* Show mobile button, hide desktop button */
    .mobile-push-btn {
        display: flex;
        order: 2;
        margin-left: auto;
        margin-right: 15px;
    }
    
    .desktop-push-btn {
        display: none !important;
    }
    
    /* Adjust navbar container for mobile */
    .navbar .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: relative;
    }
    
    .nav-brand {
        order: 1;
    }
    
    .nav-toggle {
        order: 3;
    }
    
    /* Make mobile button more compact */
    .btn-mobile {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
    
    .btn-mobile i {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    /* Extra small screens - show only icon */
    .mobile-btn-text {
        display: none;
    }
    
    .btn-mobile {
        padding: 8px;
        min-width: 36px;
        justify-content: center;
    }
    
    .btn-mobile i {
        margin: 0;
    }
}

@media (min-width: 769px) {
    /* Desktop - hide mobile button */
    .mobile-push-btn {
        display: none !important;
    }
}

/* Responsive adjustments for nav-cta - обновляем существующие стили */
@media (max-width: 768px) {
    .nav-cta {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
        margin-top: 1rem;
    }
    
    .nav-cta .desktop-push-btn {
        display: none;
    }
    
    .push-modal-content {
        margin: 1rem;
        width: calc(100% - 2rem);
    }
}

/* Utilities */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; } 

.alert {
    border-radius: 12px;
    padding: 1rem 1.25rem;
    font-weight: 500;
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.alert-success {
    background: #e1faec;
    color: #11633f;
}

.alert-error {
    background: #fde8e8;
    color: #8c1d1d;
}

/* ---------- Admin Area ---------- */
.admin-header {
    background: #f7f8ff;
}

.admin-header .logo {
    font-weight: 700;
    color: #1c2a5f;
}

.admin-nav .nav-link {
    margin-right: 1.5rem;
    font-weight: 600;
}

.admin-main {
    padding-top: 2rem;
}

.admin-form {
    margin-bottom: 2rem;
}

.admin-form .form-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.admin-form .form-group {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
}

.admin-form label {
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.admin-form input,
.admin-form select {
    border: 1px solid rgba(15, 33, 77, 0.15);
    border-radius: 10px;
    padding: 0.75rem;
}

.admin-footer {
    text-align: center;
    padding: 1.5rem 0;
    background: #f7f8ff;
    margin-top: 2rem;
}

.admin-form-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.table-actions {
    display: flex;
    gap: 0.5rem;
}

.field-hint {
    font-size: 0.8rem;
    color: #6c7898;
    margin-top: 0.25rem;
}

body.modal-open {
    overflow: hidden;
}

.admin-modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 33, 77, 0.45);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 12000;
    padding: 1.5rem;
}

.admin-modal.open {
    display: flex;
}

.admin-modal-content {
    background: #ffffff;
    border-radius: 28px;
    width: min(640px, 100%);
    padding: 2rem;
    position: relative;
    box-shadow: 0 30px 70px rgba(15, 33, 77, 0.15);
}

.admin-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    border: none;
    background: rgba(15, 33, 77, 0.08);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
}

.admin-modal h3 {
    margin-bottom: 1rem;
}

/* ---------- Auth Experience ---------- */
.auth-page {
    background: linear-gradient(145deg, #f3f6ff 0%, #ffffff 60%);
}

.auth-hero {
    padding: 4rem 0;
}

.auth-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    align-items: center;
}

.auth-copy .lead {
    font-size: 1.1rem;
    max-width: 520px;
    margin: 1rem 0 1.5rem;
}

.auth-advantages {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.5rem;
}

.auth-advantages li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 500;
}

.auth-advantages i {
    color: var(--primary-color);
}

.auth-card {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 25px 60px rgba(15, 33, 77, 0.08);
    border: 1px solid rgba(15, 33, 77, 0.04);
}

.auth-card-head h3 {
    margin-bottom: 0.25rem;
}

.auth-form .form-group {
    margin-bottom: 1.4rem;
}

.auth-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.auth-form input {
    width: 100%;
    border: 1px solid rgba(15, 33, 77, 0.15);
    border-radius: 12px;
    padding: 0.9rem 1rem;
    font-size: 1rem;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
    font-size: 0.9rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 500;
}

.auth-divider {
    text-align: center;
    margin: 1.8rem 0;
    position: relative;
}

.auth-divider span {
    background: #fff;
    padding: 0 1rem;
    position: relative;
    z-index: 2;
}

.auth-divider::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: rgba(15, 33, 77, 0.1);
    z-index: 1;
}

.auth-alt .btn {
    margin-bottom: 0.8rem;
}

.auth-meta {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.link-small {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.btn-block {
    width: 100%;
    text-align: center;
}

/* ---------- Portal Navigation & Layout ---------- */
.portal-nav-wrapper {
    background: linear-gradient(135deg, #0f63ff 0%, #1f3fff 100%);
    color: #fff;
    padding: 3rem 0 0;
}

.portal-nav-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 2rem;
}

.portal-nav-head h2 {
    color: #fff;
    margin: 0.2rem 0;
}

.btn-upgrade {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.portal-nav-tabs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    padding: 2rem 0;
}

.portal-tab {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 1.4rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #fff;
    text-decoration: none;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.portal-tab-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.portal-tab-text strong {
    display: block;
    font-size: 1rem;
}

.portal-tab-text small {
    opacity: 0.8;
    font-size: 0.85rem;
}

.portal-tab.active {
    background: #fff;
    color: #0f1d40;
    border-color: rgba(15, 33, 77, 0.1);
    box-shadow: 0 15px 30px rgba(15, 33, 77, 0.15);
}

.portal-tab.active .portal-tab-icon {
    background: rgba(15, 99, 255, 0.15);
    color: #0f63ff;
}

.portal-main {
    background: linear-gradient(180deg, #f6f8ff 0%, #ffffff 35%);
}

.portal-section {
    padding: 3rem 0;
}

.portal-section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.portal-head-actions {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.portal-grid {
    display: grid;
    gap: 1.5rem;
}

.portal-grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.portal-grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.portal-card {
    background: #fff;
    border-radius: 24px;
    padding: 1.8rem;
    border: 1px solid rgba(15, 33, 77, 0.08);
    box-shadow: 0 20px 45px rgba(15, 33, 77, 0.08);
}

.card-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.metric-value {
    font-size: 2.1rem;
    font-weight: 700;
    margin: 0.4rem 0;
}

.metric-change {
    font-size: 0.95rem;
    font-weight: 600;
}

.metric-change.up {
    color: #1c9e6f;
}

.metric-change.neutral {
    color: #586684;
}

.metric-card {
    min-height: 180px;
}

.chip {
    border: none;
    border-radius: 999px;
    padding: 0.45rem 1rem;
    font-size: 0.88rem;
    font-weight: 600;
    background: rgba(15, 33, 77, 0.06);
    color: #0f1d40;
    cursor: pointer;
}

.chip-outline {
    background: transparent;
    border: 1px solid rgba(15, 33, 77, 0.2);
}

.chip-soft {
    background: rgba(15, 99, 255, 0.08);
    color: #0f63ff;
}

.chip.active {
    background: #0f63ff;
    color: #fff;
}

.pipeline-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(15, 33, 77, 0.08);
}

.pipeline-row:last-child {
    border-bottom: none;
}

.pipeline-progress {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.progress-bar {
    width: 160px;
    height: 8px;
    background: rgba(15, 33, 77, 0.08);
    border-radius: 999px;
    overflow: hidden;
}

.progress-bar span {
    display: block;
    height: 100%;
    background: linear-gradient(135deg, #0f63ff, #1f3fff);
}

.activity-feed {
    display: grid;
    gap: 1.2rem;
}

.activity-item {
    display: flex;
    gap: 1rem;
}

.activity-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(15, 99, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f63ff;
}

.activity-top {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.leads-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.filter-chips {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.toolbar-actions {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    align-items: center;
}

.input-icon {
    position: relative;
}

.input-icon input {
    padding-left: 2.5rem;
    border-radius: 999px;
    border: 1px solid rgba(15, 33, 77, 0.15);
    height: 42px;
}

.input-icon i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6c7898;
}

.portal-card .portal-table {
    width: 100%;
}

.portal-table {
    width: 100%;
    border-collapse: collapse;
}

.portal-table th,
.portal-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(15, 33, 77, 0.08);
}

.portal-table tbody tr:hover {
    background: rgba(15, 99, 255, 0.03);
}

.icon-btn {
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 1rem;
}

.assistant-list,
.thread-list,
.reviews-feed,
.platform-list {
    display: grid;
    gap: 1rem;
}

.assistant-item,
.thread-item,
.platform-item,
.review-item,
.activity-item {
    background: rgba(15, 33, 77, 0.02);
    border-radius: 16px;
    padding: 1rem;
}

.channel-badges,
.assistant-meta,
.thread-meta,
.review-actions {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-top: 0.6rem;
}

.chat-preview {
    margin-top: 1.5rem;
    display: grid;
    gap: 1rem;
}

.chat-bubble {
    padding: 1rem 1.2rem;
    border-radius: 16px;
}

.chat-bubble.ai {
    background: rgba(15, 99, 255, 0.08);
    border: 1px solid rgba(15, 99, 255, 0.3);
}

.chat-bubble.human {
    background: rgba(15, 33, 77, 0.05);
}

.chat-bubble span {
    display: block;
    font-size: 0.8rem;
    margin-top: 0.4rem;
    color: #6c7898;
}

.chat-actions {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.quest-card .progress-block {
    margin: 1.2rem 0;
}

.quest-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.platform-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.review-rating {
    color: #f4b400;
    margin-bottom: 0.4rem;
}

.profile-block {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(15, 99, 255, 0.12);
    color: #0f63ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.profile-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.profile-details label {
    display: block;
    font-size: 0.85rem;
    color: #6c7898;
}

.plan-feature-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.6rem;
}

.plan-feature-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.plan-meta {
    margin-top: 1.5rem;
    text-align: center;
}

.nav-login-btn {
    margin-right: 0.75rem;
}

.nav-cta .btn-outline {
    color: var(--primary-color);
    border-color: rgba(15, 99, 255, 0.3);
}

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

@media (max-width: 768px) {
    .portal-section-head,
    .portal-nav-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .auth-card {
        padding: 1.5rem;
    }

    .form-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}
