/* =================================
   PLACEWICK — GLOBAL STYLES
================================= */


/* =================================
   ROOT VARIABLES
================================= */

:root {
    --primary: #3155F5;
    --primary-dark: #243FC2;

    --purple: #6C4CF6;
    --purple-dark: #5B3EE0;

    --text: #101A43;
    --text-light: #667085;

    --background: #FFFFFF;
    --card-background: #F8F9FC;

    --border: #E5E7EB;

    --success: #12B76A;
    --danger: #F04438;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;

    --shadow-sm: 0 4px 12px rgba(16, 26, 67, 0.06);
    --shadow-md: 0 10px 30px rgba(16, 26, 67, 0.08);
    --shadow-lg: 0 20px 50px rgba(16, 26, 67, 0.10);

    --container-width: 1200px;
}


/* =================================
   RESET
================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Manrope", sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

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

button,
input,
textarea,
select {
    font: inherit;
}

button {
    border: none;
    cursor: pointer;
}


/* =================================
   CONTAINER
================================= */

.container {
    width: min(100% - 40px, var(--container-width));
    margin-inline: auto;
}


/* =================================
   GENERAL TYPOGRAPHY
================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text);
    line-height: 1.2;
    font-weight: 800;
}

p {
    color: var(--text-light);
}

.text-center {
    text-align: center;
}


/* =================================
   BUTTONS
================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    padding: 13px 22px;

    border-radius: var(--radius-md);

    font-size: 14px;
    font-weight: 700;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--primary);
    color: #FFFFFF;
    box-shadow: 0 8px 20px rgba(49, 85, 245, 0.20);
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-secondary {
    background: var(--background);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}


/* =================================
   HEADER / NAVBAR
================================= */

.site-header {
    position: relative;
    z-index: 100;

    width: 100%;

    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--border);
}

.navbar {
    min-height: 76px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    width: 135px;
    height: auto;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-nav a {
    position: relative;

    color: var(--text-light);

    font-size: 14px;
    font-weight: 600;

    transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary);
}

.main-nav a.active::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: -8px;

    height: 2px;

    background: var(--primary);
    border-radius: 10px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    margin-left: 8px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff;
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--text);
}

.login-link {
    color: var(--text);
    font-size: 14px;
    font-weight: 700;

    transition: color 0.2s ease;
}

.login-link:hover {
    color: var(--primary);
}


/* =================================
   FOOTER
================================= */

.site-footer {
    padding-top: 70px;
    background: #101A43;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 50px;
    padding-bottom: 60px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 20px;
}

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

.footer-brand p {
    margin-bottom: 24px;

    color: rgba(255, 255, 255, 0.65);

    font-size: 13px;
    line-height: 1.8;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-links a {
    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;

    color: rgba(255, 255, 255, 0.75);

    font-size: 14px;

    transition: all 0.2s ease;
}

.social-links a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #FFFFFF;
    transform: translateY(-2px);
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.footer-column h4 {
    margin-bottom: 8px;
    color: #FFFFFF;
    font-size: 14px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;

    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: #FFFFFF;
}

.footer-bottom {
    min-height: 70px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
}

.footer-bottom > div {
    display: flex;
    gap: 22px;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;

    transition: color 0.2s ease;
}

.footer-bottom a:hover {
    color: #FFFFFF;
}


/* =================================
   FORM ELEMENTS
================================= */

input,
textarea,
select {
    width: 100%;

    padding: 13px 15px;

    background: var(--background);

    border: 1px solid var(--border);
    border-radius: var(--radius-md);

    color: var(--text);

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--primary);

    box-shadow: 0 0 0 3px rgba(49, 85, 245, 0.10);
}

textarea {
    min-height: 140px;
    resize: vertical;
}

input::placeholder,
textarea::placeholder {
    color: #98A2B3;
}


/* =================================
   RESPONSIVE
================================= */

@media (max-width: 900px) {

    .main-nav {
        gap: 18px;
    }

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

    .footer-brand {
        grid-column: 1 / -1;
    }
}


@media (max-width: 700px) {

    .container {
        width: min(100% - 30px, var(--container-width));
    }

    .navbar {
        min-height: 68px;
        position: relative;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: calc(100% - 1px);
        left: 5px;
        right: 5px;
        z-index: 30;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        width: auto;
        margin: 0;
        padding: 16px;
        background: #fff;
        border: 1px solid #eeeeee;
        border-radius: 16px;
        box-shadow: 0 12px 30px rgba(16, 26, 67, 0.08);
    }

    .main-nav.menu-open {
        display: flex;
    }

    .main-nav a {
        width: 100%;
        padding: 10px 2px;
        font-size: 12px;
    }

    .nav-actions {
        gap: 10px;
        margin-left: auto;
    }

    .login-link {
        display: inline;
        white-space: nowrap;
    }

    .nav-actions .btn {
        padding: 10px 12px;
        white-space: nowrap;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .logo img {
        width: 120px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px 25px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        flex-direction: column;
        justify-content: center;
        padding: 20px 0;
        text-align: center;
    }

    .footer-bottom > div {
        flex-wrap: wrap;
        justify-content: center;
    }
}


@media (max-width: 450px) {

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

    .footer-brand {
        grid-column: auto;
    }

    .footer-column {
        gap: 11px;
    }
}