:root {
    --bg-color: #1a1a1a;
    --text-color: #e8e4d9;
    --accent-color: #d4cbb3; /* A slight variation of beige */
    --glass-bg: rgba(232, 228, 217, 0.05);
    --glass-border: rgba(232, 228, 217, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
}

/* 3D Canvas Background */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none; /* Let clicks pass through */
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    mix-blend-mode: difference;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    font-weight: 300;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 101;
    color: var(--text-color);
}

/* Main Layout */
.section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10%;
    position: relative;
    scroll-margin-top: 100px;
}

.content {
    max-width: 800px;
    width: 100%;
}

.title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

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

.subtitle {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    opacity: 0.8;
    font-weight: 300;
}

.section-title {
    font-size: clamp(2rem, 5vw, 4rem);
    margin-bottom: 2rem;
    font-weight: 700;
}

.text {
    font-size: 1.2rem;
    line-height: 1.8;
    opacity: 0.9;
    font-weight: 300;
}

/* Glassmorphism Panels */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 3rem;
    border-radius: 20px;
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.skill-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.skill-card:hover {
    transform: translateY(-10px);
    background: rgba(232, 228, 217, 0.1);
    border-color: rgba(232, 228, 217, 0.3);
}

.skill-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
    font-weight: 700;
}

.skill-card p {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.8;
    font-weight: 300;
}

/* Button */
.btn {
    display: inline-block;
    margin-top: 2rem;
    padding: 1rem 2.5rem;
    background: transparent;
    color: var(--text-color);
    border: 1px solid var(--text-color);
    border-radius: 30px;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
}

.btn:hover {
    background: var(--text-color);
    color: var(--bg-color);
    font-weight: 700;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        flex-direction: row;
        padding: 1rem 5%;
        background-color: var(--bg-color);
        mix-blend-mode: normal;
        border-bottom: 1px solid var(--glass-border);
    }
    
    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-color);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
    }

    .nav-links.active {
        max-height: 400px;
        box-shadow: 0 10px 15px rgba(0,0,0,0.3);
    }

    .nav-links li {
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 1.5rem;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        font-size: 1.1rem;
    }

    .glass-panel {
        padding: 2rem;
    }
    .title {
        font-size: 3rem;
    }
}

/* =========================================
   Pricing Component Styles 
   ========================================= */
#pricing {
    padding-top: 100px;
    padding-bottom: 100px;
}

#pricing .pricing-wrapper {
    max-width: 1200px;
    width: 100%;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.pricing-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    position: relative;
    display: flex;
    flex-direction: column;
    border: 2px solid transparent;
    transition: transform 0.3s ease;
    color: #333;
}

.pricing-card:hover { transform: translateY(-5px); }
.pricing-card.highlight { border-color: #007bff; transform: scale(1.02); }
.pricing-card.highlight:hover { transform: scale(1.04); }

.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #007bff;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.card-title { font-size: 1.25rem; font-weight: 600; margin-bottom: 10px; }
.card-price { font-size: 1.8rem; font-weight: 700; margin-bottom: 5px; color: #111; }
.card-subtitle { font-size: 0.9rem; color: #666; margin-bottom: 25px; }

.features-list { list-style: none; flex-grow: 1; }
.features-list li { margin-bottom: 12px; padding-left: 25px; position: relative; font-size: 0.95rem; text-align: left; }
.features-list li::before {
    content: ''; position: absolute; left: 0; top: 6px; width: 10px; height: 10px;
    background-color: #2d6a2d; border-radius: 50%;
}

/* Calculator */
.calculator-section {
    background-color: #1a1a1a;
    color: #fff;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 60px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    text-align: left;
}

.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.calc-group { margin-bottom: 25px; }
.calc-label { display: block; margin-bottom: 10px; font-weight: 500; font-size: 1rem; }
.calc-slider { width: 100%; margin-top: 10px; accent-color: #00d2ff; }
.slider-value { font-weight: 600; color: #00d2ff; font-size: 1.1rem; }

select.calc-input {
    width: 100%; padding: 12px; border-radius: 8px; border: 1px solid #444;
    background-color: #2a2a2a; color: #fff; font-size: 1rem; margin-bottom: 15px; cursor: pointer;
}

.checkbox-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; text-align: left; }
.checkbox-item { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.checkbox-item input { width: 18px; height: 18px; accent-color: #00d2ff; cursor: pointer; }

.calc-result-box {
    background-color: #2a2a2a; padding: 30px; border-radius: 12px; text-align: center;
    display: flex; flex-direction: column; justify-content: center; border: 1px solid #333;
}
.result-title { font-size: 1.1rem; margin-bottom: 15px; color: #ccc; }
.result-price { font-size: 2.5rem; font-weight: 800; color: #00d2ff; margin-bottom: 15px; }
.result-note { font-size: 0.85rem; color: #888; font-style: italic; }

/* Rules */
.rules-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.rule-card {
    background-color: #fff; border: 1px solid #e0e0e0; border-radius: 10px; padding: 25px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02); transition: transform 0.2s ease; text-align: left;
    color: #333;
}
.rule-card:hover { transform: translateY(-3px); }
.rule-card h4 { font-size: 1.1rem; margin-bottom: 10px; color: #111; font-weight: 700; }
.rule-card p { font-size: 0.95rem; color: #555; line-height: 1.5; }

@media (max-width: 768px) {
    .calc-grid { grid-template-columns: 1fr; gap: 30px; }
    .checkbox-grid { grid-template-columns: 1fr; }
    .pricing-card.highlight { transform: scale(1); }
    .pricing-card.highlight:hover { transform: scale(1.02); }
}

/* =========================================
   Contact Links Styles 
   ========================================= */
.contact-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    padding: 1.8rem;
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    background: rgba(232, 228, 217, 0.05);
    min-width: 140px;
}

.contact-item i {
    font-size: 2.8rem;
    color: var(--accent-color);
    transition: transform 0.3s ease;
}

.contact-item:hover {
    background: rgba(232, 228, 217, 0.1);
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.contact-item:hover i {
    transform: scale(1.1);
}
