/*
Theme Name: Squicle
Theme URI: https://squicle.com
Author: Squicle LLC
Author URI: https://squicle.com
Description: A modern, lavish theme for Squicle - the all-in-one social platform for chat, events, and unforgettable experiences.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: squicle
Tags: one-column, custom-colors, custom-menu, custom-logo, featured-images, theme-options, translation-ready

Squicle WordPress Theme, Copyright 2026 Squicle LLC
*/

/* =====================================================
   CSS VARIABLES
   ===================================================== */

:root {
    /* Primary Colors */
    --primary: #6366f1;
    --primary-light: #818cf8;
    --primary-dark: #4f46e5;
    --primary-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);

    /* Secondary Colors */
    --secondary: #06b6d4;
    --accent: #f472b6;

    /* Neutrals */
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --black: #030712;

    /* Semantic */
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;

    /* Typography */
    --font-primary: 'Outfit', sans-serif;
    --font-secondary: 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 120px;
    --container-max: 1200px;

    /* Effects */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.3);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 9999px;
}

/* =====================================================
   RESET & BASE STYLES
   ===================================================== */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-secondary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--white);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* Gradient Text */
.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* =====================================================
   WORDPRESS SPECIFIC STYLES
   ===================================================== */

/* Accessibility */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* WordPress Alignments */
.alignleft {
    float: left;
    margin-right: 1.5em;
    margin-bottom: 1em;
}

.alignright {
    float: right;
    margin-left: 1.5em;
    margin-bottom: 1em;
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1em;
}

/* WordPress Captions */
.wp-caption {
    margin-bottom: 1.5em;
    max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption .wp-caption-text {
    margin: 0.8075em 0;
    font-size: 14px;
    color: var(--gray-500);
}

/* WordPress Galleries */
.gallery {
    margin-bottom: 1.5em;
}

.gallery-item {
    display: inline-block;
    text-align: center;
    vertical-align: top;
    width: 100%;
}

/* =====================================================
   PRELOADER
   ===================================================== */

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.loader-ring {
    width: 60px;
    height: 60px;
    border: 3px solid var(--gray-800);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loader-text {
    font-family: var(--font-primary);
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 2px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* =====================================================
   NAVIGATION
   ===================================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-base);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
    padding: 12px 0;
}

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

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

.logo-img,
.custom-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo-text,
.site-title {
    font-family: var(--font-primary);
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    transition: var(--transition-base);
}

.navbar.scrolled .logo-text,
.navbar.scrolled .site-title {
    color: var(--gray-900);
}

/* WordPress Navigation Menu */
.nav-links,
.primary-menu {
    display: flex;
    align-items: center;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a,
.primary-menu a {
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    transition: var(--transition-base);
}

.navbar.scrolled .nav-links a,
.navbar.scrolled .primary-menu a {
    color: var(--gray-700);
}

.nav-links a:hover,
.primary-menu a:hover {
    color: var(--white);
}

.navbar.scrolled .nav-links a:hover,
.navbar.scrolled .primary-menu a:hover {
    color: var(--primary);
}

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

.nav-links a:hover::after,
.primary-menu a:hover::after,
.primary-menu .current-menu-item a::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: var(--transition-base);
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}

.btn-nav {
    padding: 10px 20px;
    font-size: 14px;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition-base);
}

.navbar.scrolled .menu-toggle span {
    background: var(--gray-800);
}

/* =====================================================
   HERO SECTION
   ===================================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a3e 50%, #2d1b4e 100%);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.8) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.6) 0%, transparent 70%);
    bottom: 10%;
    left: -100px;
    animation-delay: -5s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.5) 0%, transparent 70%);
    top: 40%;
    right: 20%;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

.grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-content {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    color: var(--white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    font-size: 14px;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.hero-badge i {
    color: var(--warning);
}

.hero-title {
    font-family: var(--font-primary);
    font-size: clamp(48px, 6vw, 80px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-title span {
    display: block;
}

.hero-description {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 48px;
}

/* Store Buttons */
.store-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    color: var(--white);
    transition: var(--transition-base);
    backdrop-filter: blur(10px);
}

.store-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.store-btn i {
    font-size: 28px;
}

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

.store-label {
    font-size: 11px;
    opacity: 0.8;
}

.store-name {
    font-size: 16px;
    font-weight: 600;
}

.store-btn.large {
    padding: 18px 32px;
    background: var(--white);
    color: var(--gray-900);
    border: none;
}

.store-btn.large:hover {
    background: var(--gray-100);
    box-shadow: var(--shadow-xl);
}

.store-btn.large i {
    font-size: 32px;
}

.store-btn.large .store-name {
    font-size: 18px;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
}

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

.stat-number {
    font-family: var(--font-primary);
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
}

.stat-number::after {
    content: '+';
    font-size: 20px;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

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

.phone-mockup {
    position: relative;
}

.phone-frame {
    position: relative;
    width: 280px;
    height: 580px;
    background: linear-gradient(145deg, #2a2a2a 0%, #1a1a1a 100%);
    border-radius: 40px;
    padding: 12px;
    box-shadow:
        0 50px 100px -20px rgba(0, 0, 0, 0.5),
        0 30px 60px -30px rgba(0, 0, 0, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--gray-900);
    border-radius: 32px;
    overflow: hidden;
}

.screen-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Floating Cards */
.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-800);
    animation: float-card 6s ease-in-out infinite;
}

.floating-card i {
    font-size: 18px;
    color: var(--primary);
}

.card-1 {
    top: 10%;
    left: -60px;
    animation-delay: 0s;
}

.card-2 {
    top: 45%;
    right: -80px;
    animation-delay: -2s;
}

.card-3 {
    bottom: 15%;
    left: -40px;
    animation-delay: -4s;
}

@keyframes float-card {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    font-size: 18px;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* =====================================================
   SOCIAL PROOF
   ===================================================== */

.social-proof {
    padding: 60px 0;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
}

.social-proof .container {
    text-align: center;
}

.proof-text {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.proof-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 48px;
}

.proof-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-600);
    font-size: 15px;
    font-weight: 500;
}

.proof-item i {
    font-size: 20px;
    color: var(--primary);
}

/* =====================================================
   FEATURES SECTION
   ===================================================== */

.features {
    padding: var(--section-padding) 0;
    background: var(--white);
}

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

.section-tag {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-primary);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-description {
    font-size: 18px;
    color: var(--gray-500);
    line-height: 1.7;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    position: relative;
    padding: 32px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    transition: var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.feature-card.featured {
    background: linear-gradient(135deg, var(--primary) 0%, #8b5cf6 100%);
    border: none;
    color: var(--white);
}

.feature-card.featured .feature-icon {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.feature-card.featured h3,
.feature-card.featured p,
.feature-card.featured .feature-list li {
    color: var(--white);
}

.feature-card.featured .feature-list i {
    color: rgba(255, 255, 255, 0.8);
}

.feature-badge {
    position: absolute;
    top: -12px;
    right: 24px;
    padding: 6px 14px;
    background: var(--warning);
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--radius-full);
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    color: var(--primary);
    font-size: 24px;
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-family: var(--font-primary);
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 15px;
    color: var(--gray-500);
    margin-bottom: 20px;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--gray-600);
}

.feature-list i {
    font-size: 12px;
    color: var(--success);
}

/* =====================================================
   HOW IT WORKS
   ===================================================== */

.how-it-works {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}

.steps-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.steps-line {
    position: absolute;
    left: 28px;
    top: 60px;
    bottom: 60px;
    width: 2px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--accent) 100%);
}

.step {
    display: flex;
    gap: 32px;
    margin-bottom: 48px;
}

.step:last-child {
    margin-bottom: 0;
}

.step-number {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    color: var(--white);
    font-family: var(--font-primary);
    font-size: 24px;
    font-weight: 700;
    border-radius: 50%;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.step-content {
    flex: 1;
    padding-top: 8px;
}

.step-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    font-size: 20px;
    border-radius: var(--radius-md);
    margin-bottom: 16px;
}

.step-content h3 {
    font-family: var(--font-primary);
    font-size: 22px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.step-content p {
    font-size: 16px;
    color: var(--gray-500);
    line-height: 1.7;
}

/* =====================================================
   SCREENSHOTS
   ===================================================== */

.screenshots {
    padding: var(--section-padding) 0;
    background: var(--white);
    overflow: hidden;
}

.screenshots-slider {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 24px;
    padding: 40px 0;
}

.screenshot-item {
    flex-shrink: 0;
    width: 200px;
    text-align: center;
    transition: var(--transition-base);
    opacity: 0.6;
    transform: scale(0.9);
}

.screenshot-item.active {
    opacity: 1;
    transform: scale(1.1);
}

.screenshot-item img {
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.screenshot-label {
    display: block;
    margin-top: 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
}

/* =====================================================
   TESTIMONIALS
   ===================================================== */

.testimonials {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    padding: 32px;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.testimonial-stars i {
    color: var(--warning);
    font-size: 16px;
}

.testimonial-text {
    font-size: 16px;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    border-radius: 50%;
}

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

.author-name {
    font-weight: 600;
    color: var(--gray-900);
}

.author-role {
    font-size: 14px;
    color: var(--gray-500);
}

/* =====================================================
   DOWNLOAD CTA
   ===================================================== */

.download-cta {
    position: relative;
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a3e 50%, #2d1b4e 100%);
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.cta-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
}

.cta-orb.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.6) 0%, transparent 70%);
    top: -200px;
    left: -100px;
}

.cta-orb.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.5) 0%, transparent 70%);
    bottom: -150px;
    right: -100px;
}

.cta-content {
    position: relative;
    text-align: center;
    color: var(--white);
}

.cta-title {
    font-family: var(--font-primary);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.cta-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 500px;
    margin: 0 auto 40px;
}

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

.cta-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.cta-qr img {
    width: 120px;
    height: 120px;
    padding: 10px;
    background: var(--white);
    border-radius: var(--radius-lg);
}

.cta-qr span {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* =====================================================
   FOOTER
   ===================================================== */

.footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 80px 0 40px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand .logo-img,
.footer-brand .custom-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.footer-brand .logo-text,
.footer-brand .site-title {
    color: var(--white);
}

.footer-tagline {
    font-size: 16px;
    margin-bottom: 24px;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    font-size: 16px;
    transition: var(--transition-base);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.footer-column h4,
.footer .widget-title {
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-column ul,
.footer .widget ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column a,
.footer .widget a {
    font-size: 14px;
    color: var(--gray-400);
    transition: var(--transition-base);
}

.footer-column a:hover,
.footer .widget a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    font-size: 14px;
}

.footer-location {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-location i {
    color: var(--primary);
}

/* =====================================================
   BACK TO TOP
   ===================================================== */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    color: var(--white);
    border-radius: 50%;
    font-size: 18px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-base);
    z-index: 100;
    border: none;
    cursor: pointer;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

/* =====================================================
   PAGE TEMPLATES
   ===================================================== */

.page-hero {
    padding: 180px 0 80px;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a3e 50%, #2d1b4e 100%);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.3) 0%, transparent 50%);
}

.page-hero .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.page-title {
    font-family: var(--font-primary);
    font-size: clamp(40px, 6vw, 56px);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}

.page-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

/* Page Content */
.page-content {
    padding: 80px 0;
    background: var(--white);
}

.page-content .container {
    max-width: 800px;
}

/* =====================================================
   RESPONSIVE DESIGN
   ===================================================== */

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }

    .hero-text {
        order: 1;
    }

    .hero-visual {
        order: 2;
    }

    .hero-description {
        margin: 0 auto 32px;
    }

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

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

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

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

    .footer-top {
        grid-template-columns: 1fr;
        gap: 48px;
    }

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

@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
    }

    .nav-links,
    .primary-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        padding: 40px;
        box-shadow: var(--shadow-2xl);
        transition: var(--transition-base);
    }

    .nav-links.active,
    .primary-menu.active {
        right: 0;
    }

    .nav-links a,
    .primary-menu a {
        color: var(--gray-800);
        font-size: 18px;
    }

    .menu-toggle {
        display: flex;
    }

    .btn-nav {
        display: none;
    }

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

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

    .phone-frame {
        width: 240px;
        height: 500px;
    }

    .floating-card {
        display: none;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 24px;
    }

    .stat-divider {
        display: none;
    }

    .steps-line {
        left: 18px;
    }

    .step {
        gap: 20px;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .screenshots-slider {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 40px 24px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .screenshots-slider::-webkit-scrollbar {
        display: none;
    }

    .screenshot-item {
        width: 160px;
        opacity: 1;
        transform: scale(1);
    }

    .screenshot-item.active {
        transform: scale(1);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 36px;
    }

    .store-btn {
        padding: 12px 16px;
    }

    .store-btn i {
        font-size: 24px;
    }

    .store-name {
        font-size: 14px;
    }

    .section-title {
        font-size: 28px;
    }

    .feature-card {
        padding: 24px;
    }

    .testimonial-card {
        padding: 24px;
    }

    .cta-title {
        font-size: 28px;
    }

    .store-btn.large {
        padding: 14px 24px;
    }

    .store-btn.large i {
        font-size: 28px;
    }

    .store-btn.large .store-name {
        font-size: 16px;
    }
}

/* Selection color */
::selection {
    background: var(--primary);
    color: var(--white);
}

/* Focus styles */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* =====================================================
   BLOG POSTS & ARCHIVE
   ===================================================== */

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

.post-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.post-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.post-card .post-thumbnail {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.post-card .post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-base);
}

.post-card:hover .post-thumbnail img {
    transform: scale(1.05);
}

.post-card .post-content {
    padding: 24px;
}

.post-card .post-header {
    margin-bottom: 16px;
}

.post-card .post-title {
    font-family: var(--font-primary);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 12px;
}

.post-card .post-title a {
    color: var(--gray-900);
}

.post-card .post-title a:hover {
    color: var(--primary);
}

.post-card .post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: var(--gray-500);
}

.post-card .post-meta i {
    margin-right: 6px;
    color: var(--primary);
}

.post-card .post-excerpt {
    color: var(--gray-600);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.post-card .post-footer .btn {
    padding: 10px 20px;
    font-size: 14px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
}

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

.pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    color: var(--gray-700);
    font-weight: 500;
    transition: var(--transition-base);
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: var(--primary-gradient);
    border-color: transparent;
    color: var(--white);
}

.pagination .prev,
.pagination .next {
    padding: 0 20px;
}

/* No Posts */
.no-posts {
    text-align: center;
    padding: 80px 24px;
}

.no-posts i {
    font-size: 64px;
    color: var(--gray-300);
    margin-bottom: 24px;
}

.no-posts h2 {
    font-family: var(--font-primary);
    font-size: 28px;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.no-posts p {
    color: var(--gray-500);
    margin-bottom: 24px;
}

/* =====================================================
   SINGLE POST
   ===================================================== */

.single-post .container {
    max-width: 800px;
}

.post-categories {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
}

.post-categories a {
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.post-meta-hero {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.post-meta-hero i {
    margin-right: 8px;
    color: var(--primary-light);
}

.post-featured-image {
    margin-bottom: 40px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.post-featured-image img {
    width: 100%;
    height: auto;
}

.entry-content {
    font-size: 17px;
    line-height: 1.8;
    color: var(--gray-700);
}

.entry-content h2 {
    font-family: var(--font-primary);
    font-size: 28px;
    font-weight: 700;
    color: var(--gray-900);
    margin: 40px 0 20px;
}

.entry-content h3 {
    font-family: var(--font-primary);
    font-size: 22px;
    font-weight: 600;
    color: var(--gray-900);
    margin: 32px 0 16px;
}

.entry-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-900);
    margin: 24px 0 12px;
}

.entry-content p {
    margin-bottom: 20px;
}

.entry-content a {
    color: var(--primary);
    text-decoration: underline;
}

.entry-content ul,
.entry-content ol {
    margin: 20px 0;
    padding-left: 24px;
}

.entry-content li {
    margin-bottom: 10px;
    list-style: disc;
}

.entry-content ol li {
    list-style: decimal;
}

.entry-content blockquote {
    margin: 32px 0;
    padding: 24px 32px;
    background: var(--gray-50);
    border-left: 4px solid var(--primary);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    color: var(--gray-600);
}

.entry-content blockquote p:last-child {
    margin-bottom: 0;
}

.entry-content pre,
.entry-content code {
    font-family: 'Fira Code', 'Monaco', monospace;
    font-size: 14px;
}

.entry-content pre {
    background: var(--gray-900);
    color: var(--gray-100);
    padding: 24px;
    border-radius: var(--radius-lg);
    overflow-x: auto;
    margin: 24px 0;
}

.entry-content code {
    background: var(--gray-100);
    padding: 2px 8px;
    border-radius: 4px;
    color: var(--primary-dark);
}

.entry-content pre code {
    background: none;
    padding: 0;
    color: inherit;
}

.entry-content img {
    border-radius: var(--radius-lg);
    margin: 24px 0;
}

.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
}

.entry-content th,
.entry-content td {
    padding: 12px;
    border: 1px solid var(--gray-200);
    text-align: left;
}

.entry-content th {
    background: var(--gray-50);
    font-weight: 600;
}

/* Post Footer Meta */
.post-footer-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    padding: 24px 0;
    margin-top: 40px;
    border-top: 1px solid var(--gray-200);
}

.post-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 14px;
    color: var(--gray-600);
}

.post-tags i {
    color: var(--primary);
}

.post-tags a {
    color: var(--primary);
}

.post-share {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--gray-500);
}

.post-share a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--gray-100);
    border-radius: 50%;
    color: var(--gray-600);
    transition: var(--transition-base);
}

.post-share a:hover {
    background: var(--primary);
    color: var(--white);
}

/* Author Box */
.author-box {
    display: flex;
    gap: 24px;
    padding: 32px;
    background: var(--gray-50);
    border-radius: var(--radius-xl);
    margin: 48px 0;
}

.author-box .author-avatar {
    flex-shrink: 0;
}

.author-box .author-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.author-box .author-info h4 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-500);
    margin-bottom: 4px;
}

.author-box .author-info h3 {
    font-family: var(--font-primary);
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.author-box .author-info p {
    color: var(--gray-600);
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

/* Post Navigation */
.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 48px 0;
}

.post-navigation a {
    display: flex;
    flex-direction: column;
    padding: 24px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
}

.post-navigation a:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.post-navigation .nav-next {
    text-align: right;
}

.post-navigation .nav-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-500);
    margin-bottom: 8px;
}

.post-navigation .nav-label i {
    color: var(--primary);
}

.post-navigation .nav-title {
    font-weight: 600;
    color: var(--gray-900);
    line-height: 1.4;
}

/* =====================================================
   COMMENTS
   ===================================================== */

.comments-area {
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid var(--gray-200);
}

.comments-title {
    font-family: var(--font-primary);
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 32px;
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--gray-100);
}

.comment:last-child {
    border-bottom: none;
}

.comment-body {
    display: flex;
    gap: 16px;
}

.comment-author .avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.comment-content {
    flex: 1;
}

.comment-author .fn {
    font-weight: 600;
    color: var(--gray-900);
}

.comment-metadata {
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 12px;
}

.comment-metadata a {
    color: var(--gray-500);
}

.comment-content p {
    color: var(--gray-600);
    line-height: 1.7;
}

.reply a {
    font-size: 13px;
    color: var(--primary);
    font-weight: 500;
}

/* Comment Form */
.comment-respond {
    margin-top: 48px;
}

.comment-reply-title {
    font-family: var(--font-primary);
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 24px;
}

.comment-form label {
    display: block;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 16px;
    font-family: inherit;
    transition: var(--transition-base);
    margin-bottom: 20px;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.comment-form textarea {
    min-height: 150px;
    resize: vertical;
}

.comment-form .submit {
    padding: 14px 32px;
    background: var(--primary-gradient);
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-base);
}

.comment-form .submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

/* =====================================================
   RESPONSIVE - POSTS
   ===================================================== */

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

    .author-box {
        flex-direction: column;
        text-align: center;
    }

    .post-navigation {
        grid-template-columns: 1fr;
    }

    .post-navigation .nav-next {
        text-align: left;
    }

    .post-footer-meta {
        flex-direction: column;
        align-items: flex-start;
    }
}
