@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

:root {
    /* Monochrome Palette Definitions */
    --c-white: #ffffff;
    --c-black: #000000;
    --c-offwhite: #f5f5f5;
    --c-offblack: #111111;

    /* Default (Light) */
    --bg: var(--c-white);
    --fg: var(--c-black);
    --surface: var(--c-offwhite);
    --border: var(--c-black);

    --font-main: 'Outfit', sans-serif;

    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
}

/* Dark Mode Overrides (System or Class) */
@media (prefers-color-scheme: dark) {
    :root {
        --bg: var(--c-black);
        --fg: var(--c-white);
        --surface: var(--c-offblack);
        --border: var(--c-white);
    }
}

:root.dark-mode {
    --bg: var(--c-black);
    --fg: var(--c-white);
    --surface: var(--c-offblack);
    --border: var(--c-white);
}

:root.light-mode {
    --bg: var(--c-white);
    --fg: var(--c-black);
    --surface: var(--c-offwhite);
    --border: var(--c-black);
}

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

body {
    background-color: var(--bg);
    color: var(--fg);
    font-family: var(--font-main);
    line-height: 1.4;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1,
h2,
h3 {
    font-weight: 800;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

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

button {
    cursor: pointer;
    background: none;
    border: none;
    font-family: inherit;
    color: inherit;
}

/* Utilities */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 var(--space-sm);
}

.btn {
    display: inline-block;
    border: 2px solid var(--fg);
    padding: 0.75rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.2s;
}

.btn:hover {
    background: var(--fg);
    color: var(--bg);
}

/* Navbar */
.navbar {
    padding: var(--space-sm) 0;
    border-bottom: 2px solid var(--fg);
    position: sticky;
    top: 0;
    background: var(--bg);
    z-index: 100;
}

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

.logo {
    font-weight: 800;
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    gap: var(--space-md);
}

.nav-links button {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.nav-links button:hover {
    text-decoration: underline;
}


/* Scroll Snap Layout */
.scroll-container {
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
}

/* Sections */
.scroll-section {
    height: 100vh;
    width: 100%;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: var(--space-lg) var(--space-sm);
    position: relative;
    border-bottom: 1px solid var(--fg);
}

.scroll-section:last-child {
    border-bottom: none;
}

/* Hero Modifications */
.hero h1 {
    font-size: clamp(4rem, 15vw, 10rem);
    line-height: 0.9;
    margin-bottom: var(--space-md);
}

.hero p {
    font-size: 1.5rem;
    font-weight: 300;
}

/* Content Sections */
.section-title {
    font-size: clamp(2rem, 5vw, 4rem);
    margin-bottom: var(--space-md);
    line-height: 1.1;
}

.section-text {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
}

.section-caption {
    margin-top: var(--space-md);
    font-style: italic;
    opacity: 0.7;
}

/* Image Placeholders */
.image-placeholder {
    width: 100%;
    max-width: 800px;
    height: 400px;
    background: var(--surface);
    border: 2px solid var(--fg);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    position: relative;
}

.placeholder-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.placeholder-content span {
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
}

.mobile-placeholder {
    max-width: 300px;
    /* Mobile aspect ratio */
    height: 600px;
    border-radius: 2rem;
    /* Phone-like roundness */
}


/* Dialogs */
dialog {
    max-width: 800px;
    width: 90%;
    margin: auto;
    background: var(--bg);
    color: var(--fg);
    border: 4px solid var(--fg);
    padding: var(--space-md);
}

dialog::backdrop {
    background: rgba(128, 128, 128, 0.5);
    /* Neutral backdrop */
}

@media (prefers-color-scheme: dark) {
    dialog::backdrop {
        background: rgba(255, 255, 255, 0.2);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
    border-bottom: 1px solid var(--fg);
    padding-bottom: var(--space-sm);
}

.close-btn {
    font-size: 2rem;
    line-height: 1;
}

/* Pricing Horizontal Scroll */
.pricing-wrapper {
    display: flex;
    gap: var(--space-md);
    overflow-x: auto;
    padding-bottom: var(--space-sm);
}

.pricing-card {
    min-width: 280px;
    border: 2px solid var(--fg);
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
}

.pricing-card h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.price {
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
    font-weight: 300;
}

.features-list {
    list-style-type: square;
    padding-left: 1.2rem;
}


.features-list li {
    margin-bottom: 0.5rem;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
}

.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    background: var(--bg);
    color: var(--fg);
    border: 2px solid var(--fg);
    font-family: inherit;
    font-size: 1rem;
    border-radius: 0;
    /* Keep it brutalist */
    appearance: none;
    /* Remove default styling */
}

.contact-form select {
    background-image: linear-gradient(45deg, transparent 50%, var(--fg) 50%),
        linear-gradient(135deg, var(--fg) 50%, transparent 50%);
    background-position: calc(100% - 20px) calc(1em + 2px),
        calc(100% - 15px) calc(1em + 2px);
    background-size: 5px 5px,
        5px 5px;
    background-repeat: no-repeat;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button[type="submit"]:hover {
    background: var(--fg);
    color: var(--bg);
    cursor: pointer;
}

/* Language Menu */
.lang-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: var(--bg);
    border: 2px solid var(--fg);
    display: flex;
    flex-direction: column;
    min-width: 150px;
    z-index: 200;
}

.lang-menu button {
    padding: 0.75rem 1rem;
    text-align: left;
    width: 100%;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--fg);
    font-weight: 500;
}

.lang-menu button:last-child {
    border-bottom: none;
}

.lang-menu button:hover {
    background: var(--fg);
    color: var(--bg);
}

.lang-menu[hidden] {
    display: none;
}

.mobile-placeholder {
    max-width: 300px;
    /* Mobile aspect ratio */
    height: 600px;
    border-radius: 2rem;
    /* Phone-like roundness */
}

/* Split Layout */
.split-container {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    text-align: left;
    height: 100%;
}

.split-container.reverse {
    flex-direction: row-reverse;
}

.text-content {
    flex: 1;
}

.media-content {
    flex: 1;
    display: flex;
    justify-content: center;
}

.split-section .section-title {
    margin-bottom: var(--space-sm);
}

.split-section .section-text {
    margin: 0;
    max-width: 100%;
}

/* Responsive adjustment for split layout */
@media (max-width: 768px) {

    .split-container,
    .split-container.reverse {
        flex-direction: column;
        text-align: center;
        justify-content: center;
        gap: var(--space-md);
    }

    .image-placeholder {
        height: 300px;
    }

    .mobile-placeholder {
        height: 400px;
    }
}