/*
Theme Name: Antigravity IDA AI Creative Theme
Theme URI: https://example.com/antigravity-ai-creative
Author: Antigravity Deepmind Team
Author URI: https://example.com
Description: Next-Gen AI Creative Platform modern dark glassmorphic landing page WordPress theme.
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: antigravity-ai-creative
*/

/* ==========================================================================
   AI Creative - Advanced Glassmorphic Dark Theme Styling
   ========================================================================== */

:root {
    /* Color Palette */
    --bg-dark: #080b14;
    --bg-card: rgba(18, 24, 43, 0.6);
    --bg-card-hover: rgba(28, 38, 66, 0.75);
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-glass-bright: rgba(255, 255, 255, 0.2);
    
    /* Neon Accents */
    --accent-cyan: #00f2fe;
    --accent-purple: #7f00ff;
    --accent-pink: #ff007f;
    --accent-blue: #3b82f6;
    
    /* Text Colors */
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --text-dim: #6b7280;

    /* Fonts */
    --font-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;

    /* Transitions & Shadows */
    --tr-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --tr-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --glow-cyan: 0 0 25px rgba(0, 242, 254, 0.35);
    --glow-purple: 0 0 25px rgba(127, 0, 255, 0.35);
    --glow-pink: 0 0 25px rgba(255, 0, 127, 0.35);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 242, 254, 0.5);
}

/* Canvas & Ambient Glow Background */
#hero-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    pointer-events: none;
}

.ambient-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.45;
    animation: floatGlow 12s ease-in-out infinite alternate;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-cyan), transparent 70%);
    top: -100px;
    left: -100px;
}

.orb-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-purple), transparent 70%);
    top: 40%;
    right: -150px;
    animation-delay: -4s;
}

.orb-3 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, var(--accent-pink), transparent 70%);
    bottom: -100px;
    left: 20%;
    animation-delay: -8s;
}

@keyframes floatGlow {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 30px) scale(1.1); }
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: #ffffff;
    font-weight: 700;
    line-height: 1.2;
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, #a855f7 50%, var(--accent-pink) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Glassmorphic Card Base */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    transition: var(--tr-smooth);
    position: relative;
    overflow: hidden;
}

.glass-card:hover {
    border-color: var(--border-glass-bright);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 26px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-primary);
    border-radius: 12px;
    cursor: pointer;
    transition: var(--tr-smooth);
    border: none;
    outline: none;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    color: #ffffff;
    box-shadow: var(--glow-cyan);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 35px rgba(0, 242, 254, 0.6);
    filter: brightness(1.1);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-main);
    border: 1px solid var(--border-glass);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-glass);
    color: var(--text-main);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-cyan);
    color: #fff;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
    border-radius: 14px;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
    border-radius: 8px;
}

.btn-full {
    width: 100%;
}

.play-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Header & Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--tr-smooth);
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(8, 11, 20, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

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

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 0 10px rgba(0, 242, 254, 0.4));
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.5px;
}

.logo-text .highlight {
    color: var(--accent-cyan);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--tr-fast);
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: #ffffff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-pink));
    transition: var(--tr-smooth);
    border-radius: 2px;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

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

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

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-main);
    transition: var(--tr-fast);
    border-radius: 2px;
}

/* Hero Section */
.hero-section {
    padding: 180px 24px 100px;
    max-width: 1280px;
    margin: 0 auto;
    text-align: center;
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 18px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass-bright);
    font-size: 0.85rem;
    color: var(--text-main);
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
    transition: var(--tr-smooth);
    cursor: pointer;
}

.badge-pill:hover {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-cyan);
    box-shadow: 0 0 10px var(--accent-cyan);
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.3); }
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -1.5px;
    max-width: 900px;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 720px;
    margin-bottom: 40px;
    font-weight: 400;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 60px;
}

/* Hero Prompt Simulator Card */
.hero-preview-wrapper {
    width: 100%;
    max-width: 960px;
    margin-top: 20px;
}

.hero-preview-card {
    padding: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-glass);
    margin-bottom: 16px;
}

.window-controls {
    display: flex;
    gap: 8px;
}

.window-controls .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.window-controls .red { background: #ef4444; }
.window-controls .yellow { background: #f59e0b; }
.window-controls .green { background: #10b981; }

.preview-title {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.preview-badge {
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(0, 242, 254, 0.1);
    color: var(--accent-cyan);
    border: 1px solid rgba(0, 242, 254, 0.3);
}

.prompt-bar {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.prompt-input-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-glass);
    border-radius: 10px;
    padding: 0 14px;
    gap: 10px;
}

.sparkle-icon {
    color: var(--accent-cyan);
    flex-shrink: 0;
}

.prompt-input-wrapper input {
    width: 100%;
    background: none;
    border: none;
    outline: none;
    color: #fff;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    padding: 12px 0;
}

.preview-canvas-container {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.gen-output-box {
    height: 380px;
    border-radius: 14px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-glass);
}

.output-placeholder-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-image: url('https://images.unsplash.com/photo-1618005182384-a83a8bd57fbe?auto=format&fit=crop&w=1200&q=80');
    transition: filter 0.5s ease, transform 0.5s ease;
}

.output-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 16px 20px;
    background: linear-gradient(0deg, rgba(8, 11, 20, 0.9) 0%, transparent 100%);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.output-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.output-info .tag {
    font-size: 0.8rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 4px 10px;
    border-radius: 6px;
    backdrop-filter: blur(4px);
}

.output-info .render-time {
    font-size: 0.8rem;
    color: var(--accent-cyan);
}

.sample-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.tag-chip {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-glass);
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--tr-fast);
}

.tag-chip:hover, .tag-chip.active {
    background: rgba(0, 242, 254, 0.15);
    border-color: var(--accent-cyan);
    color: #fff;
}

/* Stats Counter Section */
.stats-section {
    padding: 40px 24px;
    border-y: 1px solid var(--border-glass);
    background: rgba(255, 255, 255, 0.01);
}

.stats-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.stat-item {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    justify-content: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    color: #fff;
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-cyan);
    margin-right: 8px;
}

.stat-label {
    width: 100%;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

/* Features / 4 Tools Section */
.features-section, .playground-section, .showcase-section, .pricing-section, .cta-banner-section {
    padding: 100px 24px;
    max-width: 1280px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 60px;
}

.section-header.center {
    text-align: center;
}

.section-subtitle {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-cyan);
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.6rem;
    margin-bottom: 16px;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto;
}

.grid-4-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.feature-card {
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    height: 100%;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.card-glow-bg {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.card-glow-bg.cyan { background: radial-gradient(circle, rgba(0, 242, 254, 0.15) 0%, transparent 60%); }
.card-glow-bg.purple { background: radial-gradient(circle, rgba(127, 0, 255, 0.15) 0%, transparent 60%); }
.card-glow-bg.pink { background: radial-gradient(circle, rgba(255, 0, 127, 0.15) 0%, transparent 60%); }
.card-glow-bg.blue { background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 60%); }

.feature-card:hover .card-glow-bg {
    opacity: 1;
}

.card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
}

.card-icon.cyan { color: var(--accent-cyan); border-color: rgba(0, 242, 254, 0.3); }
.card-icon.purple { color: var(--accent-purple); border-color: rgba(127, 0, 255, 0.3); }
.card-icon.pink { color: var(--accent-pink); border-color: rgba(255, 0, 127, 0.3); }
.card-icon.blue { color: var(--accent-blue); border-color: rgba(59, 130, 246, 0.3); }

.card-title {
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.card-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
    margin-bottom: 28px;
    flex-grow: 1;
}

.feature-list li {
    font-size: 0.88rem;
    color: var(--text-main);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-list .check {
    color: var(--accent-cyan);
    font-weight: bold;
}

.card-link {
    color: var(--accent-cyan);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--tr-fast);
}

.card-link:hover {
    color: #fff;
    padding-left: 4px;
}

/* Playground Section */
.playground-wrapper {
    padding: 32px;
}

.playground-tabs {
    display: flex;
    gap: 12px;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 20px;
    margin-bottom: 28px;
    overflow-x: auto;
}

.pg-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-glass);
    color: var(--text-muted);
    font-family: var(--font-primary);
    font-weight: 600;
    cursor: pointer;
    transition: var(--tr-fast);
}

.pg-tab:hover, .pg-tab.active {
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.2), rgba(127, 0, 255, 0.2));
    border-color: var(--accent-cyan);
    color: #fff;
}

.pg-workspace {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 28px;
}

.pg-visualizer-container {
    height: 380px;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-glass);
    background: #000;
}

.pg-canvas-display {
    width: 100%;
    height: 100%;
    position: relative;
}

.visualizer-content {
    width: 100%;
    height: 100%;
    position: relative;
}

.visual-art {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.visual-art.active {
    opacity: 1;
}

.art-image { background-image: url('https://images.unsplash.com/photo-1634017839464-5c339ebe3cb4?auto=format&fit=crop&w=1000&q=80'); }
.art-video { background-image: url('https://images.unsplash.com/photo-1618005182384-a83a8bd57fbe?auto=format&fit=crop&w=1000&q=80'); }
.art-3d { background-image: url('https://images.unsplash.com/photo-1633167606207-d840b5070fc2?auto=format&fit=crop&w=1000&q=80'); }
.art-audio { background-image: url('https://images.unsplash.com/photo-1511671782779-c97d3d27a1d4?auto=format&fit=crop&w=1000&q=80'); }

.pg-overlay-info {
    position: absolute;
    top: 16px;
    left: 16px;
    right: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.model-badge {
    background: rgba(8, 11, 20, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-glass);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.78rem;
    color: var(--accent-cyan);
}

.icon-btn {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(8, 11, 20, 0.7);
    border: 1px solid var(--border-glass);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--tr-fast);
}

.icon-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.pg-controls-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.control-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

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

.style-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.style-chip {
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-glass);
    color: var(--text-main);
    cursor: pointer;
    transition: var(--tr-fast);
}

.style-chip:hover, .style-chip.active {
    background: var(--accent-cyan);
    color: #000;
    font-weight: 600;
    border-color: var(--accent-cyan);
}

.custom-range {
    width: 100%;
    accent-color: var(--accent-cyan);
}

.pg-textarea {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-glass);
    border-radius: 10px;
    color: #fff;
    padding: 12px;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    resize: none;
    outline: none;
}

.pg-textarea:focus {
    border-color: var(--accent-cyan);
}

/* Showcase Section */
.showcase-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.showcase-filter {
    display: flex;
    gap: 8px;
}

.filter-btn {
    padding: 8px 18px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-glass);
    color: var(--text-muted);
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--tr-fast);
}

.filter-btn:hover, .filter-btn.active {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border-color: var(--accent-cyan);
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.gallery-item {
    height: 260px;
    border-radius: 16px;
    cursor: pointer;
    overflow: hidden;
}

.gallery-thumb {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.thumb-1 { background-image: url('https://images.unsplash.com/photo-1618005182384-a83a8bd57fbe?auto=format&fit=crop&w=800&q=80'); }
.thumb-2 { background-image: url('https://images.unsplash.com/photo-1634017839464-5c339ebe3cb4?auto=format&fit=crop&w=800&q=80'); }
.thumb-3 { background-image: url('https://images.unsplash.com/photo-1633167606207-d840b5070fc2?auto=format&fit=crop&w=800&q=80'); }
.thumb-4 { background-image: url('https://images.unsplash.com/photo-1579783902614-a3fb3927b675?auto=format&fit=crop&w=800&q=80'); }
.thumb-5 { background-image: url('https://images.unsplash.com/photo-1607604276583-eef5d076aa5f?auto=format&fit=crop&w=800&q=80'); }
.thumb-6 { background-image: url('https://images.unsplash.com/photo-1550684848-fac1c5b4e853?auto=format&fit=crop&w=800&q=80'); }

.gallery-item:hover .gallery-thumb {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(8, 11, 20, 0.95) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-badge {
    font-size: 0.72rem;
    padding: 3px 8px;
    border-radius: 4px;
    background: var(--accent-cyan);
    color: #000;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 6px;
}

.gallery-title {
    font-size: 1.1rem;
    color: #fff;
}

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

/* Pricing Section */
.billing-toggle-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

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

.discount-badge {
    background: rgba(255, 0, 127, 0.2);
    color: var(--accent-pink);
    border: 1px solid var(--accent-pink);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    transition: .4s;
    border-radius: 34px;
    border: 1px solid var(--border-glass);
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--accent-cyan);
}

input:checked + .slider:before {
    transform: translateX(22px);
    background-color: #000;
}

.grid-3-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
    margin-top: 50px;
}

.pricing-card {
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
}

.pricing-card.popular {
    border-color: var(--accent-cyan);
    box-shadow: var(--glow-cyan);
    transform: scale(1.03);
}

.popular-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
}

.plan-name {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.plan-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    min-height: 40px;
}

.plan-price {
    display: flex;
    align-items: baseline;
    margin-bottom: 28px;
}

.plan-price .currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-cyan);
}

.plan-price .amount {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.plan-price .period {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-left: 6px;
}

.plan-features {
    list-style: none;
    margin-bottom: 36px;
    flex-grow: 1;
}

.plan-features li {
    font-size: 0.9rem;
    color: var(--text-main);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.plan-features li.disabled {
    color: var(--text-dim);
}

.plan-features .check { color: var(--accent-cyan); }
.plan-features .cross { color: var(--text-dim); }

/* CTA Banner */
.cta-banner {
    padding: 60px 40px;
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.1), rgba(127, 0, 255, 0.1));
    border-color: rgba(0, 242, 254, 0.3);
}

.cta-title {
    font-size: 2.4rem;
    margin-bottom: 14px;
}

.cta-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

/* Footer */
.footer {
    background: #04060c;
    border-top: 1px solid var(--border-glass);
    padding: 80px 24px 30px;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
}

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

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-tagline {
    font-size: 0.9rem;
    color: var(--text-muted);
    max-width: 320px;
}

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

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.col-title {
    font-size: 0.95rem;
    color: #fff;
    margin-bottom: 4px;
}

.footer-col a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    transition: var(--tr-fast);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-glass);
    font-size: 0.85rem;
    color: var(--text-dim);
}

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

.social-icon {
    color: var(--text-muted);
    transition: var(--tr-fast);
}

.social-icon:hover {
    color: var(--accent-cyan);
    transform: translateY(-2px);
}

/* Video Modal */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(4, 6, 12, 0.85);
    backdrop-filter: blur(12px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    padding: 20px;
}

.modal-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    width: 100%;
    max-width: 800px;
    padding: 24px;
    position: relative;
    transform: scale(0.95);
    transition: transform 0.4s ease;
}

.modal-backdrop.active .modal-card {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
}

.modal-header {
    margin-bottom: 20px;
}

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

.simulated-video-player {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-glass);
    background: #000;
}

.video-preview-canvas {
    height: 360px;
    background-image: url('https://images.unsplash.com/photo-1618005182384-a83a8bd57fbe?auto=format&fit=crop&w=1000&q=80');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-overlay-text {
    text-align: center;
    background: rgba(0, 0, 0, 0.6);
    padding: 16px 24px;
    border-radius: 12px;
    backdrop-filter: blur(8px);
}

.play-pulse {
    animation: pulse 1.5s infinite;
    margin-bottom: 8px;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
}

.v-status {
    font-size: 0.9rem;
    color: var(--accent-cyan);
}

.video-controls-bar {
    padding: 12px 16px;
    background: rgba(18, 24, 43, 0.9);
    display: flex;
    align-items: center;
    gap: 14px;
}

.v-btn {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
}

.v-progress-bar {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
}

.v-progress-fill {
    width: 45%;
    height: 100%;
    background: var(--accent-cyan);
}

.v-time, .v-hd {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Spinner */
.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s ease-in-out infinite;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero-title { font-size: 3rem; }
    .pg-workspace { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    .hero-title { font-size: 2.3rem; }
    .hero-subtitle { font-size: 1rem; }
    .hero-cta-group { flex-direction: column; width: 100%; }
    .hero-cta-group .btn { width: 100%; }
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(8, 11, 20, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        transition: left 0.3s ease;
    }
    .nav-links.active { left: 0; }
    .hamburger { display: flex; }
    .nav-btn-login { display: none; }
    .stats-divider { display: none; }
    .stat-item { width: 45%; }
    .footer-links-group { grid-template-columns: 1fr; gap: 24px; }
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}
