/* === BRAND TOKENS === */
:root {
    --bg: #ffffff;
    --bg-soft: #f5f5f7;
    --text: #111111;
    --muted: #666666;
    --border: #e2e2e7;
    --accent: #9B5DE5; /* Electric purple */
    --accent-soft: rgba(155, 93, 229, 0.08);
}

/* === GLOBAL === */
* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background-color: var(--bg);
    color: var(--text);
}

/* Containers & sections */
.container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 16px;
}

.section {
    padding: 64px 0;
}

.section h1,
.section h2 {
    font-family: "Montserrat", system-ui, sans-serif;
    letter-spacing: 0.02em;
}

.section-intro {
    max-width: 640px;
    color: var(--muted);
    margin-bottom: 32px;
}

/* === HEADER & NAV === */
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background-color: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
}

.logo {
    font-family: "Montserrat", system-ui, sans-serif;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    font-size: 18px;
    text-decoration: none;
    color: var(--text);
    transition: color 0.18s ease;
}

.logo:hover {
    color: var(--accent);
}

.nav {
    display: flex;
    gap: 18px;
}

.nav-link {
    font-size: 14px;
    text-decoration: none;
    color: var(--muted);
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    transition: color 0.18s ease, border-color 0.18s ease;
}

.nav-link:hover {
    color: var(--text);
}

.nav-link.active {
    color: var(--accent);
    border-color: var(--accent);
}

/* === HERO === */
.hero {
    background: radial-gradient(circle at top left, var(--accent-soft), transparent 50%),
                var(--bg-soft);
    padding: 80px 0 72px;
}

.hero-inner {
    display: flex;
    justify-content: center;
}

.hero-text {
    max-width: 640px;
    text-align: left;
}

.hero h1 {
    font-family: "Montserrat", system-ui, sans-serif;
    font-size: 34px;
    line-height: 1.1;
    margin-bottom: 16px;
}

.hero p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.08s ease;
}

.btn-primary {
    background-color: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
}

.btn-primary:hover {
    background-color: #7b3fd2;
    border-color: #7b3fd2;
    transform: translateY(-1px);
}

.btn-outline {
    background-color: transparent;
    color: var(--text);
    border-color: var(--border);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-1px);
}

/* === LAYOUT HELPERS === */
.two-column {
    display: grid;
    grid-template-columns: 2fr 1.4fr;
    gap: 32px;
    align-items: flex-start;
}

/* === CARDS, INFO, NOTICE === */
.info-card,
.card {
    background-color: #ffffff;
    border-radius: 16px;
    border: 1px solid var(--border);
    padding: 20px 22px;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04);
}

.info-card h3,
.card h2 {
    font-family: "Montserrat", system-ui, sans-serif;
    margin-top: 0;
    margin-bottom: 12px;
}

.list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.list li {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 6px;
}

.cards {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
}

.notice {
    margin-top: 32px;
    padding: 14px 16px;
    border-radius: 12px;
    background-color: var(--accent-soft);
    font-size: 13px;
    color: var(--muted);
}

/* === GRID / PORTFOLIO === */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.grid-img,
.grid-item {
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
}

.grid-img {
    display: block;
    object-fit: cover;
}

.placeholder {
    background: linear-gradient(135deg, var(--bg-soft), #ffffff);
    border: 1px dashed var(--border);
    color: var(--muted);
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 12px;
}

/* === FORMS === */
.form {
    max-width: 520px;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 18px;
}

.form-row label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
}

.form-row input,
.form-row textarea {
    font-family: inherit;
    font-size: 14px;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background-color: var(--bg);
    color: var(--text);
    transition: border-color 0.18s ease;
}

.form-row input:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.form-row textarea {
    resize: vertical;
}

.form button[type="submit"] {
    margin-top: 12px;
}

/* === FOOTER === */
.site-footer {
    background-color: var(--bg-soft);
    border-top: 1px solid var(--border);
    padding: 24px 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--muted);
}

.footer-note {
    font-style: italic;
}

/* === LINK IN BIO PAGE === */
.link-bio {
    max-width: 640px;
    margin: 0 auto;
}

.bio-header {
    text-align: center;
    margin-bottom: 40px;
}

.bio-header h1 {
    font-family: "Montserrat", system-ui, sans-serif;
    font-size: 28px;
    margin-bottom: 8px;
}

.bio-tagline {
    color: var(--muted);
    font-size: 15px;
    margin: 0;
}

.link-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.link-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    background-color: #ffffff;
    border: 1px solid var(--border);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: all 0.18s ease;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

.link-item:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(155, 93, 229, 0.12);
}

.link-title {
    font-size: 16px;
}

.link-arrow {
    color: var(--muted);
    font-size: 20px;
    transition: transform 0.18s ease;
}

.link-item:hover .link-arrow {
    transform: translateX(4px);
    color: var(--accent);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .two-column {
        grid-template-columns: 1fr;
    }
    
    .header-inner {
        padding: 14px 20px;
    }
    
    .nav {
        gap: 8px;
    }
    
    .nav-link {
        font-size: 12px;
        padding: 4px 6px;
    }
    
    .logo {
        font-size: 16px;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .footer-inner {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .link-item {
        padding: 16px 20px;
    }
    
    .link-title {
        font-size: 15px;
    }
}
