:root {
    /* Page width: scales with every viewport size */
    --content-width: 90%;
    --container-padding-x: clamp(0.75rem, 3vw, 1.5rem);

    /* 2026 Modern Color Palette */
    --pink-main: #ff1493;
    --pink-light: #ff66b2;
    --pink-dark: #c7006b;
    --yellow-neon: #ffe928;
    --purple-neon: #b53ee8;
    --blue-neon: #33aeea;
    --white: #ffffff;
    --text-main: #ffffff;
    --text-dark: #1a000e;
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px 0 rgba(255, 20, 147, 0.3);
    
    /* Typography */
    --font-main: system-ui, -apple-system, BlinkMacSystemFont, 'SF Pro Display', "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-header: 'Coiny', system-ui, cursive;
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    font-size: 16px;
    scroll-behavior: auto;
    overflow-x: hidden;
}

img, video {
    max-width: 100%;
    height: auto;
}

body {
    font-family: var(--font-main);
    color: var(--text-main);
    background: linear-gradient(135deg, #ff1493 0%, #ff47a1 35%, #9b3ee8 70%, #33aeea 100%);
    background-size: cover;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    /* Space for fixed bottom transparency banner */
    padding-bottom: clamp(3rem, 12vw, 4.5rem);
}

#main-content {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-header);
    font-weight: 400; /* Coiny only has 400 weight */
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

h1 { 
    font-size: clamp(2.5rem, 6vw, 4.5rem); 
    text-shadow: 0 4px 20px rgba(0,0,0,0.1); 
    -webkit-text-stroke: 3px var(--white); 
    line-height: 1.05; 
    letter-spacing: 0.02em; 
}
h2 { 
    font-size: clamp(2rem, 4vw, 3.5rem); 
    -webkit-text-stroke: 2px var(--white); 
    line-height: 1.1; 
    letter-spacing: 0.02em; 
}
h3 { font-size: clamp(1.5rem, 3vw, 2.5rem); }

p { margin-bottom: 1.5rem; font-size: 1.125rem; font-weight: 400; }
.lead-text { font-size: clamp(1.25rem, 3vw, 1.75rem); font-weight: 600; opacity: 0.9; }
.text-center { text-align: center; }

a { color: var(--yellow-neon); text-decoration: none; transition: var(--transition-smooth); }
a:hover { color: var(--white); text-shadow: 0 0 10px rgba(255,255,255,0.5); }

/* Layout */
.container {
    width: var(--content-width);
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-padding-x);
    padding-right: var(--container-padding-x);
    position: relative;
    z-index: 10;
    box-sizing: border-box;
}

.section-padding { padding: clamp(3.5rem, 8vw, 8rem) 0; }

/* Inner pages: clear fixed header without huge gaps on small screens */
section.page-header.section-padding {
    padding-top: clamp(6.5rem, 10vw + 4rem, 12rem);
    padding-bottom: clamp(2.5rem, 5vw, 8rem);
}

section.page-header.section-padding.page-header--about {
    padding-bottom: 2rem;
}
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 3rem; }
.mb-4 { margin-bottom: 3rem; }

/* Glassmorphism Cards */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: clamp(22px, 4vw, 32px);
    padding: clamp(1.5rem, 4vw, 3rem);
    box-shadow: var(--glass-shadow);
    transition: var(--transition-smooth);
    position: relative;
    /* Removed overflow: hidden so badges/icons can break out of the card */
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
}

.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    background: rgba(255, 255, 255, 0.15);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-header);
    font-weight: 400;
    text-align: center;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 1rem;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--yellow-neon);
    color: var(--text-dark);
    box-shadow: 0 10px 20px rgba(255, 233, 40, 0.3);
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(255, 233, 40, 0.6);
    color: var(--text-dark);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
}

/* Header & Nav */
.site-header {
    position: fixed;
    top: clamp(0.35rem, 2vw, 1rem);
    left: 50%;
    transform: translateX(-50%);
    width: var(--content-width);
    max-width: 100%;
    z-index: 1000;
    background: rgba(255, 20, 147, 0.92);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: clamp(20px, 4vw, 50px);
    transition: var(--transition-smooth);
    box-sizing: border-box;
}

/* Header bar is already 90% wide; inner row fills it */
.site-header .container {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.65rem var(--container-padding-x);
    gap: 0.75rem;
}

.logo-img {
    height: clamp(48px, 10vw, 65px);
    width: auto;
    max-width: min(160px, 42vw);
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
    transition: var(--transition-smooth);
}

.logo-link:hover .logo-img { transform: scale(1.05) rotate(-2deg); }

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

.nav-list a {
    font-family: var(--font-header);
    font-weight: 400;
    color: var(--white);
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -5px; left: 0; width: 0; height: 3px;
    background: var(--yellow-neon);
    transition: var(--transition-smooth);
    border-radius: 3px;
}

.nav-list a:hover::after { width: 100%; }

.nav-cta {
    background: var(--white) !important;
    color: var(--pink-main) !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 50px;
}

.nav-cta::after { display: none; }
.nav-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(255,255,255,0.3);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 30px; height: 3px;
    background-color: var(--white);
    margin: 6px 0;
    transition: var(--transition-smooth);
    border-radius: 3px;
}

/* Transparency Banner */
.transparency-banner {
    background: rgba(0, 0, 0, 0.4);
    color: var(--white);
    text-align: center;
    padding: 0.65rem clamp(0.75rem, 3vw, 1.25rem);
    font-weight: 600;
    font-size: clamp(0.72rem, 2.5vw, 0.85rem);
    line-height: 1.35;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Hero Section */
.hero {
    padding: clamp(7rem, 12vw + 4rem, 10rem) 0 clamp(2.5rem, 6vw, 4rem);
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(1.25rem, 3vw, 2rem);
    align-items: center;
    min-width: 0;
}

.hero-content,
.hero-image {
    min-width: 0;
}

.badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    color: var(--yellow-neon);
    font-family: var(--font-header);
    font-weight: 400;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.3);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1rem;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.hero-logo {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

@keyframes float-reverse {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(20px) rotate(-2deg); }
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}



/* Scroll Reveal */
.reveal {
    opacity: 1;
    transform: none;
    transition: none;
}

.reveal.active {
    opacity: 1;
    transform: none;
}

.delay-1,
.delay-2,
.delay-3 { transition-delay: 0s; }

/* Grids & Cards — min() prevents horizontal scroll on narrow viewports */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: clamp(1.25rem, 3vw, 2rem);
}

.features-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: clamp(1.25rem, 3vw, 2rem);
}

.features-list li {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
}

.features-list .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(3rem, 7vw, 3.75rem);
    height: clamp(3rem, 7vw, 3.75rem);
    flex-shrink: 0;
    margin-bottom: 0.85rem;
    filter: drop-shadow(0 0 14px rgba(255, 20, 147, 0.35)) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
}

.features-list .icon .feature-icon-svg {
    width: 100%;
    height: 100%;
    display: block;
    overflow: visible;
}

/* Two Column Layout */
.two-col-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: clamp(1.5rem, 4vw, 3rem);
}

.step-card {
    padding-top: 4rem;
    overflow: visible; /* Ensure the step number doesn't get clipped */
}

.step-number {
    position: absolute;
    top: -28px;
    left: clamp(1rem, 4vw, 30px);
    width: 80px; height: 80px;
    background: linear-gradient(135deg, var(--yellow-neon), #ff971f);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-header);
    font-size: 2.5rem;
    font-weight: 400;
    border-radius: 50%; /* Changed from weird blob shape to perfect circle to fix clipping */
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    z-index: 2;
}

/* FAQ */
.faq-list { width: 100%; max-width: min(800px, 100%); margin: 0 auto; }

.faq-item {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 24px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item:hover { background: rgba(255,255,255,0.1); }

.faq-item summary {
    padding: clamp(1.15rem, 3vw, 2rem);
    padding-right: clamp(2.75rem, 11vw, 3.75rem);
    font-family: var(--font-header);
    font-weight: 400;
    font-size: clamp(1.05rem, 3.5vw, 1.5rem);
    cursor: pointer;
    list-style: none;
    position: relative;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    position: absolute;
    right: clamp(1rem, 4vw, 2rem);
    top: 50%;
    transform: translateY(-50%);
    font-size: clamp(1.35rem, 4vw, 2rem);
    color: var(--yellow-neon);
    transition: var(--transition-smooth);
}

.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }

.faq-answer {
    padding: 0 clamp(1.15rem, 3vw, 2rem) clamp(1.15rem, 3vw, 2rem);
    color: rgba(255,255,255,0.9);
}

/* Forms */
.form-container { width: 100%; max-width: min(800px, 100%); margin: 0 auto; }

.form-group { margin-bottom: 2rem; }
.form-row { display: flex; gap: 2rem; flex-wrap: wrap; }
.half-width { flex: 1 1 calc(50% - 1rem); min-width: min(100%, 250px); }

label {
    display: block;
    font-family: var(--font-header);
    font-weight: 400;
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
    letter-spacing: 0.02em;
}

input[type="text"], input[type="email"], input[type="tel"], input[type="url"], textarea {
    width: 100%;
    padding: 1.25rem;
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 16px;
    color: var(--white);
    font-family: var(--font-main);
    font-size: 1.1rem;
    transition: var(--transition-smooth);
}

input::placeholder, textarea::placeholder { color: rgba(255,255,255,0.5); }

input:focus, textarea:focus {
    outline: none;
    background: rgba(255,255,255,0.2);
    border-color: var(--yellow-neon);
    box-shadow: 0 0 20px rgba(255, 233, 40, 0.2);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    cursor: pointer;
    font-weight: 500;
}

input[type="checkbox"] {
    width: 24px; height: 24px;
    accent-color: var(--yellow-neon);
    margin-top: 4px;
}

/* Footer */
.site-footer {
    background: rgba(0,0,0,0.2);
    padding: clamp(3rem, 8vw, 6rem) 0 clamp(5rem, 12vw, 6rem);
    border-top: 1px solid rgba(255,255,255,0.1);
    position: relative;
    z-index: 10;
}

.footer-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: clamp(1.5rem, 4vw, 4rem);
    margin-bottom: clamp(2rem, 5vw, 4rem);
}

.site-footer h3 { color: var(--yellow-neon); font-family: var(--font-header); font-size: 1.8rem; font-weight: 400; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 1rem; }
.footer-links a { color: rgba(255,255,255,0.8); font-size: 1.1rem; }
.footer-links a:hover { color: var(--white); padding-left: 10px; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255,255,255,0.6);
}

/* Portfolio (home) */
.portfolio-section {
    position: relative;
    z-index: 10;
}

.portfolio-progress {
    width: 100%;
    max-width: min(720px, 100%);
    margin: 2.5rem auto 3rem;
    padding: clamp(1.15rem, 3vw, 1.5rem) clamp(1.25rem, 3vw, 2rem);
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 24px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    text-align: center;
}

.portfolio-progress-bar {
    height: 12px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.2);
    overflow: hidden;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.portfolio-progress-fill {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--pink-main), var(--yellow-neon));
    box-shadow: 0 0 16px rgba(255, 233, 40, 0.45);
    transition: width 0.6s ease;
}

.portfolio-progress-text {
    margin-bottom: 0;
    font-size: 1.15rem;
    font-weight: 600;
}

.portfolio-featured {
    width: 100%;
    max-width: 100%;
    margin: 0 auto 2rem;
    box-sizing: border-box;
    padding: 0;
    border-radius: clamp(22px, 4vw, 36px);
    overflow: hidden;
    background: linear-gradient(160deg, #1a0f2e 0%, #2d1a4a 45%, #151028 100%);
    border: 1px solid rgba(255, 20, 147, 0.35);
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.06) inset,
        0 0 48px rgba(255, 20, 147, 0.12);
    transition: var(--transition-smooth);
}

.portfolio-featured:hover {
    transform: translateY(-4px);
    box-shadow:
        0 32px 70px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.08) inset,
        0 0 56px rgba(255, 20, 147, 0.2);
}

.portfolio-featured-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
}

.portfolio-featured-media {
    background: radial-gradient(ellipse at 30% 20%, rgba(255, 20, 147, 0.15), transparent 55%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, transparent 40%);
    padding: clamp(1rem, 3vw, 2rem);
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-mockup-img {
    width: 100%;
    height: auto;
    border-radius: clamp(14px, 3vw, 20px);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(255, 255, 255, 0.08);
    object-fit: contain;
    vertical-align: middle;
}

.portfolio-featured-body {
    padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1.35rem, 4vw, 2.75rem) clamp(1.75rem, 4vw, 2.75rem);
    color: rgba(255, 255, 255, 0.95);
}

.portfolio-project-label {
    font-family: var(--font-header);
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--pink-light);
    margin-bottom: 0.75rem;
    text-shadow: 0 0 20px rgba(255, 20, 147, 0.35);
}

.portfolio-project-title {
    font-family: var(--font-header);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.15;
    -webkit-text-stroke: 0;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.portfolio-blurb {
    font-size: 1.05rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 1.5rem;
}

.portfolio-detail-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.65rem;
}

.portfolio-detail-list li {
    position: relative;
    padding-left: 1.35rem;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    line-height: 1.45;
}

.portfolio-detail-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pink-light), var(--yellow-neon));
    box-shadow: 0 0 10px rgba(255, 102, 178, 0.6);
}

.portfolio-view-row {
    margin-bottom: 3.5rem;
}

/* Media Queries */
@media (max-width: 900px) {
    .nav-list {
        gap: clamp(0.65rem, 2vw, 1.25rem);
    }
}

@media (max-width: 992px) {
    .portfolio-featured-inner {
        grid-template-columns: 1fr;
    }
    .portfolio-featured-media {
        padding: 1.5rem 1.5rem 0.5rem;
    }
    .portfolio-featured-body {
        padding: 1.5rem 1.75rem 2rem;
    }
    .hero-inner, .two-col-layout { grid-template-columns: 1fr; text-align: center; }
    .hero-buttons { justify-content: center; }
    .footer-inner { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
    .footer-logo {
        margin: 0 auto 1rem;
        height: 65px;
        width: auto;
        object-fit: contain;
    }
    .site-header {
        width: var(--content-width);
        max-width: 100%;
        top: clamp(0.25rem, 1.5vw, 0.75rem);
        border-radius: clamp(18px, 3vw, 50px);
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle { display: block; }
    .main-nav {
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: rgba(255,20,147,0.95);
        padding: 2rem;
        border-bottom: 1px solid rgba(255,255,255,0.2);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease-in-out;
    }
    .main-nav.is-open { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
    .nav-list { flex-direction: column; gap: 1.5rem; }
    .nav-cta { width: 100%; text-align: center; }
    .hamburger.is-active:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .hamburger.is-active:nth-child(2) { opacity: 0; }
    .hamburger.is-active:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
    .glass-card { padding: clamp(1.35rem, 4vw, 2rem); }
}

@media (max-width: 480px) {
    h1 {
        -webkit-text-stroke: 2px var(--white);
    }
    h2 {
        -webkit-text-stroke: 1px var(--white);
    }
    p {
        font-size: 1.05rem;
    }
}