:root {
    /* Brand Colors */
    --color-bg: #ffffff;
    --color-surface: #f8f8f8;
    --color-primary: #6c1d8f;
    /* Deep Purple */
    --color-accent: #e91e63;
    /* Hot Pink */
    --color-highlight: #00bf8f;
    /* Darker Teal for white bg */
    --color-text: #1a1a1a;
    --color-text-muted: #666666;

    /* Spacing & Layout */
    --container-width: 1200px;
    --padding-sm: 1rem;
    --padding-md: 2rem;
    --padding-lg: 4rem;

    /* Effects */
    --glow-primary: 0 4px 25px rgba(108, 29, 143, 0.15);
    --glow-highlight: 0 0 15px rgba(0, 191, 143, 0.3);
    --glass-bg: rgba(108, 29, 143, 0.03);
    /* Very subtle tint */
    --glass-border: 1px solid rgba(108, 29, 143, 0.15);
}

/* Hero - Forced Dark Theme */
.hero {
    background-color: #050505;
    color: #ffffff;
}

.hero h1,
.hero p,
.hero span {
    color: #ffffff !important;
}

.hero .hero-sub {
    color: #aaaaaa !important;
}

/* ... existing code ... */

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    background: var(--glass-bg);
    border: var(--glass-border);
    padding: 1rem;
    color: var(--color-text);
    font-family: inherit;
    border-radius: 4px;
    transition: 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
    background: rgba(108, 29, 143, 0.25);
    /* Stronger purple on focus */
}

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

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: 'Outfit', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--padding-md);
}

/* Typography */
/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 900;
    /* Extra thick */
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: -1px;
}

h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.text-serif {
    font-family: 'Times New Roman', Times, serif;
    /* Or import a specific one */
    font-size: 4rem;
    color: #e0d8e9;
    /* Light purple/pinkish hint like reference */
    margin-bottom: 3rem;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--color-highlight);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

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

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: transparent;
    border: 1px solid var(--color-highlight);
    color: var(--color-highlight);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 2px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn:hover {
    background: var(--color-highlight);
    color: black;
    box-shadow: var(--glow-highlight);
}

.btn-primary {
    background: var(--color-highlight);
    border: none;
    color: black;
    font-weight: 800;
}

.btn-primary:hover {
    box-shadow: 0 0 30px rgba(0, 255, 191, 0.4);
    transform: translateY(-2px);
    background: white;
}

/* Utility Classes */
.section {
    padding: var(--padding-lg) 0;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: var(--glass-border);
}

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

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.commitment-text {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-left: 5px;
    /* Slight offset */
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    color: white;
    /* Force white on dark navbar */
}

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

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    /* offset for fixed header */
    overflow: hidden;
}

/* Visual Product Cards (Nosara Style) */
.visual-card {
    background: transparent;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    padding-bottom: 1rem;
}

.card-image {
    width: 100%;
    aspect-ratio: 4/3;
    /* Standard photo ratio */
    overflow: hidden;
    border-radius: 0;
    position: relative;
    border: var(--glass-border);
}

.badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.3rem 0.8rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    z-index: 10;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.visual-card:hover .card-image img {
    transform: scale(1.03);
}

.card-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.visual-card h3 {
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.5rem;
    color: #e0d8e9;
    /* Matching header tone */
    margin: 0;
    line-height: 1.2;
}

.card-desc {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.4;
    min-height: 40px;
}

.card-price {
    font-size: 1.1rem;
    color: white;
    font-weight: 600;
    margin-top: 0.5rem;
}

.card-price span {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-weight: 400;
}

.btn-card {
    background: rgba(255, 255, 255, 0.15);
    /* Muted button */
    color: white;
    text-align: center;
    padding: 0.8rem;
    border-radius: 30px;
    /* Rounded like reference */
    margin-top: 0.5rem;
    font-size: 0.9rem;
    transition: 0.3s;
}

.btn-card:hover {
    background: var(--color-highlight);
    color: black;
}

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

.hero-text {
    flex: 1;
    max-width: 600px;
    z-index: 10;
}

.hero-sub {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    max-width: 480px;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.hex-floater {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle at center, rgba(108, 29, 143, 0.2), transparent 70%);
    display: flex;
    justify-content: center;
    align-items: center;
    animation: float 6s ease-in-out infinite;
}

.hex-floater img {
    width: 80%;
    filter: drop-shadow(0 0 30px var(--color-highlight));
}

/* Services Pyramid */
.services-section {
    background: linear-gradient(to bottom, var(--color-bg), #1a0524);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

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

.services-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    /* Taut fit like diagram */
    max-width: 900px;
    margin: 0 auto;
}

.service-level {
    background: var(--glass-bg);
    border: var(--glass-border);
    padding: 1.5rem;
    text-align: center;
    position: relative;
    transition: 0.3s;
    border-bottom: var(--glass-border);
}

.service-level:hover {
    background: rgba(108, 29, 143, 0.2);
    border-color: var(--color-accent);
    transform: scale(1.02);
    z-index: 2;
}

.service-label {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.25rem;
}

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

/* Pyramid Widths */
.level-you {
    width: 30%;
    border-top: 2px solid var(--color-accent);
    clip-path: polygon(10% 0, 90% 0, 100% 100%, 0 100%);
}

.level-ads {
    width: 40%;
}

.level-data {
    width: 50%;
}

.level-software {
    width: 60%;
    border-left: 2px solid var(--color-primary);
    border-right: 2px solid var(--color-primary);
}

.level-photo {
    width: 70%;
}

.level-design {
    width: 80%;
}

.level-strategy {
    width: 90%;
}

.level-local {
    width: 100%;
    border-bottom: 2px solid var(--color-highlight);
}

/* Mobile Adjustment for pyramid */
@media (max-width: 768px) {
    .service-level {
        width: 100% !important;
        clip-path: none !important;
        margin-bottom: 1rem;
        border: var(--glass-border);
    }

    .level-local {
        text-align: left;
    }

    .services-footer {
        display: none;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        margin-bottom: 3rem;
    }

    .hex-floater {
        width: 300px;
        height: 300px;
    }
}

.services-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4rem;
    font-size: 2rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--color-accent);
    opacity: 0.8;
}

/* Work Section */
.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.project-card {
    background: var(--color-surface);
    border: var(--glass-border);
    transition: 0.3s;
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border-color: var(--color-highlight);
}

.project-image {
    height: 250px;
    overflow: hidden;
    position: relative;
    background: #222;
}

.placeholder-rect {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #1a1a1a, #2a2a2a);
}

.project-info {
    padding: 1.5rem;
}

.project-info h3 {
    color: white;
    font-size: 1.25rem;
}

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

/* Contact Section */
/* Contact Section - Forced Dark */
.contact-section {
    background: #050505;
    color: white;
}

.contact-wrapper {
    display: flex;
    gap: 4rem;
    align-items: center;
    /* DARK NEON STYLE (Clean Integration) */
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 3rem 0;
    /* Remove side padding to blend */
    border-radius: 0;
    flex-wrap: wrap;
    padding: 3rem;
    border-radius: 20px;
    flex-wrap: wrap;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-form {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Force dark inputs for contact form */
.contact-form input,
.contact-form textarea,
.contact-form select {
    background: #111111;
    /* Matte Dark Grey */
    border: 1px solid #333333;
    color: #ffffff;
    /* White text */
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: var(--color-highlight);
    background: rgba(255, 255, 255, 0.1);
}



.form-row {
    display: flex;
    gap: 1rem;
}

.form-row .form-group {
    flex: 1;
}

@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .phone-input-group {
        flex-direction: column;
    }

    .phone-input-group select {
        width: 100% !important;
    }
}

/* Footer */
.footer {
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    background: #050505;
    color: var(--color-text-muted);
}

.footer-logo {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
}

.copyright {
    color: #666;
    font-size: 0.8rem;
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Menu */
.menu-btn {
    display: none;
    cursor: pointer;
}

@media (max-width: 768px) {
    .menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        right: -100%;
        background: #050505;
        /* Force Dark Mobile Menu */
        width: 100%;
        height: calc(100vh - 80px);
        flex-direction: column;
        justify-content: center;
        transition: 0.4s;
    }

    .nav-links.active {
        right: 0;
    }

    .bar {
        width: 25px;
        height: 3px;
        background: white;
        margin: 5px 0;
        transition: 0.3s;
    }
}

/* Hero - Forced Dark Theme */
.hero {
    background-color: #050505;
    color: #ffffff;
    position: relative;
    z-index: 10;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.3);
    /* Subtle Shadow Down */
}

/* Services Pyramid - RESTORED */
.services-section {
    background: #050505;
    /* Dark Mode Match */
    position: relative;
    z-index: 10;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.3);
    /* Subtle Shadow Up */
}



.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

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

.services-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    /* Taut fit like diagram */
    max-width: 900px;
    margin: 0 auto;
}

.service-level {
    background: var(--glass-bg);
    border: var(--glass-border);
    padding: 1.5rem;
    text-align: center;
    position: relative;
    transition: 0.3s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.service-level:hover {
    background: rgba(0, 255, 191, 0.05);
    border-color: var(--color-highlight);
    transform: scale(1.02);
    z-index: 2;
}

.service-label {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.25rem;
}

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

/* Pyramid Widths */
.level-you {
    width: 30%;
    border-top: 2px solid var(--color-highlight);
    clip-path: polygon(10% 0, 90% 0, 100% 100%, 0 100%);
}

.level-ads {
    width: 40%;
}

.level-data {
    width: 50%;
}

.level-software {
    width: 60%;
    border-left: 2px solid var(--color-highlight);
    border-right: 2px solid var(--color-highlight);
}

.level-photo {
    width: 70%;
}

.level-design {
    width: 80%;
}

.level-strategy {
    width: 90%;
}

.level-local {
    width: 100%;
    border-bottom: 2px solid var(--color-highlight);
}

/* Mobile Adjustment for pyramid */
@media (max-width: 768px) {
    .service-level {
        width: 100% !important;
        clip-path: none !important;
        margin-bottom: 1rem;
        border: var(--glass-border);
    }

    .level-local {
        text-align: left;
    }

    .side-text {
        display: none;
    }
}

/* Restoring Hero Hex Floater Large */
.hex-floater {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle at center, rgba(0, 255, 191, 0.1), transparent 70%);
    display: flex;
    justify-content: center;
    align-items: center;
    animation: float 6s ease-in-out infinite;
}

.hex-floater img {
    width: 80%;
    filter: drop-shadow(0 0 30px var(--color-highlight));
}

h1 {
    font-size: 3rem;
}

/* --- NEW STOREFRONT LAYOUT (Fresh Implementation) --- */
.store-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

@media (max-width: 1024px) {
    .store-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.store-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    position: relative;
    border: none;
}

/* Dark mode adjust for Angle theme - LUXURY PURPLE OVERRIDE */
body .store-card {
    /* DARK NEON STYLE (Matte Black + Green) */
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

body .store-card:hover {
    border-color: var(--color-highlight);
    box-shadow: 0 0 20px rgba(0, 191, 143, 0.2);
    transform: translateY(-5px);
    /* Colored Deep Shadow */
}

body .store-card .store-title {
    color: #ffffff;
}

body .store-card .store-desc {
    color: #cccccc;
}

body .store-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-highlight);
    box-shadow: var(--glow-highlight);
}

.store-card-image {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    position: relative;
}

.store-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.store-card:hover .store-card-image img {
    transform: scale(1.05);
}

.store-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--color-highlight);
    color: #000;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
    z-index: 5;
    letter-spacing: 0.5px;
}

.store-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Centered like reference */
    text-align: center;
    flex: 1;
}

.store-title {
    font-family: 'Times New Roman', serif;
    font-size: 1.6rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.store-desc {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.store-footer {
    margin-top: auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.store-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
}

.store-price span {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--color-text-muted);
}

.store-btn {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    /* Pill shape */
    background: transparent;
    color: white;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.store-btn:hover {
    background: var(--color-highlight);
    color: black;
    border-color: var(--color-highlight);
}

/* Pyramid Spin Game Styles */

/* Active state for a layer during spin - super bright/highlighted */
.layer-active {
    background: var(--color-primary) !important;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-accent) 100%) !important;
    transform: scale(1.05) !important;
    z-index: 10;
    box-shadow: 0 0 20px rgba(0, 191, 143, 0.8);
    border-color: #fff !important;
    color: #fff !important;
}

.layer-active .service-label,
.layer-active .service-desc {
    color: #fff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Animation for the result container popping in */
@keyframes popIn {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* --- GAME SHOW LAYOUT --- */
.spin-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    /* Align bottom so they stand on the same 'floor' */
    gap: 1rem;
    max-width: 1400px;
    /* Wider to fit people */
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    /* Prevent horizontal scroll if they poke out */
    padding: 2rem 0;
}

.spin-host {
    height: 500px;
    /* Adjust based on image ratio */
    width: auto;
    object-fit: contain;
    z-index: 10;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.5));
}

.host-left {
    transform: translateX(20px);
    /* Nudge in */
}

.host-right {
    transform: translateX(-20px);
    /* Nudge in */
}

/* Hide hosts on mobile/tablet */
@media (max-width: 1100px) {
    .spin-host {
        display: none;
    }
}

/* Adjust spin container z-index */
#spin-container {
    z-index: 20;
    flex-grow: 0;
    width: 100%;
    max-width: 900px;
}