/* css/style.css */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2a6bff;
    --primary-dark: #1a5aff;
    --secondary: #00d9ff;
    --accent: #ff4d8d;
    --dark: #0a192f;
    --light: #f8f9fa;
    --gray: #6c757d;
    --light-gray: #e9ecef;
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
    --border-radius: 12px;
    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 100px 0;
}

h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Кнопки з виправленою анімацією */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition-fast);
    border: none;
    outline: none;
    gap: 10px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transform: translateY(0);
    will-change: transform;
}

/* Батьківський елемент для ripple ефекту */
.btn-ripple-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 50px;
    z-index: -1;
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: width 0.3s ease;
    z-index: -1;
}

.btn:hover:before {
    width: 100%;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 5px 15px rgba(42, 107, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(42, 107, 255, 0.4);
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 4px 10px rgba(42, 107, 255, 0.3);
}

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.btn-secondary:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.btn-outline:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-large {
    padding: 16px 36px;
    font-size: 18px;
}

.btn-small {
    padding: 10px 22px;
    font-size: 14px;
}

.text-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 800;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
}

.liquid-loader {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 30px;
}

.liquid-drop {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    background: var(--gradient);
    border-radius: 50%;
    transform: translate(-50%, -50%) rotate(calc(var(--i) * 72deg)) translateY(-80px);
    animation: dropRotate 3s ease-in-out infinite;
    animation-delay: calc(var(--i) * 0.2s);
}

@keyframes dropRotate {
    0%, 100% {
        transform: translate(-50%, -50%) rotate(calc(var(--i) * 72deg)) translateY(-80px);
    }
    50% {
        transform: translate(-50%, -50%) rotate(calc(var(--i) * 72deg)) translateY(-100px);
        width: 45px;
        height: 45px;
    }
}

.loader-text {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.header.scrolled {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.98);
}

.navbar {
    padding: 20px 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark);
}

.logo-icon {
    position: relative;
    width: 40px;
    height: 40px;
}

.logo-wave {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid var(--primary);
    animation: wavePulse 3s ease-in-out infinite;
}

.logo-wave:nth-child(2) {
    animation-delay: 0.5s;
    opacity: 0.7;
}

.logo-wave:nth-child(3) {
    animation-delay: 1s;
    opacity: 0.4;
}

@keyframes wavePulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.5;
    }
}

.logo-highlight {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-weight: 600;
    color: var(--dark);
    position: relative;
    padding: 5px 0;
    transition: var(--transition);
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.nav-link:hover:after, .nav-link.active:after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--dark);
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 180px 0 100px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 24px;
}

.title-line {
    display: block;
}

.text-highlight {
    position: relative;
    display: inline-block;
}

.text-highlight:after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 10px;
    background: rgba(42, 107, 255, 0.2);
    z-index: -1;
    transform: skewX(-15deg);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    height: 400px;
}

.floating-devices {
    position: relative;
    height: 100%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.device {
    position: absolute;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.device-laptop {
    width: 300px;
    height: 200px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    border-radius: 15px 15px 5px 5px;
}

.device-laptop:before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 10px;
    right: 10px;
    height: 10px;
    background: #e9ecef;
    border-radius: 0 0 5px 5px;
}

.device-tablet {
    width: 180px;
    height: 240px;
    top: 20%;
    right: 10%;
    z-index: 2;
    border-radius: 15px;
}

.device-phone {
    width: 120px;
    height: 200px;
    bottom: 10%;
    left: 10%;
    z-index: 1;
    border-radius: 20px;
}

.device-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.screen-content {
    position: relative;
    width: 80%;
    height: 80%;
}

.animated-element {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

.pulse {
    width: 40px;
    height: 40px;
    top: 20%;
    left: 30%;
    animation: pulse 2s ease-in-out infinite;
}

.wave {
    width: 60px;
    height: 60px;
    bottom: 30%;
    right: 20%;
    animation: wave 3s ease-in-out infinite;
}

.circle {
    width: 30px;
    height: 30px;
    top: 60%;
    left: 20%;
    animation: circle 4s linear infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
    }
}

@keyframes wave {
    0%, 100% {
        border-radius: 50%;
    }
    50% {
        border-radius: 40% 60% 60% 40%;
        transform: rotate(90deg);
    }
}

@keyframes circle {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    100% {
        transform: translate(100px, 100px) rotate(360deg);
    }
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
    padding: 40px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    color: var(--gray);
    font-weight: 600;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(42, 107, 255, 0.1), rgba(0, 217, 255, 0.1));
    filter: blur(40px);
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -150px;
    animation: floatShape 20s ease-in-out infinite;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: -100px;
    animation: floatShape 25s ease-in-out infinite reverse;
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 30%;
    left: 10%;
    animation: floatShape 30s ease-in-out infinite;
}

.shape-4 {
    width: 100px;
    height: 100px;
    bottom: 40%;
    right: 20%;
    animation: floatShape 35s ease-in-out infinite reverse;
}

@keyframes floatShape {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(50px, 50px) rotate(90deg);
    }
    50% {
        transform: translate(0, 100px) rotate(180deg);
    }
    75% {
        transform: translate(-50px, 50px) rotate(270deg);
    }
}

/* Features Section */
.features {
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.feature-card {
    padding: 40px;
    border-radius: var(--border-radius);
    background: white;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transform: translateY(0);
}

.feature-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.feature-card:hover:before {
    opacity: 0.05;
}

.feature-icon {
    margin-bottom: 25px;
}

.icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(42, 107, 255, 0.1), rgba(0, 217, 255, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary);
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.feature-description {
    color: var(--gray);
    margin-bottom: 25px;
}

.feature-animation {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.animation-demo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--gradient);
    position: relative;
}

.wave-animation {
    animation: waveDemo 3s ease-in-out infinite;
}

.responsive-animation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.responsive-animation:before,
.responsive-animation:after {
    content: '';
    width: 20px;
    height: 30px;
    background: white;
    border-radius: 5px;
    animation: responsiveDemo 2s ease-in-out infinite;
}

.responsive-animation:after {
    animation-delay: 0.5s;
}

@keyframes responsiveDemo {
    0%, 100% {
        height: 30px;
    }
    50% {
        height: 60px;
    }
}

.performance-animation {
    animation: performanceDemo 2s linear infinite;
}

@keyframes performanceDemo {
    0% {
        transform: scale(0.8);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
    }
    100% {
        transform: scale(0.8);
        opacity: 0.7;
    }
}

.customization-animation {
    animation: customizationDemo 4s ease-in-out infinite;
}

@keyframes customizationDemo {
    0%, 100% {
        border-radius: 50%;
        transform: rotate(0deg);
    }
    25% {
        border-radius: 30% 70% 70% 30%;
    }
    50% {
        border-radius: 70% 30% 30% 70%;
        transform: rotate(180deg);
    }
    75% {
        border-radius: 40% 60% 60% 40%;
    }
}

/* Templates Section */
.templates {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.templates-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    border: 2px solid var(--light-gray);
    background: white;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    transform: translateY(0);
    border: none;
    outline: none;
}

.filter-btn:hover {
    background: var(--gradient);
    color: white;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(42, 107, 255, 0.3);
}

.filter-btn:active {
    transform: translateY(-1px) scale(0.98);
}

.filter-btn.active {
    background: var(--gradient);
    color: white;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(42, 107, 255, 0.3);
}

.templates-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.template-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    transform: translateY(0);
}

.template-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.template-image {
    height: 250px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.template-image:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.template-card:hover .template-image:before {
    opacity: 1;
}

.template-preview {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0;
    transition: var(--transition);
    z-index: 2;
}

.template-card:hover .template-preview {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.template-info {
    padding: 25px;
}

.template-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.template-category {
    display: inline-block;
    padding: 5px 15px;
    background: var(--light-gray);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.template-description {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.template-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.template-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

/* Pricing Section */
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.pricing-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 40px 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    border: 2px solid transparent;
    transform: translateY(0);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border-color: var(--primary);
    transform: translateY(-20px);
}

.pricing-card.featured:hover {
    transform: translateY(-30px);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(42, 107, 255, 0.3);
}

.pricing-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--light-gray);
}

.pricing-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.pricing-price {
    margin-bottom: 10px;
}

.price-currency {
    font-size: 1.5rem;
    vertical-align: top;
    margin-right: 5px;
}

.price-value {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.price-period {
    font-size: 1rem;
    color: var(--gray);
    margin-left: 5px;
}

.pricing-description {
    color: var(--gray);
    font-size: 0.95rem;
}

.pricing-features {
    margin-bottom: 40px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    gap: 10px;
}

.pricing-features i.fa-check {
    color: var(--success);
}

.pricing-features i.fa-times {
    color: var(--gray);
    opacity: 0.5;
}

.btn-pricing {
    width: 100%;
}

/* Testimonials Section */
.testimonials {
    background: white;
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.slider-container {
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.testimonial-slide {
    display: none;
    padding: 50px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.testimonial-slide.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.testimonial-quote {
    position: relative;
    margin-bottom: 40px;
}

.testimonial-quote i {
    font-size: 2rem;
    color: var(--primary);
    opacity: 0.3;
    margin-bottom: 20px;
    display: block;
}

.testimonial-quote p {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--dark);
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 20px;
}

.author-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-name {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.author-position {
    color: var(--gray);
    font-size: 0.95rem;
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--light-gray);
    color: var(--dark);
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    outline: none;
    transform: translateY(0);
}

.slider-btn:hover {
    background: var(--gradient);
    color: white;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(42, 107, 255, 0.3);
}

.slider-btn:active {
    transform: translateY(-1px) scale(0.95);
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--light-gray);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
    padding: 0;
}

.dot.active, .dot:hover {
    background: var(--gradient);
    transform: scale(1.3);
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.contact-card {
    padding: 30px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    transform: translateY(0);
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(42, 107, 255, 0.1), rgba(0, 217, 255, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary);
}

.contact-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.contact-detail {
    color: var(--gray);
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.contact-form-container {
    background: white;
    padding: 50px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.form-group {
    position: relative;
    margin-bottom: 10px;
}

.form-group:nth-child(5) {
    grid-column: 1 / -1;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 20px;
    border: 2px solid var(--light-gray);
    border-radius: var(--border-radius);
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    transition: var(--transition);
    background: white;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(42, 107, 255, 0.1);
}

.form-group label {
    position: absolute;
    top: -10px;
    left: 15px;
    background: white;
    padding: 0 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    opacity: 0;
    transition: var(--transition);
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group select:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label,
.form-group select:not([value=""]) + label {
    opacity: 1;
    transform: translateY(0);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray);
}

.form-group select {
    appearance: none;
    cursor: pointer;
}

.form-group:after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    color: var(--gray);
    pointer-events: none;
}

.form-group:nth-child(5):after {
    display: none;
}

.btn-submit {
    grid-column: 1 / -1;
    margin-top: 20px;
}

/* Footer */
.footer {
    background: var(--dark);
    color: white;
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo .logo {
    font-size: 2rem;
    margin-bottom: 20px;
    color: white;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition-fast);
    transform: translateY(0);
}

.social-links a:hover {
    background: var(--gradient);
    transform: translateY(-5px);
}

.social-links a:active {
    transform: translateY(-2px) scale(0.95);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: white;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: white;
    padding-left: 5px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-payment {
    display: flex;
    gap: 15px;
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: white;
    border-radius: var(--border-radius);
    padding: 40px;
    max-width: 500px;
    width: 90%;
    transform: translateY(50px);
    transition: transform 0.5s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
}

.modal-overlay.active .modal {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.modal-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #28a745, #20c997);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: white;
    animation: successPulse 2s ease-in-out infinite;
}

@keyframes successPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--gray);
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close:hover {
    color: var(--dark);
    background: var(--light-gray);
}

.modal-title {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.modal-message {
    color: var(--gray);
    margin-bottom: 30px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.modal-footer {
    text-align: center;
}

.modal-confirm {
    min-width: 150px;
}

/* Ripple ефект */
.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Responsive Styles */
@media (max-width: 1200px){
    .nav-list{
        gap: 10px;
    }
    .logo-icon{
        width: 20px;
        height: 20px;
    }
    .logo{
        font-size: 17px;
    }
    .nav-menu{
        gap: 15px;
    }
    .logo-highlight{
        display: none;
    }
}
@media (max-width: 1024px) {
    .hero-content,
    .features-grid,
    .templates-grid,
    .pricing-cards,
    .contact-content,
    .footer-content,
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-card.featured {
        transform: translateY(0);
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 40px;
        transition: var(--transition);
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .hero {
        padding: 140px 0 80px;
    }
    
    .hero-content {
        gap: 40px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-visual {
        height: 300px;
    }
    
    .templates-filter {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        padding: 30px 20px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .features-grid,
    .templates-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card,
    .contact-card,
    .contact-form-container {
        padding: 30px 20px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}