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

:root {
    --accent: #00e676;
    --accent-dim: rgba(0, 230, 118, 0.08);
    --accent-mid: rgba(0, 230, 118, 0.25);
    --bg: #000000;
    --surface: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.06);
    --text: #999;
    --light: #e8e8e8;
    --white: #fff;
}

html, body {
    height: 100%;
    overflow: hidden;
    background: var(--bg);
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    color: var(--white);
    cursor: none;
    -webkit-font-smoothing: antialiased;
}

a, button, input, select, textarea { cursor: none; }

/* Background Canvas */
#bg-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Custom Cursor */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s;
}

.custom-cursor.visible { opacity: 1; }
.custom-cursor.hidden { opacity: 0 !important; }

.cursor-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid var(--accent);
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, opacity 0.2s;
}

.cursor-ring-1 { width: 32px; height: 32px; opacity: 0.12; }
.cursor-ring-2 { width: 14px; height: 14px; opacity: 0.4; }

.cursor-dot {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 8px var(--accent);
}

.custom-cursor.hovering .cursor-ring-1 { width: 48px; height: 48px; opacity: 0.2; }
.custom-cursor.hovering .cursor-ring-2 { width: 22px; height: 22px; opacity: 0.5; }
.custom-cursor.hovering .cursor-dot { transform: translate(-50%, -50%) scale(1.5); }

/* Nav */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
    z-index: 100;
}

.nav-logo {
    display: flex;
    align-items: baseline;
    gap: 0;
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    color: var(--white);
}

.logo-360 {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--accent);
}

.nav-contact {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--bg);
    background: var(--accent);
    border: none;
    padding: 0.55rem 1.4rem;
    border-radius: 6px;
    letter-spacing: -0.01em;
    transition: all 0.2s;
}

.nav-contact:hover {
    box-shadow: 0 0 20px rgba(0, 230, 118, 0.3);
    transform: translateY(-1px);
}

/* Hero */
main {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.hero {
    text-align: center;
    max-width: 700px;
    padding: 0 2rem;
}

.hero-title {
    font-size: clamp(3.2rem, 8vw, 6.5rem);
    font-weight: 600;
    letter-spacing: -0.06em;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    color: var(--white);
}

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

.hero-sub {
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    font-weight: 300;
    color: var(--text);
    line-height: 1.7;
    max-width: 520px;
    margin: 0 auto 2.5rem;
    letter-spacing: -0.01em;
}

.hero-tags {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.tag {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--light);
    padding: 0.55rem 1.15rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(4px);
    transition: all 0.2s;
    letter-spacing: -0.01em;
}

.tag:hover {
    color: var(--accent);
    border-color: var(--accent-mid);
    background: var(--accent-dim);
}

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
    cursor: default;
}

.modal-overlay.active * { cursor: default; }

.modal {
    background: rgba(12, 12, 12, 0.95);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2.5rem;
    width: 100%;
    max-width: 380px;
    position: relative;
    transform: translateY(12px) scale(0.98);
    transition: transform 0.25s;
    backdrop-filter: blur(20px);
}

.modal-overlay.active .modal {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    background: none;
    border: none;
    color: #555;
    font-size: 1.5rem;
    font-weight: 300;
    transition: color 0.2s;
    line-height: 1;
}

.modal-close:hover { color: var(--white); }

.modal-title {
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    color: var(--white);
}

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

.form input,
.form select,
.form textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    color: var(--white);
    padding: 0.7rem 0.9rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 300;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    letter-spacing: -0.01em;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
    border-color: var(--accent-mid);
    box-shadow: 0 0 0 3px var(--accent-dim);
}

.form input::placeholder,
.form textarea::placeholder {
    color: #555;
}

.form select {
    appearance: none;
    color: #555;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath fill='%23555' d='M5 7L1 3h8z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.9rem center;
}

.form select:valid { color: var(--white); }

.form select option {
    background: #0c0c0c;
    color: var(--white);
}

.form textarea { resize: none; line-height: 1.5; }

.form-btn {
    margin-top: 0.5rem;
    background: var(--accent);
    border: none;
    color: var(--bg);
    padding: 0.7rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    border-radius: 8px;
    transition: all 0.2s;
}

.form-btn:hover {
    box-shadow: 0 0 24px rgba(0, 230, 118, 0.25);
    transform: translateY(-1px);
}

.form-success { text-align: center; padding: 2rem 0; }
.form-success p { color: var(--accent); font-size: 0.95rem; font-weight: 400; }

/* Footer */
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    padding: 1.25rem;
    z-index: 50;
}

footer p {
    font-size: 0.65rem;
    color: #333;
    font-weight: 400;
    letter-spacing: -0.01em;
}

/* Mobile */
@media (max-width: 768px) {
    body { cursor: auto; }
    a, button, input, select, textarea { cursor: auto; }
    .custom-cursor { display: none !important; }

    nav { padding: 1.25rem 1.5rem; }
    .logo-text, .logo-360 { font-size: 1rem; }
    .nav-contact { padding: 0.5rem 1.1rem; font-size: 0.75rem; border-radius: 6px; }

    .hero { padding: 0 1.5rem; }
    .hero-title { font-size: 2.6rem; margin-bottom: 1.2rem; }
    .hero-sub { font-size: 1rem; margin-bottom: 1.8rem; line-height: 1.6; }
    .hero-tags { gap: 0.5rem; }
    .tag { font-size: 0.78rem; padding: 0.55rem 1rem; }

    footer { padding: 1rem; }
    footer p { font-size: 0.6rem; }

    .modal-overlay { align-items: flex-end; }
    .modal {
        max-width: 100%;
        border-radius: 16px 16px 0 0;
        border-bottom: none;
        padding: 2rem 1.5rem 2.5rem;
        max-height: 88vh;
        overflow-y: auto;
    }
    .modal-overlay .modal { transform: translateY(100%); }
    .modal-overlay.active .modal { transform: translateY(0); }
    .form input, .form select, .form textarea {
        padding: 0.85rem 1rem;
        font-size: 16px;
        border-radius: 10px;
    }
    .form-btn { padding: 0.9rem; font-size: 0.88rem; border-radius: 10px; }
}

@media (max-width: 380px) {
    .hero-title { font-size: 2.2rem; }
    .hero-sub { font-size: 0.92rem; }
    .tag { font-size: 0.72rem; padding: 0.5rem 0.9rem; }
}
