@import url('https://api.fontshare.com/v2/css?f[]=satoshi@900,700,500,300,400&display=swap');

@font-face {
    font-family: 'Providence Sans';
    src: url('../../assets/font/ProvidenceSans.woff2') format('woff2'),
        url('../../assets/font/Providence Sans Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body,
html {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    background-color: #121212;
    /* Sleek dark mode fallback */
    font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    scroll-behavior: smooth;
}

.template-container {
    position: relative;
    width: 100%;
    /* Let the content dictate the height, not the image */
}

.template-bg-picture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.template-bg {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    opacity: 0.8;
}

.overlay-content {
    position: relative;
    width: 100%;
    z-index: 10;
}

/* =========================================================
   HERO SECTION CONFIGURATION
   Edit these values below to manually adjust the size 
   and location of the Hero text!
   ========================================================= */
:root {
    --hero-position-left: 100px;
    /* Increase to move text more to the right */
    --hero-position-top: 260px;
    /* Distance from the top of the page */

    --hero-title-size: 94px;
    /* Main title font size */
    --hero-title-spacing: 12px;
    /* Space between subtitle and main title */
    --hero-subtitle-size: 20px;
    /* Small text above title */
    --hero-desc-size: 20px;
    /* Paragraph description size */
    --hero-btn-size: 18px;
    /* Button text size */
    --hero-meta-size: 12px;
    /* Bottom tracking text size */
}

/* Hero Section Styles */
.hero-section {
    position: relative;
    padding-top: var(--hero-position-top);
    padding-left: var(--hero-position-left);
    color: #ffffff;
    max-width: 900px;
}

.hero-subtitle {
    font-family: 'Satoshi', sans-serif;
    color: #B08A6D;
    font-size: var(--hero-subtitle-size);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: var(--hero-title-spacing);
    letter-spacing: 1.5px;
}

.hero-title {
    font-family: 'Providence Sans', sans-serif;
    font-size: var(--hero-title-size);
    line-height: 1.1;
    margin: 0 0 24px 0;
    /* Shifted slightly back left */
    font-weight: 700;
    letter-spacing: 2px;
}

.hero-description {
    font-size: var(--hero-desc-size);
    line-height: 1.5;
    color: #e2e8f0;
    margin-bottom: 40px;
    font-weight: 300;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

.hero-btn {
    background-color: #0c3355;
    /* Dark navy blue from image */
    color: #ffffff;
    padding: 10px 40px;
    border-radius: 12px;
    text-decoration: none;
    font-size: var(--hero-btn-size);
    font-weight: 400;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
}

.hero-btn:hover {
    background-color: #124a7a;
}

.hero-meta {
    font-size: var(--hero-meta-size);
    color: #cbd5e1;
    letter-spacing: 1px;
    word-spacing: 2px;
    opacity: 0.8;
    margin-top: 20px;
    white-space: nowrap;
}

/* Cards Section Styles */
.cards-section {
    position: relative;
    padding-top: 240px;
    padding-bottom: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cards-headline {
    font-family: 'Satoshi', sans-serif;
    font-size: 56px;
    color: #ffffff;
    text-align: center;
    line-height: 1.2;
    margin-bottom: 60px;
    font-weight: normal;
    letter-spacing: 2px;
}

.cards-container {
    display: flex;
    gap: 30px;
    justify-content: center;
    width: 100%;
    max-width: 1400px;
    padding: 0 40px;
    box-sizing: border-box;
}

.glass-card {
    flex: 1;
    height: 630px;
    background-color: rgba(255, 255, 255, 0.05);
    /* Placeholder until images are added */
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
}

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

.card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: transform 0.6s ease;
}

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

.card-caption {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 24px;
    text-align: center;
    color: #ffffff;
    font-family: 'Providence Sans', sans-serif;
    font-size: 20px;
    letter-spacing: 2px;
    font-weight: 500;

    /* Glass Effect from image */
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

/* Dual Presence Section Styles */
.dual-presence-section {
    position: relative;
    padding: 0 60px 40px 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.dual-presence-headline {
    font-family: 'Satoshi', sans-serif;
    font-size: 56px;
    color: #ffffff;
    text-align: center;
    margin: 0 0 30px 0;
    font-weight: normal;
    letter-spacing: 2px;
    line-height: 1.2;
}

.dual-presence-intro {
    font-family: 'Satoshi', sans-serif;
    font-size: 22px;
    line-height: 1.5;
    color: #e2e8f0;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 300;
    max-width: 800px;
}

.dual-presence-cards {
    display: flex;
    gap: 30px;
    width: 100%;
    max-width: 1100px;
    justify-content: center;
}

.dp-card {
    flex: 1;
    /* Dark frosted glass with feathered inner stroke */
    background-color: rgba(25, 25, 25, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    /* Subtle 1px boundary so it doesn't bleed */
    border: 1px solid rgba(255, 255, 255, 0.03);

    /* Outer drop shadow removed per request */
    border-radius: 16px;
    padding: 40px;
    font-family: 'Satoshi', sans-serif;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

/* Inner glow layer masked at the corners to fade out cleanly */
.dp-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    pointer-events: none;
    z-index: 5;

    /* The inner glow stroke (thinner and sleeker) */
    box-shadow:
        inset 0 0 2px 1px rgba(255, 255, 255, 0.2),
        inset 1px 1px 2px rgba(255, 255, 255, 0.3);

    /* 4-quadrant mask to erase the inner glow EXACTLY at the corners with a long feather */
    -webkit-mask-image:
        radial-gradient(circle at top left, transparent 0%, black 150px),
        radial-gradient(circle at top right, transparent 0%, black 150px),
        radial-gradient(circle at bottom left, transparent 0%, black 150px),
        radial-gradient(circle at bottom right, transparent 0%, black 150px);
    -webkit-mask-size: 51% 51%;
    -webkit-mask-position: top left, top right, bottom left, bottom right;
    -webkit-mask-repeat: no-repeat;
}

/* Glass Spotlight Effect */
.dp-card::before,
.glass-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y),
            rgba(255, 255, 255, 0.08),
            transparent 40%);
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dp-card:hover::before,
.glass-card:hover::before {
    opacity: 1;
}

.dp-subtitle {
    font-size: 20px;
    color: #cfa87c;
    margin-bottom: 12px;
    font-weight: 300;
}

.dp-title {
    font-size: 32px;
    color: #ffffff;
    margin: 0 0 20px 0;
    font-weight: 400;
}

.dp-text {
    font-size: 15px;
    line-height: 1.6;
    color: #cbd5e1;
    margin: 0;
    font-weight: 300;
}

.dp-license {
    margin-top: 30px;
    font-size: 14px;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 300;
}

.dp-check-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* Philosophy Section Styles */
.philosophy-section {
    position: relative;
    padding: 80px 60px 150px 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.philosophy-subtitle {
    font-family: 'Satoshi', sans-serif;
    font-size: 24px;
    color: #cfa87c;
    /* Golden tone matching the image */
    margin-bottom: 30px;
    font-weight: 300;
    letter-spacing: 1px;
}

.philosophy-headline {
    font-family: 'Satoshi', sans-serif;
    font-size: 80px;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 60px;
    font-weight: normal;
    letter-spacing: 3px;
    max-width: 1200px;
}

.philosophy-btn {
    /* Extending hero-btn */
    padding: 10px 40px;
    font-size: 20px;
}

/* Header Styles */
#dynamic-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(30, 37, 45, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 25px 60px;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

#dynamic-header .header-logo {
    height: 54px;
    display: flex;
    align-items: center;
}

#dynamic-header .header-logo img {
    height: 100%;
    width: auto;
}

#dynamic-header .header-nav {
    display: flex;
    gap: 40px;
    align-items: center;
    padding-right: 20px;
}

#dynamic-header a {
    color: #e2e8f0;
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.3px;
    transition: all 0.2s ease-in-out;
    font-family: 'Satoshi', sans-serif;
}

#dynamic-header a:hover {
    color: #ffffff;
    opacity: 0.9;
}

#dynamic-header .header-btn {
    padding: 4px 18px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.03);
    margin-left: 10px;
}

#dynamic-header .header-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
}

/* Footer Styles */
#dynamic-footer {
    width: 100%;
    background-color: rgba(15, 15, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 60px 80px 30px 80px;
    box-sizing: border-box;
    color: #e2e8f0;
    font-family: 'Satoshi', sans-serif;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
}

#dynamic-footer .footer-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
}

#dynamic-footer .footer-left {
    display: flex;
    gap: 40px;
    align-items: center;
    max-width: 500px;
}

#dynamic-footer .footer-logo img {
    width: 140px;
    height: auto;
}

#dynamic-footer .footer-company-info h3 {
    font-size: 15px;
    margin: 0 0 12px 0;
    letter-spacing: 1px;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
}

#dynamic-footer .footer-company-info p {
    font-size: 13px;
    line-height: 1.6;
    color: #94a3b8;
    margin: 0;
    font-weight: 400;
}

#dynamic-footer .footer-right {
    display: flex;
    gap: 100px;
}

#dynamic-footer .footer-column h4 {
    font-size: 13px;
    margin: 0 0 24px 0;
    font-weight: 600;
    letter-spacing: 1px;
    color: #ffffff;
    text-transform: uppercase;
}

#dynamic-footer .footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

#dynamic-footer .footer-column ul li a,
#dynamic-footer .footer-column ul li {
    color: #94a3b8;
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
    transition: color 0.2s ease;
}

#dynamic-footer .footer-column ul li a:hover {
    color: #ffffff;
}

#dynamic-footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    font-size: 12px;
    color: #64748b;
    letter-spacing: 0.5px;
    font-weight: 300;
}

/* Ambient Exposure Flare */
#ambient-exposure-flare {
    position: absolute;
    top: 0;
    right: 0;
    width: 70vw;
    height: 70vh;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.5) 40%, transparent 80%);
    mix-blend-mode: color-dodge;
    z-index: 1;
    pointer-events: none;
    filter: blur(40px);
    animation: pulseExposure 4s infinite alternate ease-in-out;
}

@keyframes pulseExposure {
    0% {
        opacity: 0.3;
    }

    100% {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    #ambient-exposure-flare {
        width: 100vw;
        height: 50vh;
    }
}

/* Prototype Page Styles */
.prototype-img {
    display: block;
    width: 100vw;
    height: auto;
    margin-top: 105px;
    /* Offset for fixed header */
    object-fit: contain;
    background-color: #121212;
}

/* Mobile Header Base */
.header-hamburger {
    display: none;
}

/* =========================================================
   MOBILE RESPONSIVE LAYOUT
   ========================================================= */
@media (max-width: 768px) {
    #ambient-exposure-flare {
        width: 100%;
        height: 50vh;
    }

    /* Header Mobile Rules */
    #dynamic-header {
        padding: 8px 15px;
        justify-content: flex-start;
        width: 100%;
        box-sizing: border-box;
    }

    .header-hamburger {
        display: flex;
        flex-direction: column;
        gap: 6px;
        cursor: pointer;
        margin-right: 20px;
    }

    .header-hamburger span {
        width: 30px;
        height: 2px;
        background-color: #ffffff;
        border-radius: 2px;
    }

    #dynamic-header .header-logo img {
        height: 28px;
        width: auto;
    }

    #dynamic-header .header-nav {
        display: flex;
        flex-grow: 1;
        justify-content: flex-end;
        padding-right: 0;
        gap: 0;
    }

    #dynamic-header .header-nav a:not(.mobile-btn) {
        display: none;
    }

    .mobile-btn {
        display: block !important;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        margin: 0;
        font-size: 10px !important;
        padding: 6px 10px !important;
        white-space: nowrap;
    }

    /* Hero Section Mobile Rules */
    :root {
        --hero-position-top: 48vh;
        --hero-position-left: 20px;
    }

    .hero-section {
        max-width: 100%;
        padding-right: 20px;
    }

    .hero-title {
        font-size: 42px;
        margin: 0 0 15px -5px !important;
        line-height: 1.05;
    }

    .hero-subtitle {
        font-size: 13px;
        margin-bottom: 8px;
    }

    .hero-description {
        font-size: 13px;
        margin-bottom: 24px;
        line-height: 1.4;
        max-width: 95%;
    }

    .hero-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 30px;
    }

    .hero-btn {
        padding: 8px 14px;
        font-size: 11px;
        flex: 0 1 auto;
        text-align: center;
        white-space: nowrap;
    }

    .hero-meta {
        font-size: 8px;
        white-space: normal;
        line-height: 1.5;
        letter-spacing: 0px;
    }
}