* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background:
        radial-gradient(circle at 30% 20%, rgb(169, 159, 135) 0%, transparent 60%),
        radial-gradient(circle at 80% 70%, rgb(255, 255, 255) 0%, transparent 60%),
        #a99f87;
    color: #e2e8f0;
    line-height: 1.65;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Background - very subtle */
#particles-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 30% 20%, rgb(169, 159, 135) 0%, transparent 60%),
        radial-gradient(circle at 80% 70%, rgb(255, 255, 255) 0%, transparent 60%),
        #a99f87;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    position: relative;
}

.hero-content {
    max-width: 900px;
    text-align: center;
}

.hero-title {
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    font-weight: 800;
    margin: 0 0 1.2rem;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 3vw, 1.6rem);
    color: #150909;
    font-weight: 400;
    margin: 0;
}

/* Gradient text - subtle and elegant */
.gradient-text {
    background: linear-gradient(90deg, #8b5500 0%, #d89e51 50%, #7f6015 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.page-section {
    padding: 6rem 2rem;
}

.page-section:nth-child(even) {
    background: rgba(15, 23, 42, 0.4);
}

/* ==========================================================================
   CARDS & PROJECTS
   ========================================================================== */
.glass-card,
.project-card {
    background: rgba(30, 41, 59, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.glass-card:hover,
.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.5);
    border-color: rgba(96, 165, 250, 0.3);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 2.5rem;
    max-width: 1280px;
    margin: 0 auto;
}

/* ==========================================================================
   FORM
   ========================================================================== */
.glass-form {
    max-width: 580px;
    margin: 0 auto;
    padding: 2.5rem 2rem;
    background: rgba(30, 41, 59, 0.65);
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    backdrop-filter: blur(12px);
}

.glass-form input,
.glass-form textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: rgba(15, 23, 42, 0.6);
    color: #f1f5f9;
    font-size: 1.05rem;
    transition: all 0.25s ease;
}

.glass-form input:focus,
.glass-form textarea:focus {
    outline: none;
    border-color: #60a5fa;
    box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.12);
    background: rgba(15, 23, 42, 0.8);
}

.glass-form button {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(90deg, #3b82f6, #7c3aed);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.glass-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.35);
    background: linear-gradient(90deg, #60a5fa, #a78bfa);
}

/* ==========================================================================
   TYPOGRAPHY HELPERS
   ========================================================================== */
h1, h2, h3 {
    color: #f1f5f9;
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-section {
        min-height: 80vh;
        padding: 3rem 1.5rem;
    }

    .hero-title {
        font-size: clamp(3rem, 7vw, 5rem);
    }
}

@media (max-width: 768px) {
    .page-section {
        padding: 4rem 1.25rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .glass-form {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

}
.bg-black {
    --bs-bg-opacity: 1;
    background-color: #e1cf9c !important;
}