:root {
    --primary-color: #F8B500; /* CoC Gold */
    --primary-hover: #ffcf40;
    --accent-color: #D639F0; /* Elixir Pink/Purple */
    --success-color: #82F50F; /* Gem Green */
    --bg-dark: #121212; 
    --bg-card: #1e1e1e;
    --text-white: #ffffff;
    --text-gray: #cccccc;
    --border-color: #333;
    --font-heading: 'Supercell-Magic', 'Montserrat', sans-serif; /* Placeholder if they had the font */
    --font-body: 'Open Sans', sans-serif;
    --gradient-hero: radial-gradient(circle at center, rgba(248, 181, 0, 0.15) 0%, rgba(18, 18, 18, 1) 70%);
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

#canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    opacity: 0.6; /* Slight fade so text is readable */
    overflow: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--text-white);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

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

.highlight {
    color: var(--primary-color);
}

.dot {
    color: var(--primary-color);
}

/* Navbar */
.navbar {
    background-color: rgba(15, 16, 20, 0.95);
    padding: 20px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo {
    font-size: 24px;
    font-weight: 800;
    font-family: var(--font-heading);
    letter-spacing: -1px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.language-switch {
    display: flex;
    gap: 8px;
    margin-left: 10px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 20px;
}

.lang-btn {
    background: none;
    border: 1px solid rgba(248, 181, 0, 0.3);
    color: var(--text-gray);
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

.lang-btn.active {
    background-color: var(--primary-color);
    color: #000;
    border-color: var(--primary-color);
}

.nav-link {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-gray);
}

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

.btn {
    display: inline-block;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #000;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 700;
    transition: transform 0.2s;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(252, 194, 0, 0.3);
}

.btn-secondary {
    color: var(--text-white);
    margin-right: 10px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-white);
    transition: 0.3s;
}

/* Hero Section - Centered Layout */
.hero {
    padding: 160px 0 100px;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 5; /* Ensure content is above background/stars */
}

/* Ensure reviews stay near the dashboard, not the text */
.hero-image {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
}

.badge {
    background-color: rgba(0, 225, 255, 0.1);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 25px;
    display: inline-block;
    border: 1px solid rgba(0, 225, 255, 0.2);
    letter-spacing: 1px;
}

.hero-text h1 {
    font-size: 64px;
    margin-bottom: 25px;
    font-weight: 800;
    letter-spacing: -2px;
    background: linear-gradient(to right, #fff, #b4c6ef);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 20px;
    color: var(--text-gray);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 20px;
}

/* Features - Alternating Layout */
.features-container {
    padding: 100px 0;
}

.feature-row {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 120px;
}

.feature-row:nth-child(even) {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
}

.feature-text h3 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--text-white);
}

.feature-text p {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 30px;
}

.feature-visual {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

/* Feature Cards with CoC Style & Hover Animation */
.features-grid-small {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Force 4 columns */
    gap: 20px;
    margin-top: 40px;
    padding: 0 20px;
}

.feature-card-small {
    background: linear-gradient(145deg, #1e1e1e, #252525);
    border: 2px solid #333;
    padding: 30px 20px;
    border-radius: 15px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Bouncy transition */
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 10;
}

/* Modern Dashboard with WOW Effects */
.dashboard-modern {
    background: rgba(20, 20, 20, 0.85); /* Slightly darker for window feel */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0 0 20px 0; /* Remove top padding, handled by header */
    border-radius: 8px; /* Slightly sharper like Windows/Mac apps */
    border: 1px solid rgba(255, 255, 255, 0.15);
    width: 380px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.5); 
    margin: 0 auto;
    position: relative; /* Back to relative to fix layout */
    z-index: 100;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
    user-select: none; /* Prevent text selection while dragging */
}

.dashboard-modern:active {
    box-shadow: 0 35px 80px rgba(0,0,0,0.6);
}

/* Window Header / Controls */
.window-header {
    background: #202225; /* Discord-like title bar */
    padding: 6px 12px; /* Thinner padding */
    display: flex;
    align-items: center;
    border-bottom: 1px solid #202225;
    cursor: grab; /* Indicates draggable */
    position: relative; /* Needed for absolute centering */
    height: 32px; /* Fixed height for consistency */
}

.window-header:active {
    cursor: grabbing;
}

.window-controls {
    display: flex;
    gap: 8px;
    /* Removed margin-right: auto to use absolute positioning for title */
}

.win-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.win-btn.red { background-color: #ff5f56; }
.win-btn.yellow { background-color: #ffbd2e; }
.win-btn.green { background-color: #27c93f; }

.window-title {
    font-size: 13px;
    color: #b9bbbe;
    font-weight: 600;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 0; /* Remove margins */
    pointer-events: none; /* Let clicks pass through to header for dragging */
}

/* Floating Reviews - Discord Style */
.floating-review {
    position: absolute;
    background: rgba(49, 51, 56, 0.95); /* More opaque */
    padding: 16px;
    border-radius: 8px;
    width: 320px;
    z-index: 10; /* Lower than dashboard (100) */
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    display: flex;
    gap: 16px;
    align-items: flex-start;
    border-left: 4px solid var(--primary-color); 
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    text-align: left; 
    pointer-events: none; /* Prevent blocking interactions */
}

.floating-review:hover {
    z-index: 101; /* Bring to front on hover (if pointer events allowed, but they aren't now. Remove if desired) */
}

.review-avatar {
    width: 40px;

    height: 40px;
    border-radius: 50%;
    flex-shrink: 0;
    transition: transform 0.2s;
}

.floating-review:hover .review-avatar {
    transform: scale(1.1);
}

.review-content {
    flex: 1;
}

.review-header {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 4px;
}

.review-author {
    color: #f2f3f5;
    font-weight: 600;
    font-size: 15px;
}

.review-author:hover {
    text-decoration: underline;
    cursor: pointer;
}

.review-date {
    color: #949ba4;
    font-size: 11px;
    font-weight: 400;
}

.review-text {
    color: #dbdee1;
    font-size: 14px;
    line-height: 1.375rem;
    margin: 0;
    font-weight: 400;
}

/* Review Animations */
/* Modified to keep them closer to the dashboard center */
.review-1 {
    top: -20%; /* Relative to hero-image container now */
    left: 5%;
    animation: floatReview1 18s infinite alternate;
}

.review-2 {
    bottom: 35%;
    right: -5%;
    animation: floatReview2 22s infinite alternate-reverse;
}

.review-3 {
    top: 40%;
    left: -10%; /* Fly out to the left side */
    animation: floatReview3 25s infinite alternate;
}

@keyframes floatReview1 {
    0% { transform: translate(0, 0) rotate(-2deg); }
    100% { transform: translate(20px, -20px) rotate(2deg); }
}

@keyframes floatReview2 {
    0% { transform: translate(0, 0) rotate(2deg); }
    100% { transform: translate(-40px, -20px) rotate(-1deg); }
}

@keyframes floatReview3 {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(20px, 50px) rotate(-3deg); }
}


/* Glass Reflection Shine */
.glass-reflection {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
    transform: skewX(-25deg);
    animation: shine-sweep 4s infinite 1s;
    pointer-events: none;
}

@keyframes shine-sweep {
    0% { left: -100%; }
    50%, 100% { left: 200%; }
}

.dashboard-modern h3 {
    text-align: center;
    margin-top: 25px; /* Added spacing from header */
    margin-bottom: 30px;
    font-size: 22px;
    color: var(--text-white);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.live-badge {
    background: rgba(255, 0, 80, 0.2);
    color: #ff2a6d;
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 10px;
    border: 1px solid rgba(255, 0, 80, 0.3);
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
    0% { box-shadow: 0 0 0 0 rgba(255, 0, 80, 0.4); }
    70% { box-shadow: 0 0 0 6px rgba(255, 0, 80, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 0, 80, 0); }
}

.dashboard-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    padding: 15px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid transparent;
    transition: 0.3s;
    position: relative;
}

.dashboard-row:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateX(5px) scale(1.02);
}

/* Entrance Animation for Rows */
.wow-row {
    opacity: 0;
    transform: translateY(20px);
    animation: slide-up-fade 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: var(--d);
}

@keyframes slide-up-fade {
    to { opacity: 1; transform: translateY(0); }
}

/* Icons & Glow */
.icon-glow-container {
    position: relative;
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.5));
    transition: 0.3s;
}

.dashboard-row:hover .floating-icon {
    transform: scale(1.2) rotate(10deg);
}

.glow-effect {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    filter: blur(15px);
    opacity: 0.4;
    z-index: 1;
    transition: 0.3s;
}

.dashboard-row:hover .glow-effect {
    opacity: 0.8;
    filter: blur(20px);
}

.glow-effect.gold { background: var(--primary-color); }
.glow-effect.elixir { background: var(--accent-color); }
.glow-effect.dark { background: #fff; opacity: 0.1; }

.dashboard-text {
    display: flex;
    flex-direction: column;
}

.d-value {
    font-size: 26px;
    font-weight: 800;
    line-height: 1;
    color: var(--text-white);
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.d-value small {
    font-size: 14px;
    color: var(--text-gray);
    font-weight: 600;
}

.d-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-top: 4px;
    opacity: 0.8;
}

.text-gold { color: #ffe100; text-shadow: 0 0 15px rgba(255, 225, 0, 0.4); }
.text-elixir { color: #ff55ff; text-shadow: 0 0 15px rgba(255, 85, 255, 0.4); }
.text-dark-elixir { color: #aaa; }

.dashboard-status {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 20px;
    margin-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    color: var(--text-white);
    font-size: 13px;
    font-weight: 600;
}

/* Loading Ring */
.loading-ring {
    display: inline-block;
    position: relative;
    width: 20px;
    height: 20px;
}
.loading-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 16px;
    height: 16px;
    margin: 2px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: loading-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: var(--primary-color) transparent transparent transparent;
}
.loading-ring div:nth-child(1) { animation-delay: -0.45s; }
.loading-ring div:nth-child(2) { animation-delay: -0.3s; }
.loading-ring div:nth-child(3) { animation-delay: -0.15s; }
@keyframes loading-ring {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.blinking-text {
    animation: text-pulse 2s infinite;
}

@keyframes text-pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; text-shadow: 0 0 10px rgba(0, 255, 100, 0.5); }
    100% { opacity: 0.6; }
}



.btn-primary {
    background-color: var(--primary-color);
    color: #3d2b00;
    border: 2px solid #ffdb4d;
    box-shadow: 0 4px 0 #b38200; /* CoC Button Style 3D */
    transition: all 0.1s;
}

.btn-primary:active {
    transform: translateY(4px);
    box-shadow: 0 0 0 #b38200;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 0 #b38200;
}

/* Responsive Grid for small screens */
@media (max-width: 1024px) {
    .features-grid-small {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .features-grid-small {
        grid-template-columns: 1fr;
    }
}



.btn-lg {
    padding: 15px 35px;
    font-size: 16px;
}

.btn-outline {
    border: 2px solid rgba(255, 255, 255, 0.2);
    padding: 13px 33px; /* Compensate for border */
    border-radius: 50px;
    font-weight: 700;
}

.btn-outline:hover {
    border-color: var(--text-white);
    background-color: rgba(255, 255, 255, 0.05);
}

.hero-stats {
    display: flex;
    gap: 50px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-white);
}

.stat-label {
    font-size: 12px;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* CSS Mockup */
.mockup-window {
    background-color: var(--bg-card);
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    position: relative;
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: transform 0.5s ease;
}

.mockup-window:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.mockup-header {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 15px;
    display: flex;
    gap: 8px;
}

.circle {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.red { background-color: #ff5f56; }
.yellow { background-color: #ffbd2e; }
.green { background-color: #27c93f; }

.mockup-body {
    padding: 40px;
}

.mockup-content h3 {
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.resource-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.bar-container {
    flex-grow: 1;
    background-color: #333;
    height: 10px;
    border-radius: 5px;
    overflow: hidden;
}

.bar {
    height: 100%;
    border-radius: 5px;
}

.bar.gold { background-color: #fcc200; }
.bar.elixir { background-color: #d93bf0; }
.bar.dark { background-color: #222; border: 1px solid #555; } /* Dark Elixir look */

.text-gold { color: #fcc200; }
.text-elixir { color: #d93bf0; }
.text-dark { color: #555; }

.blink {
    color: var(--green);
    animation: blinker 2s linear infinite;
}

@keyframes blinker {
    50% { opacity: 0; }
}

.status-text {
    font-size: 12px;
    color: var(--text-gray);
    margin-top: 30px;
    font-family: monospace;
}

/* Shape Divider */
.custom-shape-divider-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.custom-shape-divider-bottom svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
    transform: rotate(180deg);
}

.custom-shape-divider-bottom .shape-fill {
    fill: var(--bg-dark); /* Should match the section below background if different, here same */
}

/* Features */
.features {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 70px;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-gray);
}

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

.feature-card {
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.icon-box {
    font-size: 30px;
    color: var(--primary-color);
    margin-bottom: 25px;
    background-color: rgba(252, 194, 0, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 20px;
}

.feature-card p {
    color: var(--text-gray);
    font-size: 14px;
}

/* Pricing */
.pricing {
    padding: 100px 0;
    background-color: #0c0d10; /* Slightly darker */
}

.pricing-wrapper {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.pricing-card {
    background-color: var(--bg-card);
    border-radius: 16px;
    padding: 50px;
    width: 350px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    position: relative;
}

.pricing-card.popular {
    border-color: var(--primary-color);
    box-shadow: 0 0 30px rgba(252, 194, 0, 0.1);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: #000;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
}

.card-header {
    text-align: center;
    margin-bottom: 40px;
}

.price {
    font-size: 40px;
    font-weight: 800;
    margin-top: 10px;
}

.price span {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-gray);
}

.features-list {
    margin-bottom: 40px;
}

.features-list li {
    margin-bottom: 15px;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 10px;
}

.features-list li i {
    color: var(--primary-color);
    font-size: 12px;
}

.btn-full {
    display: block;
    width: 100%;
    text-align: center;
}

/* FAQ */
.faq {
    padding: 100px 0;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 10px;
}

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

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
}

.faq-answer p {
    padding-bottom: 20px;
    color: var(--text-gray);
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

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

/* CTA Footer */
.cta-footer {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(0deg, rgba(252, 194, 0, 0.05), transparent);
}

.cta-footer h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta-footer p {
    margin-bottom: 40px;
    color: var(--text-gray);
}

/* Footer */
footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 80px 0 20px;
    background-color: #0c0d10;
}

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

.footer-col h3 {
    margin-bottom: 20px;
    font-size: 24px;
}

.footer-col p {
    color: var(--text-gray);
    margin-bottom: 20px;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: var(--bg-lighter);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: var(--text-white);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: #000;
}

.footer-col h4 {
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--text-gray);
}

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

.footer-bottom {
    text-align: center;
    color: var(--text-gray);
    font-size: 14px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Header User Counter */
.user-counter-badge {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: auto;
    margin-left: 20px;
}

.live-dot {
    width: 6px;
    height: 6px;
    background-color: #27c93f;
    border-radius: 50%;
    box-shadow: 0 0 8px #27c93f;
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(20,20,20,0.5) 50%, transparent 100%);
    position: relative;
}

.steps-container {
    display: flex;
    justify-content: center;
    align-items: stretch; /* Stretch to occupy same height */
    gap: 20px;
    margin-top: 50px;
}

.step-card {
    background: rgba(30, 30, 30, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    flex: 1;
    max-width: 300px;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

/* Ensure paragraph pushes down or takes space but doesn't break alignment */
.step-card p {
    flex-grow: 1;
}

.step-card:hover {
    transform: translateY(-10px);
    background: rgba(30, 30, 30, 0.7);
    border-color: var(--primary-color);
}

.step-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), #d4a000);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    font-size: 24px;
    color: #000;
}

.step-number {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 24px;
    height: 24px;
    background: #fff;
    color: #000;
    font-weight: 800;
    border-radius: 50%;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #000;
}

.step-arrow {
    align-self: center;
    font-size: 24px;
    color: var(--text-gray);
    margin-top: -40px; /* Offset for text height */
}

/* Pricing Popular Highlight */
.pricing-card.popular {
    transform: scale(1.05);
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 30px rgba(248, 181, 0, 0.2);
    position: relative;
    z-index: 2;
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(to right, var(--primary-color), #ffcc33);
    color: #000;
    padding: 4px 16px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* Glitch Button Effect */
.btn-glitch {
    position: relative;
    overflow: hidden;
}

.btn-glitch::after {
    content: attr(data-text);
    position: absolute;
    left: 2px;
    text-shadow: -1px 0 #ff00c1;
    top: 0;
    color: var(--text-white);
    background: var(--primary-color);
    overflow: hidden;
    clip: rect(0, 900px, 0, 0); 
    animation: glitch 2s infinite linear alternate-reverse;
}

.btn-glitch::before {
    content: attr(data-text);
    position: absolute;
    left: -2px;
    text-shadow: 1px 0 #00fff9;
    top: 0;
    color: var(--text-white);
    background: var(--primary-color);
    overflow: hidden;
    clip: rect(0, 900px, 0, 0); 
    animation: glitch 3s infinite linear alternate-reverse;
}

@keyframes glitch {
    0% { clip: rect(44px, 9999px, 56px, 0); }
    5% { clip: rect(12px, 9999px, 3px, 0); }
    10% { clip: rect(80px, 9999px, 83px, 0); }
    15% { clip: rect(4px, 9999px, 98px, 0); }
    20% { clip: rect(32px, 9999px, 60px, 0); }
    25% { clip: rect(14px, 9999px, 49px, 0); }
    30% { clip: rect(14px, 9999px, 1px, 0); }
    35% { clip: rect(27px, 9999px, 19px, 0); }
    40% { clip: rect(86px, 9999px, 12px, 0); }
    45% { clip: rect(38px, 9999px, 47px, 0); }
    50% { clip: rect(42px, 9999px, 20px, 0); }
    55% { clip: rect(76px, 9999px, 5px, 0); }
    60% { clip: rect(10px, 9999px, 58px, 0); }
    65% { clip: rect(39px, 9999px, 73px, 0); }
    70% { clip: rect(50px, 9999px, 84px, 0); }
    75% { clip: rect(2px, 9999px, 4px, 0); }
    80% { clip: rect(18px, 9999px, 54px, 0); }
    85% { clip: rect(59px, 9999px, 10px, 0); }
    90% { clip: rect(89px, 9999px, 52px, 0); }
    95% { clip: rect(6px, 9999px, 11px, 0); }
    100% { clip: rect(69px, 9999px, 89px, 0); }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .language-switch {
        margin-left: 5px;
        padding-left: 10px;
        gap: 5px;
    }

    .lang-btn {
        padding: 5px 8px;
        font-size: 11px;
    }

    .step-arrow {
        display: none;
    }
    .steps-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        order: 1;
    }

    .hero-image {
        order: 2;
        margin-top: 50px;
    }

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

    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-card);
        flex-direction: column;
        padding: 20px;
        display: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

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

    .footer-content {
        grid-template-columns: 1fr;
    }

    /* Hide floating reviews on mobile to save space */
    .floating-review {
        display: none;
    }

    /* Adjust dashboard for mobile */
    .dashboard-modern {
        width: 90%;
        max-width: 350px;
        padding-top: 0; 
        /* Ensure specific styles for mobile if JS hasn't taken over */
    }
}

/* Checkout Page Styles */
.checkout-container {
    max-width: 600px;
    margin: 120px auto 50px; /* Space for fixed navbar */
    padding: 40px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.checkout-header {
    text-align: center;
    margin-bottom: 30px;
}

.checkout-header h2 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

#payment-form {
    width: 100%;
}

.hidden {
    display: none !important;
}

/* Spinner */
.spinner {
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top: 3px solid #ffffff;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#payment-message {
    color: var(--accent-color);
    margin-top: 15px;
    text-align: center;
    font-size: 0.9em;
}

/* Checkout Divider */
.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0;
    color: var(--text-gray);
    font-size: 0.9em;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border-color);
}

.divider::before {
    margin-right: .5em;
}

.divider::after {
    margin-left: .5em;
}

#express-checkout-element {
    margin-bottom: 20px;
}

/* Checkout Divider */
.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0;
    color: var(--text-gray);
    font-size: 0.9em;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border-color);
}

.divider::before {
    margin-right: .5em;
}

.divider::after {
    margin-left: .5em;
}

#express-checkout-element {
    margin-bottom: 20px;
}
