:root {
    /* Brand Palette */
    --bg-dark: #1a202c;
    /* Hero & Footer */
    --bg-light: #f9f9f9;
    /* Main Discovery Section */
    --text-light: #ffffff;
    /* Hero/Header Text */
    --text-main: #1a1a1a;
    /* Primary Headings */
    --text-muted: #666666;
    /* Body Copy */
    --text-footer: #a0aec0;
    --accent-primary: #d62960;
    /* Brand Pink */

    /* Typography System */
    --font-size-label: clamp(0.8rem, 0.9vw, 1rem);
    --font-size-heading: clamp(2.2rem, 6vh, 3.8rem);
    --font-weight-heading: bold;
    --font-size-body: clamp(1.3rem, 1.35vw, 1.4rem);

    /* Functional UI */
    --header-blur: rgba(0, 0, 0, 0.9);
    --line-color: #eeeeee;
    --footer-line: rgba(255, 255, 255, 0.1);
    --shadow-elevated: 0 20px 40px rgba(0, 0, 0, 0.08);

    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Philosopher', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
}

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

a:hover {
    color: var(--accent-primary);
    transition: var(--transition-smooth);
}

/* links that are in a text */
.text-link {
    position: relative;
    color: var(--text-main);
    font-weight: 700;
    transition: var(--transition-smooth);
    border-bottom: 2px solid var(--accent-primary);
    padding-bottom: 1px;
}

.text-link:hover {
    color: var(--accent-primary);
    background: rgba(214, 41, 96, 0.05);
}

/* --- Navigation --- */
/* header {
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--header-blur);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.brand-link {
    text-decoration: none;
    color: inherit;
    display: inline-block;
}

header h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-light);
    text-transform: lowercase;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

nav a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--accent-primary);
} */

/* --- Navigation --- */
header {
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--header-blur);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.brand-link {
    text-decoration: none;
    color: inherit;
    display: inline-block;
}

header h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-light);
    text-transform: lowercase;
}

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

nav a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
    display: block;
    padding: 0.5rem 0;
}


/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown>a {
    padding: 0.5rem 1rem;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: var(--header-blur);
    backdrop-filter: blur(10px);
    border: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition-smooth);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    margin-top: 0;
    display: flex;
    flex-direction: column;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
    width: 100%;
}

.dropdown-menu a {
    padding: 0.75rem;
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 400;
    transition: all 0.3s ease;
    background: transparent;
    width: 100%;
    text-align: left;
}

.dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--bg-dark);
    font-weight: 600;
}


.dropdown>a::after {
    content: '▾';
    margin-left: 0.4rem;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown:hover>a::after {
    transform: rotate(180deg);
}


.dropdown:hover>a {
    background: rgba(26, 32, 44, 0.5);
    border-radius: 8px 8px 0 0;
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    background: var(--bg-dark);
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 100px 2rem;
}

.brand span {
    display: inline-block;
    font-size: clamp(3rem, 12vh, 5.5rem);
    font-weight: bold;
    color: var(--accent-primary);
    transition: transform 0.3s ease;
    text-shadow: 0 0 5px rgba(214, 41, 96, 0.5);
    animation: glowPulse 2s ease-in-out infinite;
}


.brand span:nth-child(1) {
    animation-delay: 0s;
}

.brand span:nth-child(2) {
    animation-delay: 0.2s;
}

.brand span:nth-child(3) {
    animation-delay: 0.4s;
}

.brand span:nth-child(4) {
    animation-delay: 0.6s;
}


.brand span:nth-child(5) {
    animation-delay: 0.8s;
}

.brand span:nth-child(6) {
    animation-delay: 1.0s;
}

.brand span:nth-child(7) {
    animation-delay: 1.2s;
}

/* Animation Logic */
@keyframes glowPulse {

    0%,
    100% {
        transform: scale(1);
        text-shadow: 0 0 5px rgba(214, 41, 96, 0.5),
            0 0 10px rgba(214, 41, 96, 0.3);
    }

    50% {
        transform: scale(1.05);
        text-shadow: 0 0 20px rgba(214, 41, 96, 0.8),
            0 0 30px rgba(214, 41, 96, 0.5);
    }
}

.hero p {
    max-width: 600px;
    font-size: clamp(1rem, 2vh, 1.2rem);
    margin: 1.5rem 0 2rem;
    color: var(--accent-primary);
}

/* --- Discovery Section  --- */
#discovery {
    background-color: var(--bg-light);
    padding: 140px 2rem;
    display: flex;
    justify-content: center;
}

.discovery-container {
    max-width: 1100px;
    width: 100%;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
}

.section-label {
    color: var(--accent-primary);
    font-size: var(--font-size-label);
    font-weight: bold;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    display: block;
}

/* Left Column: Mission */
.mission-block h1 {
    font-size: var(--font-size-heading);
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.mission-text {
    font-size: var(--font-size-body);
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 550px;
}

.mission-cta p {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    max-width: 550px;
}

/* Option 2: The Blueprint Wireframe */
/* .mission-cta {
    background: transparent; 
    padding: 40px;
    border-radius: 16px; 
    border: 2px solid var(--text-main); 
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition-smooth);
}

.mission-cta:hover {
    transform: translateY(-5px);
    box-shadow: 8px 8px 0px var(--text-main); 
} */



/* Right Column: Products */
.portfolio-block {
    border-left: 1px solid var(--line-color);
    padding-left: 40px;
}

.product-entry {
    margin-bottom: 3.5rem;
}

.product-entry h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.product-entry p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 1rem;
    max-width: 320px;
}

.learn-more-link {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    display: inline-block;
}

.learn-more-link:hover {
    color: var(--accent-primary);
    transform: translateX(5px);
}

/* --- Button Styling --- */
.btn {
    display: inline-block;
    padding: 0.8rem 2.2rem;
    border: 2px solid var(--text-main);
    border-radius: 2rem;
    text-decoration: none;
    font-weight: 700;
    color: var(--text-main);
    transition: var(--transition-smooth);
}

.hero .btn {
    color: var(--text-light);
    border-color: var(--text-light);
}

.btn:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: var(--text-light) !important;
}

/* --- Footer --- */
footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 100px 2rem 60px;
    border-top: 1px solid var(--footer-line);
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
}

.footer-brand-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    min-width: 200px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--text-light);
    text-transform: lowercase;
}

.footer-socials {
    display: flex;
    gap: 20px;
}

.social-icon {
    width: 24px;
    height: 24px;
    opacity: 0.7;
    transition: var(--transition-smooth);
}

.social-icon:hover {
    opacity: 1;
    transform: translateY(-3px);
}

.footer-links-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer-column h4 {
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-transform: none;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.8rem;
}

.footer-column a {
    color: var(--text-footer);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--text-light);
}

.footer-bottom {
    max-width: 1100px;
    margin: 80px auto 0;
    padding-top: 30px;
    border-top: 1px solid var(--footer-line);
    font-size: 0.9rem;
    color: var(--text-footer);
}

/* --- About Page Specific Styles --- */


.about-viewport {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}


.about-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 2rem 80px;
    max-width: 1100px;
    margin: 0 auto;
}

.about-content {
    max-width: 800px;
    animation: aboutFadeIn 0.8s ease-out forwards;
}

@keyframes aboutFadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-content h1 {
    font-size: clamp(2.5rem, 7vw, 4.2rem);
    line-height: 1.1;
    margin-bottom: 2.5rem;
    font-weight: 700;
    color: var(--text-main);
}

.about-content h1 .accent {
    color: var(--accent-primary);
    font-weight: 700;
}

.about-content p {
    font-size: clamp(1.1rem, 2.5vw, 1.45rem);
    color: var(--text-main);
    margin-bottom: 1.8rem;
    max-width: 720px;
}

.about-content .btn {
    margin-top: 1.5rem;
}

/* --- Product --- */
.page-section {
    padding: 60px 2rem;
}

.page-section.bg-white {
    background: #ffffff;
}

.reading-container {
    max-width: 760px;
    margin: 0 auto;
}

.lead-text {
    font-size: var(--font-size-heading);
    font-weight: var(--font-weight-heading);
    color: var(--text-main);
    line-height: 1.5;
    margin-bottom: 2rem;
}

.body-text {
    font-size: var(--font-size-body);
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 1rem;
}

/* --- Product Hero --- */
.product-hero {
    min-height: 100vh;
    background: var(--bg-dark);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 2rem 80px;
    position: relative;
    overflow: hidden;
}

.product-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 60% 50%, rgba(214, 41, 96, 0.06) 0%, transparent 65%);
    pointer-events: none;
}

.hero-inner {
    max-width: 1100px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-text {
    animation: fadeUp 0.8s ease-out forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-eyebrow {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-footer);
    margin-bottom: 1.2rem;
}

.hero-text h1 {
    font-size: clamp(3rem, 7vw, 5rem);
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 1.2rem;
    color: var(--text-light);
}

.hero-text .tagline {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 2.5rem;
    max-width: 420px;
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Button variants for dark hero context */
.btn-primary {
    background: var(--text-light);
    color: var(--bg-dark);
    border-color: var(--text-light);
}

.btn-primary:hover {
    background: transparent;
    color: var(--text-light);
}

.btn-ghost {
    background: transparent;
    color: rgba(255, 255, 255, 0.65);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-ghost:hover {
    border-color: var(--text-light);
    color: var(--text-light);
}

/* --- Screen Mockup (hero visual) --- */
.hero-visual {
    animation: fadeUp 0.8s 0.2s ease-out both;
}

.screen-mockup {
    width: 100%;
    aspect-ratio: 16 / 10;
    background: #0f1318;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.mockup-bar {
    height: 28px;
    background: #161b23;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    padding: 0 12px;
    gap: 6px;
}

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

.dot-r {
    background: #ff5f57;
}

.dot-y {
    background: #febc2e;
}

.dot-g {
    background: #28c840;
}

.mockup-body {
    flex: 1;
    display: grid;
    grid-template-columns: 48px 1fr;
}

.mockup-sidebar {
    background: #111520;
    border-right: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 8px;
}

.sidebar-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
}

.sidebar-icon.active {
    background: rgba(214, 41, 96, 0.15);
}

.mockup-main {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mock-row {
    height: 10px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.06);
}

.mock-row.w-90 {
    width: 90%;
}

.mock-row.w-80 {
    width: 80%;
}

.mock-row.w-60 {
    width: 60%;
}

.mock-row.w-40 {
    width: 40%;
}

.mock-card-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 4px;
}

.mock-card {
    height: 60px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

/* --- Principles Section --- */
.principles-section {
    padding: 120px 2rem;
    background: #ffffff;
    border-top: 1px solid var(--line-color);
}

.principles-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.principles-left h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-main);
    margin-top: 1rem;
}

.principles-list {
    list-style: none;
    display: flex;
    flex-direction: column;
}

.principles-list li {
    padding: 1.8rem 0;
    border-bottom: 1px solid var(--line-color);
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 1.2rem;
    align-items: start;
}

.principles-list li:last-child {
    border-bottom: none;
}

.principle-num {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-footer);
    padding-top: 4px;
    letter-spacing: 0.05em;
}

.principle-text h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.3rem;
}

.principle-text p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* --- Capabilities Section --- */
.capabilities-section {
    padding: 60px 2rem;
    background: var(--bg-light);
}

.capabilities-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.cap-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: end;
    margin-bottom: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--line-color);
}

.cap-header h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    line-height: 1.15;
}

.cap-header p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.cap-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.cap-item {
    padding: 2.5rem 2rem 2.5rem 0;
    border-right: 1px solid var(--line-color);
}

.cap-item:last-child {
    border-right: none;
}

.cap-item:not(:first-child) {
    padding-left: 2rem;
}

.cap-item h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.cap-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* --- Ecosystem Section --- */
.ecosystem-section {
    padding: 120px 2rem;
    background: var(--bg-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.ecosystem-inner {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.ecosystem-inner .section-label {
    color: var(--text-footer);
}

.ecosystem-inner h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text-light);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.ecosystem-inner p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.ecosystem-inner .btn {
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--text-light);
}

.ecosystem-inner .btn:hover {
    border-color: var(--text-light);
    background: transparent;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 900px) {
    .discovery-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .mission-text {
        margin: 0 auto 3rem;
    }

    .portfolio-block {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid var(--line-color);
        padding-top: 60px;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-brand-col {
        align-items: center;
        margin-bottom: 3rem;
    }

    .footer-links-grid {
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
    }

    /* Product */
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero-visual {
        display: none;
    }

    .principles-inner {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .cap-header {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cap-grid {
        grid-template-columns: 1fr 1fr;
    }

    .cap-item {
        border-right: none;
        border-bottom: 1px solid var(--line-color);
        padding: 2rem 0;
    }

    .cap-item:last-child {
        border-bottom: none;
    }

    .cap-item:not(:first-child) {
        padding-left: 0;
    }
}

@media (max-width: 480px) {
    .footer-links-grid {
        grid-template-columns: 1fr;
    }

    .brand span {
        font-size: 3.2rem;
    }

    .mission-cta {
        width: 100%;
        padding: 30px 20px;
    }

    /* Product */
    .cap-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }
}