:root {
    --primary: #005f73;
    --secondary: #0a9396;
    --accent: #ee9b00;
    --accent-hover: #bb7e00;
    --bg-dark: #001219;
    --card-bg: rgba(255, 255, 255, 0.05);
    --text: #e9ecef;
    --text-muted: #94d2bd;
    --white: #ffffff;
    --font-header: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    background: var(--bg-dark);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
header {
    background: rgba(0, 18, 25, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 800;
    font-family: var(--font-header);
    color: var(--secondary);
    text-decoration: none;
}

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

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.nav-link:hover, .nav-link.active {
    color: var(--white);
}

.toolbox-dropdown {
    position: relative;
}

.dropdown-trigger {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    color: var(--white);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    width: 250px;
    background: var(--bg-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    display: none;
    flex-direction: column;
    gap: 0.5rem;
}

.toolbox-dropdown:hover .dropdown-menu {
    display: flex;
}

.dropdown-item {
    padding: 0.75rem;
    border-radius: 0.5rem;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    transition: background 0.2s, color 0.2s;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--secondary);
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    text-align: center;
    background: radial-gradient(circle at top right, rgba(10, 147, 150, 0.2), transparent 40%),
                radial-gradient(circle at bottom left, rgba(0, 95, 115, 0.2), transparent 40%);
}

h1 {
    font-family: var(--font-header);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.text-gradient {
    background: linear-gradient(to right, #94d2bd, #0a9396, #005f73);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Calculator Card */
.calculator-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2rem;
    padding: 2.5rem;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.glass {
    backdrop-filter: blur(20px);
}

.input-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .input-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .input-group:first-child {
        grid-column: span 2;
    }
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
}

label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
}

input {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    padding: 0.875rem 1rem;
    color: var(--white);
    font-size: 1rem;
    transition: border-color 0.2s;
}

input:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(10, 147, 150, 0.2);
}

.btn-primary {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: var(--white);
    border: none;
    border-radius: 0.75rem;
    padding: 1.125rem;
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, filter 0.2s;
}

.btn-primary:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

.btn-primary:active {
    transform: translateY(0);
}

/* Results Section */
.results {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.result-header {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.result-value {
    font-family: var(--font-header);
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.result-subtext {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* Content Sections */
.content {
    padding: 4rem 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr 1fr;
    }
}

article h2 {
    font-family: var(--font-header);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--secondary);
}

article p {
    margin-bottom: 1.5rem;
    color: rgba(233, 236, 239, 0.8);
}

.step-list {
    list-style: none;
    counter-reset: steps;
}

.step-list li {
    counter-increment: steps;
    padding-left: 3rem;
    position: relative;
    margin-bottom: 1.5rem;
}

.step-list li::before {
    content: counter(steps);
    position: absolute;
    left: 0;
    top: 0;
    width: 2rem;
    height: 2rem;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.tip-box {
    background: rgba(238, 155, 0, 0.1);
    border-left: 4px solid var(--accent);
    padding: 1.5rem;
    border-radius: 0 1rem 1rem 0;
    display: flex;
    gap: 1rem;
}

.tip-icon {
    font-size: 1.5rem;
}

/* Lead Generation */
.lead-gen {
    padding: 4rem 0;
}

.lead-card {
    background: linear-gradient(135deg, rgba(238, 155, 0, 0.05), rgba(10, 147, 150, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2rem;
    padding: 3rem;
    text-align: center;
}

.lead-card h3 {
    font-family: var(--font-header);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.lead-card p {
    margin-bottom: 2rem;
    color: var(--text-muted);
}

.inline-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .inline-form {
        flex-direction: row;
    }
    .inline-form input {
        flex: 1;
    }
}

.btn-accent {
    background: var(--accent);
    color: var(--bg-dark);
    border: none;
    border-radius: 0.75rem;
    padding: 1.125rem 2rem;
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

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

.success-msg {
    margin-top: 1rem;
    color: var(--secondary);
    font-weight: 600;
}

/* Utils */
.hidden { display: none; }
.fade-in {
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Footer */
footer {
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 4rem;
    color: var(--text-muted);
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

@media (min-width: 640px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
}

.footer-links a:hover {
    color: var(--white);
}
