/* Base Styles */
:root {
    --primary-color: #1e90ff; /* Dodger Blue */
    --secondary-color: #0056b3;
    --accent-color: #00bfff;
    --text-color: #333333;
    --text-light: #666666;
    --bg-color: #ffffff;
    --bg-light: #f4f7fb;
    --nav-bg: rgba(255, 255, 255, 0.95);
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.bg-light {
    background-color: var(--bg-light);
}

.grid {
    display: grid;
    gap: 30px;
}

/* Background Animation */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f8ff 0%, #ffffff 100%);
}

.circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(30,144,255,0.1) 0%, rgba(30,144,255,0) 70%);
    animation: float 15s infinite ease-in-out;
}

.circle-1 { width: 600px; height: 600px; top: -200px; left: -200px; animation-delay: 0s; }
.circle-2 { width: 800px; height: 800px; bottom: -300px; right: -200px; animation-delay: -5s; }
.circle-3 { width: 400px; height: 400px; top: 40%; left: 60%; animation-delay: -10s; }

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    box-shadow: 0 4px 15px rgba(30, 144, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 144, 255, 0.4);
}

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

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

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(30, 144, 255, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(30, 144, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(30, 144, 255, 0); }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: var(--transition);
}

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

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

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

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

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

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 70px;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    animation: slideUp 1s ease;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 30px;
    animation: slideUp 1s ease 0.2s;
    animation-fill-mode: both;
}

.hero .btn {
    animation: slideUp 1s ease 0.4s;
    animation-fill-mode: both;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Cards */
.card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* Advantages */
.advantages-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

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

.advantage-card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.advantage-card h3 {
    margin-bottom: 15px;
    color: var(--secondary-color);
}

/* Pricing */
.pricing-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.pricing-card {
    text-align: center;
    position: relative;
    border: 1px solid #eee;
}

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

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

.pricing-card .badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

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

.pricing-card .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.pricing-card .price span {
    font-size: 1rem;
    color: var(--text-light);
}

.pricing-card ul {
    margin-bottom: 30px;
}

.pricing-card li {
    margin-bottom: 10px;
    color: var(--text-light);
}

/* Reviews */
.reviews-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.review-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.review-card .stars {
    margin-bottom: 15px;
}

.review-card p {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 20px;
}

.review-card .user {
    font-weight: 600;
    color: var(--primary-color);
    text-align: right;
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

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

.faq-question .arrow {
    transition: var(--transition);
}

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

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    color: var(--text-light);
}

.faq-item.active .faq-answer {
    padding-bottom: 20px;
}

/* Knowledge Base */
.knowledge-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.knowledge-card {
    text-decoration: none;
    color: inherit;
    border-left: 4px solid var(--primary-color);
}

.knowledge-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.knowledge-card p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Footer */
footer {
    background: var(--secondary-color);
    color: #fff;
    text-align: center;
    padding: 30px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        text-align: center;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
    
    .pricing-card.popular {
        transform: scale(1);
    }
    
    .pricing-card.popular:hover {
        transform: translateY(-10px);
    }
}
