/* CSS Variables */
:root {
    /* Colors */
    --color-bg: #1a1d2e;
    --color-text: #FFFFFF;
    --color-violet: #9446FF;
    --color-violet-hover: #6A1FD0;
    --color-violet-18: rgba(146, 69, 255, 0.18);
    --color-btn-text: #FFFFFF;
    --color-shadow: rgba(0, 0, 0, 0.18);
    --color-body: var(--color-text);
    --color-name: var(--color-text);
    --icon-filter: none;

    /* Typography */
    --font-family: 'Montserrat', sans-serif;
}

@media (prefers-color-scheme: light) {
    :root {
        --color-bg: #e5e2ed;
        --color-text: #1a1d2e;
        --color-violet: #7B2FE0;
        --color-violet-hover: #6A1FD0;
        --color-violet-18: rgba(123, 47, 224, 0.18);
        --color-btn-text: #FFFFFF;
        --color-shadow: rgba(0, 0, 0, 0.08);
        --color-body: #636366;
        --color-name: #7B2FE0;
        --icon-filter: brightness(0.3) saturate(1.2);
    }
}

/* Force dark theme override */
[data-theme="dark"] {
    --color-bg: #1a1d2e;
    --color-text: #FFFFFF;
    --color-violet: #9446FF;
    --color-violet-hover: #6A1FD0;
    --color-violet-18: rgba(146, 69, 255, 0.18);
    --color-btn-text: #FFFFFF;
    --color-shadow: rgba(0, 0, 0, 0.18);
    --color-body: #FFFFFF;
    --color-name: #FFFFFF;
    --icon-filter: none;
}

/* Force light theme override */
[data-theme="light"] {
    --color-bg: #e5e2ed;
    --color-text: #1a1d2e;
    --color-violet: #7B2FE0;
    --color-violet-hover: #6A1FD0;
    --color-violet-18: rgba(123, 47, 224, 0.18);
    --color-btn-text: #FFFFFF;
    --color-shadow: rgba(0, 0, 0, 0.08);
    --color-body: #636366;
    --color-name: #7B2FE0;
    --icon-filter: brightness(0.3) saturate(1.2);
}

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

body {
    font-family: var(--font-family);
    color: var(--color-text);
    overflow-x: hidden;
    background: var(--color-bg);
}

/* ======================================
   MOBILE-FIRST BASE STYLES
   ====================================== */

/* Container */
.container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 80px 24px 100px;
}


/* Main Content */
.main-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 660px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Header */
.header {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 100%;
}

/* Eyebrow - Mobile Layout */
.eyebrow {
    display: flex;
    flex-direction: row;
    gap: 12px;
    width: 100%;
}

.name-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    position: relative;
}

.name {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--color-name);
    margin-right: 20px;
}

.vertical-border {
    width: 2px;
    height: 100%;
    min-height: 80px;
    background: var(--color-violet-18);
    flex-shrink: 0;
}

.icon-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
}

.icons {
    width: 100%;
    max-width: 300px;
    height: auto;
    display: block;
    filter: var(--icon-filter);
}

/* Tagline */
.tagline {
    width: 100%;
}

.tagline p {
    font-size: 28px;
    font-weight: 300;
    line-height: 1.3;
    color: var(--color-body);
}

/* Body Text */
.body-text {
    width: 100%;
}

.body-text p {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.5;
    color: var(--color-body);
}

/* Contact Section */
.contact {
    display: flex;
    flex-direction: row;
    gap: 18px;
    align-items: center;
    width: 100%;
}

.cta-button {
    text-decoration: none;
    background: var(--color-violet);
    color: var(--color-btn-text);
    border: none;
    border-radius: 4px;
    padding: 14px 24px;
    min-height: 44px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow:
        0px 0.602px 0.602px -1.25px var(--color-shadow),
        0px 2.289px 2.289px -2.5px var(--color-shadow),
        0px 10px 10px -3.75px var(--color-shadow);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cta-button:hover {
    background: var(--color-violet-hover);
    box-shadow:
        0px 0.8px 0.8px -1.25px var(--color-shadow),
        0px 3px 3px -2.5px var(--color-shadow),
        0px 12px 12px -3.75px var(--color-shadow);
}

.cta-button:active {
    transform: translateY(0);
}

.linkedin-link {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--color-violet);
    text-decoration: none;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.linkedin-link:hover {
    color: var(--color-violet-hover);
}

/* ======================================
   TABLET STYLES (min-width: 600px)
   ====================================== */

@media screen and (min-width: 600px) {
    .container {
        padding: 100px 40px 150px;
    }

    .name {
        font-size: 56px;
    }

    .tagline p {
        font-size: 36px;
    }

    .body-text p {
        font-size: 18px;
    }

    .icons {
        max-width: 320px;
    }
}

/* ======================================
   DESKTOP STYLES (min-width: 1024px)
   ====================================== */

@media screen and (min-width: 1024px) {
    .container {
        padding-top: 92px;
        padding-bottom: 694.03px;
    }

    .background-image {
        left: -1.67%;
        width: 103.33%;
    }

    .main-content {
        width: 660px;
        gap: 36px;
    }

    .header {
        gap: 22.795px;
    }

    /* Desktop Eyebrow Layout */
    .eyebrow {
        position: relative;
        height: 131.19px;
        flex-direction: row;
        gap: 0;
    }

    .name-container {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        left: 0;
    }

    .name {
        font-size: 72px;
        line-height: 57.6px;
        white-space: nowrap;
        padding-right: 16.22px;
        min-width: 310px;
        margin-right: 0;
    }

    .vertical-border {
        position: absolute;
        top: 1.21px;
        right: 0;
        bottom: 0;
        width: 2px;
        min-height: auto;
    }

    .icon-container {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        left: 350px;
        right: 0;
        justify-content: flex-start;
    }

    .icons {
        width: 272px;
        height: 90.656px;
        max-width: none;
    }

    .tagline p {
        font-size: 48px;
        line-height: 57.6px;
        white-space: pre-wrap;
    }

    .body-text {
        height: 21.59px;
        overflow: hidden;
    }

    .body-text p {
        line-height: 21.6px;
        white-space: nowrap;
    }

    .contact {
        flex-direction: row;
        gap: 18px;
        align-items: center;
        overflow: hidden;
    }

    .cta-button {
        width: 200px;
        padding: 25px 37px;
        height: 50px;
    }

    .linkedin-link {
        margin-left: 24px;
        line-height: 21.6px;
    }
}

/* ======================================
   LARGE DESKTOP (min-width: 1440px)
   ====================================== */

@media screen and (min-width: 1440px) {
    .container {
        padding-left: 60px;
        padding-right: 60px;
    }
}

/* ======================================
   THEME TOGGLE
   ====================================== */

.theme-toggle {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 100;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--color-violet-18);
    background: var(--color-bg);
    color: var(--color-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.theme-toggle:hover {
    opacity: 1;
    border-color: var(--color-violet);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
}

.theme-toggle .icon-sun {
    display: none;
}

.theme-toggle .icon-moon {
    display: block;
}

/* Show sun in light mode (user can switch to dark) */
@media (prefers-color-scheme: light) {
    .theme-toggle .icon-sun {
        display: block;
    }
    .theme-toggle .icon-moon {
        display: none;
    }
}

[data-theme="dark"] .theme-toggle .icon-sun {
    display: none;
}
[data-theme="dark"] .theme-toggle .icon-moon {
    display: block;
}

[data-theme="light"] .theme-toggle .icon-sun {
    display: block;
}
[data-theme="light"] .theme-toggle .icon-moon {
    display: none;
}
