/* ===========================
   Fenryx - Light Premium Design
   =========================== */

:root {
    /* Brand Palette */
    --bg-primary: #FFFFFF;
    --bg-secondary: #f8f9fc;
    --bg-card: #FFFFFF;
    --bg-card-hover: #f5f7fa;

    --text-primary: #0F0F45;
    --text-secondary: #4a4a6a;
    --text-muted: #7a7a9a;

    /* Accent - Brand Blue */
    --accent-primary: #282CFF;
    --accent-secondary: #FE6600;
    --accent-gradient: linear-gradient(135deg, #282CFF 0%, #4a4eff 100%);
    --accent-light: rgba(40, 44, 255, 0.08);

    /* Secondary Accent - Orange */
    --accent-orange: #FE6600;
    --accent-orange-light: rgba(254, 102, 0, 0.08);

    --border-color: rgba(0, 0, 0, 0.06);
    --border-hover: rgba(0, 0, 0, 0.12);

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 5rem;
    --space-3xl: 8rem;

    /* Typography - Brand Font */
    --font-primary: 'Funnel Display', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.08);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Background Effects - Light Theme */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100vw;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 102, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 102, 255, 0.03) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
    z-index: 0;
}

.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100vw;
    height: 100%;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0, 102, 255, 0.06), transparent),
        radial-gradient(ellipse 60% 40% at 100% 0%, rgba(0, 82, 204, 0.04), transparent);
    pointer-events: none;
    z-index: 0;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100vw;
    z-index: 1000;
    padding: var(--space-md) 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-base);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-xs);
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-fast);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: 0.75rem 1.5rem;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: var(--transition-base);
}

.btn-primary {
    background: var(--accent-primary);
    color: #ffffff;
}

.btn-primary:hover {
    background: var(--accent-secondary);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 102, 255, 0.25);
}

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

.btn-outline:hover {
    background: var(--bg-secondary);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.btn-ghost {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

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

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

/* Hero Section */
.hero {
    position: relative;
    min-height: 90vh;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    align-items: center;
    gap: var(--space-3xl);
    max-width: 1280px;
    margin: 0 auto;
    padding: calc(var(--space-3xl) + 80px) var(--space-xl) var(--space-3xl);
    z-index: 1;
}

.hero-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 0.5rem 1rem;
    background: var(--accent-light);
    border: 1px solid rgba(0, 102, 255, 0.15);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent-primary);
    margin-bottom: var(--space-lg);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: var(--space-lg);
    color: var(--text-primary);
}

.gradient-text {
    color: var(--accent-primary);
}

.title-line {
    white-space: nowrap;
}

@media (max-width: 640px) {
    .title-line {
        white-space: normal;
    }

    .hero-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.stat-value {
    font-size: 1.1rem;
    font-weight: 600;
    font-family: var(--font-mono);
    color: var(--text-primary);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

/* Hero Visual - World Map */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.world-map-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    min-height: 450px;
    padding: var(--space-md);
    background: transparent;
    overflow: visible;
}

.world-map {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

.world-map-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(0, 102, 255, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

/* Dynamic payment paths */
.dynamic-path {
    pointer-events: none;
    filter: drop-shadow(0 0 4px var(--accent-primary));
}



/* Map dots subtle animation */
.map-dots circle {
    animation: dotFade 4s ease-in-out infinite;
}

.map-dots circle:nth-child(odd) {
    animation-delay: 0.5s;
}

.map-dots circle:nth-child(3n) {
    animation-delay: 1s;
}

@keyframes dotFade {

    0%,
    100% {
        opacity: 0.15;
    }

    50% {
        opacity: 0.3;
    }
}


/* Section Styles */
.section-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: var(--space-3xl) var(--space-lg);
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-3xl);
}

.section-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-primary);
    margin-bottom: var(--space-md);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Products Section */
.products {
    background: var(--bg-secondary);
    position: relative;
}

.products::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--accent-gradient);
    opacity: 0.2;
}

.products-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-3xl);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.product-card {
    position: relative;
    padding: var(--space-xl);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.product-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-card.featured {
    border-color: rgba(40, 44, 255, 0.3);
    background: linear-gradient(180deg, rgba(40, 44, 255, 0.04) 0%, var(--bg-card) 100%);
}

.product-card.featured .product-badge {
    background: var(--accent-orange);
}

.product-badge {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    padding: 0.25rem 0.75rem;
    background: var(--accent-primary);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #ffffff;
}

.product-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-primary) 0%, #6366f1 100%);
    border-radius: var(--radius-lg);
    color: #ffffff;
    margin-bottom: var(--space-lg);
    box-shadow: 0 8px 20px rgba(40, 44, 255, 0.25);
    transition: var(--transition-base);
}

.product-card:hover .product-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 28px rgba(40, 44, 255, 0.35);
}

.product-icon svg {
    width: 28px;
    height: 28px;
}

.product-title {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.product-desc,
.product-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}

.product-status {
    display: inline-block;
    margin-top: var(--space-md);
    padding: 0.35rem 0.85rem;
    background: var(--accent-orange-light);
    color: var(--accent-orange);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 100px;
}

.product-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    margin-bottom: var(--space-lg);
}

.product-features li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.product-features li::before {
    content: '→';
    color: var(--accent-primary);
    font-weight: 600;
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--accent-primary);
    transition: var(--transition-fast);
}

.product-link:hover {
    gap: var(--space-sm);
}

/* Advantages Section */
.advantages {
    background: var(--bg-secondary);
}

.advantages-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-3xl);
    align-items: start;
}

.advantages-left {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.advantages-right {
    position: sticky;
    top: 120px;
}

.advantage-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    cursor: pointer;
}

.advantage-item .advantage-content p {
    margin-bottom: 0;
}

.advantage-arrow {
    margin-left: auto;
    font-size: 1.2rem;
    color: var(--text-muted);
    transition: var(--transition-base);
}

.advantage-item:hover .advantage-arrow,
.advantage-item.active .advantage-arrow {
    color: var(--accent-primary);
    transform: translateX(4px);
}

.advantage-item.active {
    border-color: var(--accent-primary);
    background: linear-gradient(135deg, rgba(40, 44, 255, 0.04) 0%, var(--bg-card) 100%);
    box-shadow: var(--shadow-md);
}

.advantage-item.active .advantage-icon {
    background: var(--accent-primary);
    color: #fff;
}

/* Advantage Details */
.advantage-details {
    margin-top: var(--space-xl);
}

.advantage-detail {
    display: none;
    animation: fadeIn 0.3s ease;
}

.advantage-detail.active {
    display: block;
}

.advantage-detail h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.advantage-detail p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.advantage-detail ul {
    margin: var(--space-md) 0;
    padding-left: var(--space-lg);
}

.advantage-detail li {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-xs);
}

.advantage-detail li::marker {
    color: var(--accent-primary);
}

.advantage-detail strong {
    color: var(--text-primary);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.advantage-item:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
}

.advantage-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-light);
    border-radius: var(--radius-md);
    color: var(--accent-primary);
}

.advantage-icon svg {
    width: 24px;
    height: 24px;
}

.advantage-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
    color: var(--text-primary);
}

.advantage-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* About Section */
.about {
    background: var(--bg-primary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.about-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.about-values {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.value-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
}

.value-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--accent-primary);
}

/* Legal Pages */
.legal-page {
    padding-top: 120px;
    padding-bottom: var(--space-3xl);
    background: var(--bg-primary);
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-card);
    padding: var(--space-2xl) var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.legal-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--space-lg);
    color: var(--text-primary);
    text-align: center;
}

.legal-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.legal-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.legal-content p,
.legal-content li {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

.legal-content ul,
.legal-content ol {
    margin-bottom: var(--space-sm);
    padding-left: var(--space-lg);
}

.legal-content ul li {
    list-style-type: disc;
}

.legal-content a {
    color: var(--accent-primary);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.legal-content a:hover {
    color: var(--accent-secondary);
}

.legal-date {
    display: block;
    text-align: center;
    color: var(--text-muted);
    margin-bottom: var(--space-xl);
    font-style: italic;
}



.about-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
}

.about-card-inner {
    position: relative;
}

.quote-icon {
    font-size: 4rem;
    line-height: 1;
    color: var(--accent-primary);
    opacity: 0.3;
    margin-bottom: var(--space-md);
}

.quote-text {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
}

.quote-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.author-info {
    display: flex;
    flex-direction: column;
}

/* Team Card Styles */
.team-card {
    background: linear-gradient(135deg, rgba(40, 44, 255, 0.03) 0%, var(--bg-card) 100%);
    border-color: rgba(40, 44, 255, 0.15);
}

.team-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
}

.team-stats {
    display: flex;
    gap: var(--space-xl);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--border-color);
}

.team-stat {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.team-stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-primary);
    line-height: 1;
}

.team-stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.team-description {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.team-highlights {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    padding-left: 0;
    list-style: none;
}

.team-highlights li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.team-highlights li::before {
    content: '✓';
    color: var(--accent-primary);
    font-weight: 600;
}

.author-role {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* CTA Section */
.cta {
    background: linear-gradient(180deg, var(--bg-primary) 0%, #f5f8ff 50%, #eef3ff 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 80% 60% at 50% 100%, rgba(40, 44, 255, 0.1) 0%, transparent 60%),
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.05) 0%, transparent 30%),
        radial-gradient(circle at 80% 50%, rgba(40, 44, 255, 0.05) 0%, transparent 30%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.cta-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.cta-trust {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.9rem;
    color: var(--text-muted);
}

.trust-items {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-secondary);
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: var(--space-3xl) var(--space-lg) var(--space-xl);
}

@media (max-width: 768px) {
    .footer-container {
        padding: var(--space-2xl) var(--space-md) var(--space-xl);
    }
}

.footer-main {
    display: flex;
    justify-content: space-between;
    gap: var(--space-3xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid var(--border-color);
}

.footer-brand {
    max-width: 300px;
}

.footer-tagline {
    margin-top: var(--space-md);
    font-size: 0.95rem;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: var(--space-3xl);
}

.footer-col h4 {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: var(--space-md);
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-col a {
    font-size: 0.95rem;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.footer-col a:hover {
    color: var(--accent-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-xl);
}

.footer-bottom p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-social {
    display: flex;
    gap: var(--space-md);
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.footer-social a:hover {
    color: var(--accent-primary);
    border-color: var(--accent-primary);
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

/* Animations */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate="fade-up"].animated {
    opacity: 1;
    transform: translateY(0);
}

[data-animate="fade-right"] {
    transform: translateX(-30px);
}

[data-animate="fade-right"].animated {
    opacity: 1;
    transform: translateX(0);
}

[data-animate="fade-left"] {
    transform: translateX(30px);
}

[data-animate="fade-left"].animated {
    opacity: 1;
    transform: translateX(0);
}

[data-animate="scale-in"] {
    transform: scale(0.95);
}

[data-animate="scale-in"].animated {
    opacity: 1;
    transform: scale(1);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
        text-align: center;
        padding-top: 120px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid .product-card:last-child {
        grid-column: 1 / -1;
        max-width: 50%;
        margin: 0 auto;
    }

    .advantages-content {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .advantages-right {
        position: static;
        order: -1;
        text-align: center;
    }

    .advantages-left {
        max-width: 100%;
    }

    .advantage-details {
        text-align: left;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 var(--space-md);
    }

    .section-container {
        padding: var(--space-2xl) var(--space-md);
    }

    .hero {
        padding-top: 120px;
        padding-left: var(--space-md);
        padding-right: var(--space-md);
        padding-bottom: var(--space-2xl);
        min-height: calc(100vh - 80px);
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: var(--bg-primary);
        padding: var(--space-lg);
        gap: var(--space-md);
        border-bottom: 1px solid var(--border-color);
    }

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

    .nav-toggle {
        display: flex;
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--space-md);
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .title-line {
        white-space: normal;
    }

    .hero-title {
        font-size: clamp(2rem, 7vw, 3rem);
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .products-grid .product-card:last-child {
        max-width: 100%;
    }

    .world-map-container {
        padding: var(--space-md);
    }

    .footer-main {
        flex-direction: column;
        gap: var(--space-xl);
    }

    .footer-links {
        flex-wrap: wrap;
        gap: var(--space-xl);
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .about-values {
        grid-template-columns: 1fr;
    }
}

/* Smooth scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-hover);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* Selection styling */
::selection {
    background: rgba(0, 102, 255, 0.2);
    color: var(--text-primary);
}

/* Hero Centered Layout - Row version */
.hero-centered {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    text-align: center;
    min-height: auto;
    padding-top: calc(var(--space-2xl) + 80px);
    padding-bottom: var(--space-xl);
}

.hero-centered .hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-centered .hero-cta {
    justify-content: center;
}

/* Dashboard Preview */
.dashboard-preview {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 
        0 25px 80px -12px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    max-width: 1000px;
    margin: 0 auto;
}

.dashboard-image {
    width: 100%;
    height: auto;
    display: block;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.hero-centered .hero-visual {
    margin-top: var(--space-lg);
}

/* Statement Section */
.statement {
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
}

.statement-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.statement-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
}

.statement-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    position: relative;
    padding: var(--space-lg) var(--space-xl);
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--accent-primary);
}

/* Big Quote Section */
.big-quote {
    background: var(--accent-primary);
    position: relative;
    overflow: hidden;
}

.big-quote::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 50%);
    pointer-events: none;
}

.big-quote .section-container {
    padding: var(--space-3xl) var(--space-lg);
}

.quote-large {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 500;
    line-height: 1.5;
    color: #ffffff;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.big-quote.alt {
    background: linear-gradient(135deg, #f8faff 0%, #f0f4ff 50%, #e8eeff 100%);
    position: relative;
}

.big-quote.alt::before {
    background: 
        radial-gradient(ellipse 60% 60% at 30% 0%, rgba(40, 44, 255, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 50% 50% at 70% 100%, rgba(99, 102, 241, 0.06) 0%, transparent 50%);
}

.big-quote.alt .quote-large {
    color: var(--text-primary);
    position: relative;
}

.big-quote.alt .quote-large::before {
    content: '"';
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 6rem;
    color: var(--accent-primary);
    opacity: 0.15;
    font-family: Georgia, serif;
    line-height: 1;
}

/* Accounts Section */
.accounts {
    background: var(--bg-primary);
}

.accounts-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-3xl);
}

/* Offers Grid */
.offers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.offer-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.offer-item:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.offer-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-primary) 0%, #6366f1 100%);
    border-radius: var(--radius-md);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(40, 44, 255, 0.25);
    transition: var(--transition-base);
}

.offer-item:hover .offer-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(40, 44, 255, 0.35);
}

.offer-icon svg {
    width: 24px;
    height: 24px;
}

.offer-item span {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Why Fenryx Section */
.why-fenryx {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, #f0f4ff 100%);
    position: relative;
    overflow: hidden;
}

.why-fenryx::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(40, 44, 255, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(99, 102, 241, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

.why-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.why-points {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.why-point {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg) var(--space-xl);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(40, 44, 255, 0.1);
    border-radius: var(--radius-lg);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: var(--transition-base);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.why-point:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(40, 44, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(40, 44, 255, 0.1);
}

.why-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--accent-gradient);
    border-radius: var(--radius-sm);
    color: #ffffff;
    font-size: 1rem;
    flex-shrink: 0;
}

/* Products Grid Update for 5 cards - 3 per row, adaptive */
.products .products-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-lg);
    justify-content: center;
}

.products .products-grid .product-card {
    flex: 1 1 calc(33.333% - var(--space-lg));
    max-width: calc(33.333% - var(--space-lg));
    min-width: 280px;
}

/* Responsive Updates */
@media (max-width: 1024px) {
    .offers-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products .products-grid .product-card {
        flex: 1 1 calc(50% - var(--space-lg));
        max-width: calc(50% - var(--space-lg));
    }

    .dashboard-preview {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .offers-grid {
        grid-template-columns: 1fr;
    }

    .quote-large {
        font-size: 1.3rem;
    }

    .statement-title {
        font-size: 1.5rem;
    }

    .why-points {
        grid-template-columns: 1fr;
    }

    .why-point {
        font-size: 1rem;
        text-align: left;
        justify-content: flex-start;
    }
}