/* BASE & VARIABLES */
:root {
    --bg-color: #0b0c10;
    --text-color: #e2e8f0;
    --text-muted: #94a3b8;
    --primary-glow: #1f2937;
    --heading-color: #ffffff;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Branding Colors */
    --color-primary: #22c55e;     /* Bright Green */
    --color-primary-light: #4ade80;
    --color-secondary: #ffffff;   /* White */
    
    /* Gradients */
    --gradient-brand: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
    --gradient-glow: linear-gradient(135deg, rgba(34, 197, 94, 0.4) 0%, rgba(34, 197, 94, 0.05) 100%);
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: rgba(0, 0, 0, 0.3);

    --nav-bg: rgba(11, 12, 16, 0.9);
}

.light-theme {
    --bg-color: #f8fafc;
    --text-color: #1e293b;
    --text-muted: #64748b;
    --primary-glow: #f1f5f9;
    --heading-color: #0f172a;
    
    --color-primary: #16a34a;
    --color-primary-light: #22c55e;
    --color-secondary: #0f172a;

    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(0, 0, 0, 0.06);
    --glass-shadow: rgba(0, 0, 0, 0.05);

    --nav-bg: rgba(248, 250, 252, 0.9);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

/* BACKGROUND SHAPES */
.bg-shape {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.35;
    pointer-events: none; /* Prevents blocking clicks */
    animation: float 20s infinite ease-in-out alternate;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--color-primary);
    top: -100px;
    left: -100px;
}

.shape-2 {
    width: 350px;
    height: 350px;
    background: #1f2937;
    bottom: -150px;
    right: -100px;
    animation-delay: -5s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.1); }
}

/* TYPOGRAPHY */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--heading-color);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* LAYOUT & CONTAINERS */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-padding {
    padding: 100px 0;
}

.section-heading {
    text-align: center;
    margin-bottom: 60px;
}

.section-heading h2 {
    font-size: 3.2rem;
    margin-bottom: 15px;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.section-heading p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* GLASS PANEL UTILITY */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-panel:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--glass-shadow);
    border-color: var(--color-primary-light);
}

/* BUTTONS */
.btn-primary, .btn-primary-outline, .btn-secondary, .btn-disabled {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-family: var(--font-heading);
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-brand);
    color: #000;
    border: none;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 25px rgba(34, 197, 94, 0.5);
    transform: translateY(-2px);
}

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

.btn-primary-outline:hover {
    background: rgba(34, 197, 94, 0.1);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(var(--color-primary-rgb, 255, 255, 255), 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-disabled {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #64748b;
    cursor: not-allowed;
}

.btn-disabled:hover {
    transform: none;
}

/* NAVIGATION */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: var(--nav-bg);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    padding: 15px 0;
}

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

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

.logo-img {
    height: 50px;
    object-fit: contain;
}

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

.nav-links a:not(.btn-primary-outline) {
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a:not(.btn-primary-outline)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width 0.3s ease;
}

.nav-links a:not(.btn-primary-outline):hover::after {
    width: 100%;
}

.nav-links .btn-primary-outline {
    padding: 10px 20px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 30px;
    height: 2px;
    background-color: var(--text-color);
    transition: 0.3s;
}

/* THEME TOGGLE */
.theme-toggle {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    width: 54px;
    height: 28px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    padding: 3px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    margin-left: 15px;
}

.theme-toggle .slider {
    width: 20px;
    height: 20px;
    background: var(--color-primary);
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.theme-toggle .icons {
    position: absolute;
    width: 100%;
    left: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 7px;
    pointer-events: none;
}

.theme-toggle .icons svg {
    width: 12px;
    height: 12px;
    fill: var(--text-muted);
    opacity: 0.5;
}

body.light-theme .theme-toggle .slider {
    transform: translateX(26px);
}

.theme-toggle:hover {
    border-color: var(--color-primary);
}

/* HERO SECTION */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-content {
    text-align: center;
    max-width: 800px;
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 24px;
}

.hero-title span {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* SERVICES SECTION */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

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

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    background: var(--gradient-glow);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-muted);
}

/* PROCESS SECTION */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.process-step {
    position: relative;
    text-align: left;
    padding: 30px;
}

.step-number {
    font-size: 3.5rem;
    font-weight: 900;
    font-family: var(--font-heading);
    color: var(--color-primary);
    opacity: 0.1;
    position: absolute;
    top: 5px;
    right: 20px;
    line-height: 1;
}

.process-step h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    margin-top: 15px;
    color: var(--color-primary);
}

.process-step p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* BENEFITS SECTION */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 20px;
}

.benefit-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.benefit-icon {
    font-size: 2.2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-item h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.benefit-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* PRICING SECTION */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: center;
}

.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card.featured {
    border-color: var(--color-primary);
    background: linear-gradient(180deg, rgba(34, 197, 94, 0.05) 0%, rgba(255, 255, 255, 0.03) 100%);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

/* Pricing specific styles removed */

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-brand);
    color: #000;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

/* Badges */

.pricing-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--glass-border);
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.price {
    font-size: 2rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--heading-color);
    white-space: nowrap;
}

.price span {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.package-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 10px;
}

.features {
    list-style: none;
    margin-bottom: 40px;
    flex-grow: 1;
}

.features li {
    padding: 12px 0;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

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

/* Pricing features */

.pricing-btn {
    width: 100%;
}

.pricing-disclaimer {
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
    margin-top: 40px;
    font-style: italic;
}

/* CONTACT SECTION */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.contact-detail .icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    opacity: 0.8;
}

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

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #e2e8f0;
    font-weight: 500;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 15px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background: rgba(255, 255, 255, 0.1);
}

.submit-btn {
    width: 100%;
    margin-top: 10px;
}

/* FOOTER */
footer {
    border-top: 1px solid var(--glass-border);
    padding: 80px 0 40px;
    margin-top: 50px;
    background: var(--bg-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    margin-bottom: 25px;
    font-size: 1.2rem;
    color: var(--heading-color);
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--color-primary);
    padding-left: 5px;
}

.footer-about p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.footer-legal-info {
    margin-top: 30px;
    padding: 30px;
    background: var(--glass-bg);
    border-radius: 15px;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.8;
    text-align: left;
}

.footer-legal-info p {
    margin-bottom: 15px;
}

.footer-legal-info p:last-child {
    margin-bottom: 0;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-img {
    height: 40px;
}

footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-socials {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    overflow: hidden;
}

.social-link.facebook {
    background: #1877F2;
    border-color: #1877F2;
}

.social-link.instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%);
    border-color: #d6249f;
}

.social-link.telegram {
    background: #0088cc;
    border-color: #0088cc;
}

.social-link svg {
    width: 18px;
    height: 18px;
    fill: #fff;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.social-link:hover svg {
    transform: scale(1.1);
}

/* ANIMATIONS */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* MEDIA QUERIES */
@media (max-width: 992px) {
    .pricing-grid, .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(11, 12, 16, 0.98);
        flex-direction: column;
        padding: 30px 0;
        border-bottom: 1px solid var(--glass-border);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: flex;
        order: 3;
        margin-left: 4px; /* Further reduced from 10px to bring it even closer */
    }

    .theme-toggle {
        order: 2;
        margin-left: auto;
        transform: scale(0.85); /* Slightly smaller on mobile */
        background: rgba(255, 255, 255, 0.08); /* More visible background */
        border-color: rgba(255, 255, 255, 0.2);
    }

    body.light-theme .theme-toggle {
        background: rgba(0, 0, 0, 0.05);
        border-color: rgba(0, 0, 0, 0.1);
    }

    .logo {
        order: 1;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }
    
    .hero-actions .btn-primary, .hero-actions .btn-secondary {
        width: 100%;
    }
    
    .section-padding {
        padding: 60px 0;
    }

    .section-heading h2 {
        font-size: 2.5rem;
    }

    .glass-panel {
        padding: 25px; /* Reduce padding to save horizontal space on mobile */
    }

    .pricing-grid, .services-grid, .process-grid {
        grid-template-columns: 1fr; /* Force vertical stack on phones */
    }

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

    .footer-legal-info {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-container {
        padding: 0 15px;
    }

    .theme-toggle {
        margin-left: 0;
    }
}

/* FLOATING TELEGRAM BUTTON */
.telegram-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0088cc;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.telegram-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 136, 204, 0.6);
}

.telegram-float img, .telegram-float .telegram-icon {
    width: 32px;
    height: 32px;
    fill: #fff;
}

@media (max-width: 576px) {
    .telegram-float {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    .telegram-float img, .telegram-float .telegram-icon {
        width: 28px;
        height: 28px;
    }
}
