/*
---
- 01. GLOBAL DESIGN SYSTEM & THEME
- 02. ANIMATIONS (BACKGROUND & SHIMMER)
- 03. HEADER & NAVIGATION
- 04. GENERAL LAYOUT & SECTIONS
- 05. HERO SECTION
- 06. DOWNLOAD SECTION
- 07. PRICING SECTION
- 08. LOCATIONS SECTION
- 09. FOOTER
- 10. RESPONSIVE DESIGN
- 11. DOCUMENTATION & FAQ PAGE
- 12. FEATURES SECTION
---
*/

/* 01. GLOBAL DESIGN SYSTEM & THEME */
:root {
    --bg-dark: #0E1621;
    --bg-card: #182533;
    --accent-blue: #2AABEE;
    --accent-green: #44B661;
    --text-primary: #FFFFFF;
    --text-primary-hover: #FFFFFF;
    --text-secondary: #AAAAAA;
    --border-radius-lg: 16px;
    --border-radius-md: 12px;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-family);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* 02. ANIMATIONS (BACKGROUND & SHIMMER) */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: 
        radial-gradient(circle at 20% 20%, rgba(42, 171, 238, 0.1), transparent 30%),
        radial-gradient(circle at 80% 70%, rgba(42, 171, 238, 0.1), transparent 30%);
    animation: moveBackground 20s ease-in-out infinite alternate;
}

@keyframes moveBackground {
    from { background-position: 0 0, 0 0; }
    to { background-position: 100% 100%, -100% -100%; }
}

.shimmer-border {
    position: relative;
    overflow: hidden;
}

.shimmer-border::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent 30%
    );
    animation: rotate 4s linear infinite;
}

.shimmer-border:hover::before {
    animation-play-state: paused;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}


/* 03. HEADER & NAVIGATION */
.main-header {
    position: sticky;
    top: 10px;
    width: calc(100% - 40px);
    margin: 0 20px;
    z-index: 100;
    border-radius: var(--border-radius-md);
    background: rgba(24, 37, 51, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--accent-blue);
}

.btn {
    padding: 10px 24px;
    border-radius: var(--border-radius-md);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background-color: var(--accent-blue);
    color: var(--text-primary);
    box-shadow: 0 4px 15px rgba(42, 171, 238, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(42, 171, 238, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--accent-blue);
    border-color: var(--accent-blue);
}

.btn-outline:hover {
    background-color: rgba(42, 171, 238, 0.1);
    transform: translateY(-2px);
}

/* 04. GENERAL LAYOUT & SECTIONS */
main {
    padding: 2rem;
}

section {
    max-width: 1200px;
    margin: 0 auto 100px auto;
    text-align: center;
}

h1, h2, h3 {
    color: var(--text-primary);
    margin-top: 0;
}

h1 { font-size: 3rem; font-weight: 800; }
h2 { font-size: 2.5rem; font-weight: 700; }
h3 { font-size: 1.5rem; font-weight: 700; }

.subtitle, .section-description {
    color: var(--text-secondary);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 1rem auto 2rem auto;
}

/* 05. HERO SECTION */
.hero-section {
    padding: 80px 0;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    margin-bottom: 3rem;
}

.hero-visual {
    margin-top: 2rem;
    position: relative;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-visual img {
    width: 100%;
    border-radius: 40px;
    /* border: 8px solid #1c1c1e; */
    /* box-shadow: 0 20px 50px rgba(0,0,0,0.5); */
}

/* 06. DOWNLOAD SECTION */
.platform-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.platform-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--bg-card);
    color: var(--text-primary);
    padding: 1rem 2rem;
    border-radius: var(--border-radius-md);
    text-decoration: none;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease-in-out;
}

.platform-btn i {
    font-size: 1.5rem;
    color: var(--text-secondary);
    transition: color 0.2s;
}

.platform-btn:hover {
    transform: scale(1.05);
    background: var(--accent-blue);
    border-color: var(--accent-blue);
}

.platform-btn:hover i {
    color: var(--text-primary);
}

/* 12. FEATURES SECTION */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    text-align: left;
}

.feature-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s, border-color 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-blue);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--accent-blue);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 07. PRICING SECTION */
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    text-align: left;
}

.pricing-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.offer-card {
    border: 1px solid var(--accent-blue);
}

.offer-card .price {
    font-size: 4rem;
    font-weight: 800;
    color: var(--accent-blue);
    margin: 1rem 0;
}

.pricing-card .btn.wide {
    display: flex;
    justify-content: center;
    text-align: center;
    margin-top: auto;
    width: 100%;
    padding: 1rem;
}

.value-card h3 {
    margin-bottom: 1rem;
}

.value-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.value-card ul {
    list-style: none;
    padding: 0;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.value-card ul li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
}

.value-card ul i {
    color: var(--accent-green);
}


/* 08. LOCATIONS SECTION */
.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.location-card {
    position: relative;
    height: 350px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s;
}

.location-card:hover {
    transform: scale(1.03);
}

.location-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.8) 100%);
}

.location-info {
    position: relative;
    width: 100%;
    z-index: 2;
}

.location-info .country {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.country-flag {
    width: 28px;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.location-info .stats {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* 11. DOCUMENTATION & FAQ PAGE */
.doc-container {
    display: flex;
    max-width: 1200px;
    margin: 40px auto;
    gap: 40px;
    padding: 0 20px;
    align-items: flex-start;
}

.doc-sidebar {
    width: 280px;
    position: sticky;
    top: 100px;
    background: var(--bg-card);
    padding: 20px;
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.doc-nav a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.2s;
    font-size: 0.95rem;
}

.doc-nav a:hover, .doc-nav a.active {
    color: var(--text-primary);
    background: rgba(42, 171, 238, 0.1);
}

.doc-content {
    flex: 1;
    background: var(--bg-card);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: left;
}

.doc-content h1 { font-size: 2.5rem; margin-bottom: 1.5rem; text-align: left; }
.doc-content h2 { font-size: 1.8rem; margin-top: 2.5rem; margin-bottom: 1rem; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 10px; text-align: left; }
.doc-content p { line-height: 1.7; color: var(--text-secondary); margin-bottom: 1.5rem; }

/* Accordion */
details.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius-md);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: background 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

details.faq-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

summary.faq-question {
    padding: 1.2rem;
    cursor: pointer;
    font-weight: 600;
    list-style: none;
    position: relative;
    padding-right: 40px;
    color: var(--text-primary);
}

summary.faq-question::-webkit-details-marker { display: none; }

.faq-answer {
    padding: 0 1.2rem 1.2rem 1.2rem;
    color: var(--text-secondary);
    line-height: 1.6;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* 09. FOOTER */
.main-footer-bottom {
    text-align: center;
    padding: 2rem;
    color: var(--text-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.main-footer-bottom a {
    color: var(--accent-blue);
    text-decoration: none;
    margin-left: 1rem;
}

/* 10. RESPONSIVE DESIGN */
@media (max-width: 900px) {
    .nav-links {
        display: none; /* Simple hiding for mobile, could be replaced with a hamburger menu */
    }
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
}

@media (max-width: 600px) {
    main {
        padding: 1rem;
    }
    .main-header {
        width: calc(100% - 20px);
        margin: 0 10px;
        top: 5px;
    }
    .main-nav {
        padding: 0.75rem 1rem;
    }
    .platform-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    .platform-btn {
        justify-content: center;
    }
    .pricing-card {
        padding: 2rem;
    }
    .doc-container {
        flex-direction: column;
    }
    .doc-sidebar { width: 100%; position: relative; top: 0; margin-bottom: 2rem; }
}
