﻿/* style.css */
:root {
    --primary-color: #1E80FF;
    --primary-hover: #1668d9;
    --bg-color-start: #DFF0FF;
    --bg-color-end: #F7FBFF;
    --text-main: #0B3556;
    --text-muted: #2d5a7d;
    --card-bg: rgba(255, 255, 255, 0.8);
    --border-color: #A3D4FF;
    --accent-color: #FF8A3D;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    background: linear-gradient(180deg, var(--bg-color-start), var(--bg-color-end));
    background-attachment: fixed;
    color: var(--text-main);
    line-height: 1.6;
}

a { text-decoration: none; color: var(--primary-color); }
a:hover { text-decoration: underline; }

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

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}
.navbar .brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}
.navbar .nav-links {
    display: flex;
    gap: 20px;
}
.navbar .nav-links a {
    color: var(--text-main);
    font-weight: 500;
}
.navbar .nav-links a:hover {
    color: var(--primary-color);
}
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 15px;
    }
}

/* Header / Hero */
.hero {
    text-align: center;
    padding: 80px 20px;
    background: transparent;
}
.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}
.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
    margin-inline: auto;
}

/* CTA Button */
.cta-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 15px 40px;
    font-size: 1.1rem;
    border-radius: 8px;
    font-weight: bold;
    transition: background 0.3s ease;
    min-width: 200px;
    text-align: center;
    text-decoration: none;
}
.cta-btn:hover { 
    background-color: var(--primary-hover); 
    text-decoration: none; 
}

/* Sections */
.section { padding: 60px 0; }
.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
}

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

/* Cards */
.card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(30, 128, 255, 0.15);
    text-align: center;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}
.card h3 { margin-bottom: 15px; font-size: 1.3rem; }
.card p { color: var(--text-muted); }

/* Pricing */
.pricing-card {
    display: flex;
    flex-direction: column;
}
.pricing-card .price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--accent-color);
    margin: 20px 0;
}
.pricing-card ul {
    list-style: none;
    text-align: left;
    margin-bottom: 30px;
    flex-grow: 1;
}
.pricing-card li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}
.pricing-card li::before {
    content: "✓";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    background: var(--card-bg);
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 18px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}
.faq-item h4 { margin-bottom: 10px; font-size: 1.1rem; }
.faq-item p { color: var(--text-muted); }

/* Testimonials */
.testimonial-card { font-style: italic; }
.testimonial-author {
    margin-top: 15px;
    font-weight: bold;
    font-style: normal;
}

/* Footer */
footer {
    background: transparent;
    color: var(--text-main);
    padding: 40px 0;
    text-align: center;
}
.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}
.footer-links a {
    color: var(--text-muted);
    transition: color 0.3s;
    text-decoration: none;
}
.footer-links a:hover { 
    color: var(--primary-color); 
    text-decoration: underline; 
}

/* Subpages Content */
.page-content {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(30, 128, 255, 0.15);
    margin-top: 40px;
    margin-bottom: 40px;
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
}
.page-content h1, .page-content h2, .page-content h3 { margin-bottom: 20px; }
.page-content p { margin-bottom: 15px; color: var(--text-muted); }
.page-content ul { margin-bottom: 15px; padding-left: 20px; color: var(--text-muted); }

/* Responsive Media Queries */
@media (max-width: 768px) {
    .grid { grid-template-columns: 1fr !important; }
    .hero h1 { font-size: 2rem; }
    .section-title { font-size: 1.8rem; }
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
    .cta-btn {
        width: 100%;
        padding: 16px 20px; /* touch-friendly padding */
        min-height: 48px;
    }
}

/* Background Animations */
.bg-deco {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.cloud {
    position: absolute;
    background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
}
.cloud-1 {
    width: 800px; height: 500px;
    top: 5%; left: -800px;
    animation: moveCloud1 60s linear infinite;
}
.cloud-2 {
    width: 600px; height: 400px;
    top: 40%; left: -600px;
    animation: moveCloud2 95s linear 9s infinite;
}
.cloud-3 {
    width: 700px; height: 500px;
    top: 50%; right: -10%;
    animation: floatCloud3 34s ease-in-out infinite;
}
@keyframes moveCloud1 {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(100vw + 800px)); }
}
@keyframes moveCloud2 {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(100vw + 600px)); }
}
@keyframes floatCloud3 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-100px); }
}

.sun {
    position: absolute;
    width: 500px; height: 500px;
    top: -150px; right: -150px;
    background: radial-gradient(circle, rgba(255,215,0,0.3) 0%, rgba(255,140,0,0) 70%);
    animation: breathSun 9s ease-in-out infinite;
}
@keyframes breathSun {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.15); opacity: 1; }
}

.light-track {
    position: absolute;
    width: 150vw; height: 2px;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(163,212,255,0.9) 50%, rgba(255,255,255,0) 100%);
    left: -25vw;
    transform-origin: center;
}
.track-1 { top: 20%; animation: sweepTrack 9s linear infinite; }
.track-2 { top: 50%; animation: sweepTrack 12s linear infinite; }
.track-3 { top: 80%; animation: sweepTrack 15s linear infinite; }

@keyframes sweepTrack {
    0% { transform: translateY(0) rotate(18deg) translateX(-100%); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(0) rotate(18deg) translateX(150%); opacity: 0; }
}

.rabbit-container {
    position: absolute;
    bottom: 16%;
    left: -50px;
    width: 20px; height: 20px;
    animation: runRabbit 16s linear infinite;
}
.rabbit-dot {
    width: 12px; height: 12px;
    background: #1E80FF;
    border-radius: 50%;
    box-shadow: 0 0 10px #1E80FF, 0 0 20px #A3D4FF;
    animation: bounceRabbit 0.85s cubic-bezier(0.28, 0.84, 0.42, 1) infinite alternate;
}
@keyframes runRabbit {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(100vw + 100px)); }
}
@keyframes bounceRabbit {
    0% { transform: translateY(0); }
    100% { transform: translateY(-40px); }
}

@media (prefers-reduced-motion: reduce) {
    .cloud, .sun, .light-track, .rabbit-container, .rabbit-dot {
        animation: none !important;
    }
}
/* ???????? */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 8px 16px;
    z-index: 10000;
    transition: top 0.2s;
    text-decoration: none;
    border-radius: 0 0 8px 0;
}
.skip-link:focus {
    top: 0;
}
:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}
.section, h2, h3, h4, h1 {
    scroll-margin-top: 80px;
}
/* FAQ Details Marker Hiding */
details.faq-item summary::-webkit-details-marker {
    display: none;
}
details.faq-item summary {
    list-style-type: none;
}