/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { transform: translateX(-100px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes scaleIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

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

@keyframes glow {
    0% { box-shadow: 0 0 5px rgba(107, 94, 255, 0.3), 0 0 10px rgba(107, 94, 255, 0.3); }
    50% { box-shadow: 0 0 20px rgba(107, 94, 255, 0.6), 0 0 30px rgba(107, 94, 255, 0.4); }
    100% { box-shadow: 0 0 5px rgba(107, 94, 255, 0.3), 0 0 10px rgba(107, 94, 255, 0.3); }
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    100% {
        transform: scale(100, 100);
        opacity: 0;
    }
}

/* Base Styles */
:root {
    --primary-color: #6B5EFF;
    --primary-hover: #5648FF;
    --text-color: #1A1A1A;
    --text-light: #666666;
    --background-light: #F8F9FF;
    --white: #FFFFFF;
    --shadow-card: 0 8px 24px rgba(107, 94, 255, 0.12);
    --border-radius: 12px;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
    color: var(--text-color);
    background-color: var(--white);
}

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

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

h1 {
    font-size: 3rem;
    margin-bottom: 1.2rem;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.4rem;
}

p {
    margin-bottom: 0.8rem;
}

/* Header */
.header {
    padding: 1rem 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.5s ease-out;
}

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

.logo {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
    font-size: 1.5rem;
}

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

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-glow {
    animation: glow 2s infinite;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.btn-primary:hover::after {
    animation: ripple 1s ease-out;
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 5px 15px rgba(107, 94, 255, 0.3);
    background-color: var(--primary-hover);
}

.btn-primary:active {
    transform: translateY(0);
}

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

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    padding: 7rem 0 3rem;
    background-color: var(--background-light);
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.hero-content {
    max-width: 600px;
    animation: slideIn 1s ease-out;
}

.subtitle {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1rem;
    display: block;
}

.hero h1 span {
    color: var(--primary-color);
}

.hero-image {
    flex: 1;
    max-width: 500px;
    animation: scaleIn 1s ease-out;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
}

/* Sections */
section {
    padding: 3.5rem 0;
}

.section-subtitle {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.section-description {
    max-width: 800px;
    margin: 0 auto 2rem;
    text-align: center;
    color: var(--text-light);
}

/* Problems Section */
.problems {
    padding: 3.5rem 0;
    background-color: var(--white);
}

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

.problem-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background-color: var(--background-light);
    border-radius: var(--border-radius);
}

.problem-item .icon {
    font-size: 1.5rem;
}

/* Advantages Section */
.advantages {
    padding: 3.5rem 0;
    background-color: var(--background-light);
}

.advantages h2 {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

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

.advantage-item {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(107, 94, 255, 0.15);
}

.advantage-icon {
    animation: float 3s ease-in-out infinite;
}

.advantage-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* How it Works Section */
.how-it-works {
    padding: 3.5rem 0;
    background-color: var(--white);
}

.mechanism-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-top: 2rem;
}

.mechanism-image {
    flex: 1;
    text-align: center;
}

.mechanism-image img {
    max-width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-card);
}

.mechanism-steps {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.mechanism-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.step-number {
    background-color: var(--primary-color);
    color: var(--white);
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* Reviews Section */
.reviews {
    padding: 3.5rem 0;
    background-color: var(--background-light);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.review-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-card);
    display: flex;
    gap: 1.5rem;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(107, 94, 255, 0.15);
}

.reviewer-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1rem;
    flex-shrink: 0;
    position: relative;
}

.reviewer-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.reviewer-name {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.rating {
    color: #FFD700;
    margin-bottom: 1rem;
}

/* Certificates Section */
.certificates {
    padding: 3.5rem 0;
    background-color: var(--white);
}

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

.certificate-card {
    background-color: var(--background-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: all 0.3s ease;
    animation: fadeIn 0.5s ease-out;
}

.certificate-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(107, 94, 255, 0.15);
}

.certificate-card img {
    transition: transform 0.3s ease;
}

.certificate-card:hover img {
    transform: scale(1.05);
}

.certificate-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.certificate-card img {
    width: 100%;
    max-width: 200px;
    margin: 1rem 0;
    border-radius: var(--border-radius);
}

.certificate-verify {
    color: var(--primary-color);
    font-weight: 500;
}

/* Order Section */
.order {
    background-color: var(--background-light);
    padding: 4rem 0;
}

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

.benefits-list {
    list-style: none;
    margin-bottom: 2rem;
}

.benefits-list li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
}

.benefits-list li::before {
    content: "✓";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.what-you-get {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-top: 2rem;
}

.what-you-get ul {
    list-style: none;
}

.what-you-get li {
    margin-bottom: 0.5rem;
}

.order-form {
    background-color: var(--primary-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    color: var(--white);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
}

.form-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 3rem 0 1.5rem;
}

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

.footer-info {
    max-width: 350px;
}

.footer-logo {
    color: var(--white);
    font-weight: 700;
    text-decoration: none;
    font-size: 1.5rem;
    display: inline-block;
    margin-bottom: 1rem;
}

.certificates-mini {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.certificates-mini h4 {
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.certificates-list {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.8rem;
}

.certificates-list img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

.footer-links, .footer-contact {
    display: flex;
    flex-direction: column;
}

.footer-links h4, .footer-contact h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    margin-bottom: 0.5rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-contact p {
    margin-bottom: 0.5rem;
}

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

.social-icon {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.social-icon:hover {
    opacity: 1;
}

.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-legal a:hover {
    opacity: 1;
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero {
        padding: 6rem 0 3rem;
    }
    
    .mechanism-content {
        flex-direction: column;
    }
    
    .order-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-info {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-content, .hero-image {
        text-align: center;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-info {
        grid-column: span 1;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .review-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}
