/* ==========================================================================
   CSS Variables & Tokens (Deep Tech Glassmorphism)
   ========================================================================== */
:root {
    /* Colors */
    --bg-dark: #070911;
    --bg-card: rgba(18, 22, 41, 0.6);
    --bg-card-hover: rgba(26, 31, 56, 0.8);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent-primary: #3b82f6; /* Blue */
    --accent-secondary: #8b5cf6; /* Purple */
    --accent-tertiary: #ec4899; /* Pink */
    
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;

    /* Gradients */
    --gradient-brand: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary), var(--accent-tertiary));
    --gradient-brand-subtle: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Borders & Shadows */
    --border-glass: rgba(255, 255, 255, 0.08);
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --radius-md: 12px;
    --radius-lg: 24px;
    --radius-pill: 9999px;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Background Effects */
#glow-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.3; /* reduced opacity to let canvas shine */
    animation: drift 20s infinite alternate ease-in-out;
    z-index: 0;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: rgba(139, 92, 246, 0.25); /* Purple */
    top: -20%;
    left: -10%;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: rgba(59, 130, 246, 0.2); /* Blue */
    bottom: -10%;
    right: -10%;
    animation-delay: -5s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: rgba(236, 72, 153, 0.15); /* Pink */
    top: 40%;
    left: 60%;
    animation-delay: -10s;
}

@keyframes drift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(100px, -100px); }
}


.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

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

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

.text-gradient {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* ==========================================================================
   Components
   ========================================================================== */

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: var(--radius-pill);
    font-weight: 500;
    font-family: var(--font-heading);
    transition: all var(--transition-normal);
    cursor: pointer;
    border: none;
    outline: none;
    will-change: transform; /* for magnetic effect */
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1.125rem;
}

.btn-primary {
    background: var(--gradient-brand);
    color: #fff;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-primary:hover {
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: var(--border-glass);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Glass Card */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-glass);
    transition: all var(--transition-normal);
}

.glass-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: inherit;
    box-shadow: 0 0 0 0 transparent;
    transition: box-shadow 0.4s ease;
    pointer-events: none;
}

.glass-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(255,255,255,0.25);
    transform: translateY(-5px);
}

.glass-card:hover::after {
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.15), inset 0 0 20px rgba(139, 92, 246, 0.1);
}

/* Badges */
.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-primary);
    border-radius: var(--radius-pill);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 16px;
    background: rgba(255, 255, 255, 0.1);
}

.store-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all var(--transition-normal);
    text-decoration: none;
    width: max-content;
}

.store-btn:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.3);
}

.store-btn i {
    width: 20px;
    height: 20px;
}

/* ==========================================================================
   Cards & Glassmorphism
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 0;
    transition: all var(--transition-normal);
}

.site-header.scrolled {
    padding: 12px 0;
    background: rgba(7, 9, 17, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-glass);
}

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

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

.logo img {
    height: 42px;
    width: auto;
    object-fit: contain;
    border-radius: 6px;
}

.logo-text-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-text {
    font-size: 1.25rem;
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--text-primary);
    line-height: 1;
}

.logo-subtext {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 4.5px;
    color: var(--accent-primary);
    text-transform: uppercase;
    margin-top: 4px;
}

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

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

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

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
}

/* ==========================================================================
   Hero Section & Visuals
   ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

/* Campaign Dashboard (replaces auction simulator) */
.campaign-dashboard {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 24px;
    font-family: 'Inter', monospace;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dashboard-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.live-dot {
    width: 8px;
    height: 8px;
    background: var(--success-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--success-color);
    animation: blink 1.5s infinite;
}

.campaign-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.metric-card {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

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

.metric-value {
    font-size: 1.5rem;
    font-weight: 700;
}

.dashboard-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.roas-wrapper {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.roas-wrapper .metric-value {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.25rem;
}

.roas-wrapper .metric-value i {
    width: 16px;
    height: 16px;
}

.sparkline {
    width: 120px;
    height: 40px;
}

.spark-area {
    fill: rgba(16, 185, 129, 0.1);
}

.spark-line {
    fill: none;
    stroke: var(--success-color);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    animation: drawSparkline 3s linear infinite alternate;
}

@keyframes drawSparkline {
    0% { stroke-dasharray: 200; stroke-dashoffset: 200; }
    100% { stroke-dasharray: 200; stroke-dashoffset: 0; }
}

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

/* Visual Card Simulator */
.visual-card {
    padding: 24px;
    background: linear-gradient(180deg, rgba(18, 22, 41, 0.8) 0%, rgba(18, 22, 41, 0.4) 100%);
    border-top: 1px solid rgba(255,255,255,0.2);
}

.visual-header {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}

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

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

.auction-simulator {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.95rem;
}

.sim-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-glass);
}

.sim-row:last-child {
    border-bottom: none;
}

.label { color: var(--text-secondary); }
.value.active { color: var(--accent-primary); font-weight: bold; }
.value.highlight { color: var(--warning); font-weight: bold; }
.value.success { color: var(--success); font-weight: bold; }
.value.accent { color: var(--accent-tertiary); font-weight: bold; }

/* ==========================================================================
   Sections General
   ========================================================================== */
.section {
    padding: 120px 0;
}

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

.section-title {
    font-size: 3rem;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.section-desc {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   Infinite Marquee
   ========================================================================== */
.marquee-section {
    padding: 60px 0;
    background: var(--bg-dark);
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.marquee-container {
    display: flex;
}

.marquee-content {
    display: inline-block;
    animation: marquee 20s linear infinite;
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
    transform: rotate(-2deg);
}

.marquee-content span {
    padding: 0 30px;
    transition: color 0.3s ease;
}

.marquee-content span:hover {
    color: var(--text-primary);
    -webkit-text-stroke: 0px;
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

.marquee-content .separator {
    color: var(--accent-primary);
    -webkit-text-stroke: 0px;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Assuming content is duplicated */
}

/* ==========================================================================
   Ecosystem / Portfolio
   ========================================================================== */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.portfolio-card {
    padding: 40px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 350px;
}

.card-bg-icon {
    position: absolute;
    top: -20px;
    right: -20px;
    color: rgba(255, 255, 255, 0.03);
    transition: color var(--transition-normal), transform var(--transition-normal);
}

.card-bg-icon i {
    width: 200px;
    height: 200px;
}

.portfolio-card:hover .card-bg-icon {
    color: rgba(59, 130, 246, 0.1); /* Subtle blue glow */
    transform: scale(1.1) rotate(5deg);
}

.portfolio-card .card-content {
    position: relative;
    z-index: 2;
}

.portfolio-card h3 {
    font-size: 2rem;
    margin: 16px 0;
}

.portfolio-card p {
    color: var(--text-secondary);
}

/* ==========================================================================
   Bento Grid (Services)
   ========================================================================== */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: minmax(280px, auto);
    gap: 24px;
}

.bento-card {
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.bento-wide {
    grid-column: span 2;
}

.icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--gradient-brand-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--accent-primary);
}

.bento-card h3 {
    font-size: 1.75rem;
    margin-bottom: 16px;
}

.bento-card p {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

/* ==========================================================================
   Dual Section (Advertisers & Publishers)
   ========================================================================== */
.dual-section {
    position: relative;
}

.floating-elements {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
}

.float-shape {
    position: absolute;
    background: radial-gradient(circle, var(--accent-primary) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0.15;
    filter: blur(40px);
}

.shape-1 { width: 300px; height: 300px; top: -100px; left: -100px; animation: float 10s ease-in-out infinite; }
.shape-2 { width: 250px; height: 250px; bottom: 100px; right: -50px; background: radial-gradient(circle, var(--accent-secondary) 0%, transparent 70%); animation: float 12s ease-in-out infinite reverse; }
.shape-3 { width: 150px; height: 150px; top: 50%; left: 40%; background: radial-gradient(circle, var(--success-color) 0%, transparent 70%); animation: float 8s ease-in-out infinite; }

.dual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    position: relative;
    z-index: 1;
}

.feature-panel {
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
}

.feature-panel::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(59,130,246,0.2) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(50%, -50%);
}

#publishers::before {
    background: radial-gradient(circle, rgba(139,92,246,0.2) 0%, transparent 70%);
}

.feature-panel h2 {
    font-size: 2.25rem;
    margin-bottom: 32px;
}

.feature-interactive-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 32px 0;
}

.feature-interactive-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    border-radius: 12px;
    background: rgba(255,255,255,0.02);
    border: 1px solid transparent;
    transition: all var(--transition-normal);
}

.feature-interactive-item:hover {
    background: rgba(59, 130, 246, 0.05);
    border-color: rgba(59, 130, 246, 0.2);
    transform: translateX(10px);
}

.feature-interactive-item .f-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    flex-shrink: 0;
    transition: all var(--transition-normal);
}

.feature-interactive-item:hover .f-icon {
    background: var(--accent-primary);
    color: white;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
}

.feature-interactive-item .f-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.feature-interactive-item .f-text strong {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1.05rem;
}

.feature-interactive-item .f-text span {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ==========================================================================
   Stats Section
   ========================================================================== */
.stats {
    background: linear-gradient(0deg, rgba(7,9,17,1) 0%, rgba(18,22,41,0.5) 100%);
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.stat-number {
    font-size: 4rem;
    font-family: var(--font-heading);
    font-weight: 800;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.stat-label {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.icon-wrapper-small {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
}

.contact-form-card {
    padding: 48px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 16px;
}

.form-checkbox label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.form-checkbox a {
    color: var(--accent-primary);
    text-decoration: underline;
}

.mt-3 { margin-top: 16px; }
.mt-4 { margin-top: 24px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    padding: 80px 0 40px;
}

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

.company-desc {
    color: var(--text-secondary);
    margin-top: 16px;
    max-width: 350px;
}

.footer-links h4, .footer-contact h4 {
    font-size: 1.25rem;
    margin-bottom: 24px;
}

.footer-links p, .footer-contact a {
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color var(--transition-fast);
}

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

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

.legal-links {
    display: flex;
    gap: 24px;
}

.legal-links a:hover {
    color: var(--text-primary);
}

/* ==========================================================================
   Ad Formats Interactive Showcase
   ========================================================================== */
.formats {
    background: rgba(0,0,0,0.3);
}

.formats-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 50px;
    align-items: center;
}

.formats-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.format-tab {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition-normal);
    cursor: pointer;
}

.format-tab i {
    color: rgba(255,255,255,0.3);
    transition: color var(--transition-normal);
}

.format-tab:hover {
    background: rgba(255,255,255,0.08);
}

.format-tab.active {
    background: rgba(59, 130, 246, 0.15);
    border-color: var(--accent-primary);
    color: var(--text-primary);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
    transform: translateX(10px);
}

.format-tab.active i {
    color: var(--accent-primary);
}

.format-preview-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    background: radial-gradient(circle at center, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
}

.phone-mockup {
    width: 280px;
    height: 580px;
    background: #0f172a;
    border: 12px solid #1e293b;
    border-radius: 40px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255,255,255,0.1);
    overflow: hidden;
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 25px;
    background: #1e293b;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #0f172a;
    display: flex;
    flex-direction: column;
    padding: 40px 20px 20px;
    transition: opacity 0.3s ease;
}

/* Mockup Internal Styles */
.mockup-header {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
    text-align: center;
}

.mockup-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mockup-text-line {
    height: 10px;
    background: rgba(255,255,255,0.1);
    border-radius: 5px;
    width: 100%;
}

.mockup-text-line.short {
    width: 60%;
}

.mockup-ad-banner {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.2));
    border: 1px solid var(--accent-primary);
    border-radius: 12px;
    padding: 30px 15px;
    text-align: center;
    color: var(--text-primary);
    font-weight: 600;
    margin: 15px 0;
    position: relative;
}

.ad-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(255,255,255,0.2);
    font-size: 0.6rem;
    padding: 2px 6px;
    border-radius: 4px;
}

.mockup-social-post {
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 15px;
    margin: 10px 0;
}

.mockup-social-img {
    height: 120px;
    background: linear-gradient(45deg, #3b82f6, #8b5cf6);
    border-radius: 8px;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: white;
    font-weight: bold;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 992px) {
    .hero-title { font-size: 3.5rem; }
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-subtitle { margin: 0 auto 32px auto; }
    .hero-actions { justify-content: center; }
    .marquee-content { font-size: 2rem; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .bento-grid { grid-template-columns: 1fr; }
    .bento-wide { grid-column: span 1; }
    .dual-grid { grid-template-columns: 1fr; }
    .formats-showcase { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .contact-wrapper { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 0; left: -100%;
        width: 100%; height: 100vh;
        background: var(--bg-dark);
        flex-direction: column;
        justify-content: center;
        transition: left var(--transition-normal);
    }
    .main-nav.active { left: 0; }
    .mobile-menu-btn { display: block; z-index: 101; position: relative; }
    .hero-title { font-size: 2.5rem; }
    .section-title { font-size: 2.5rem; }
    .stats-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}
