:root {
    --primary: #5865f2;
    --primary-glow: rgba(88, 101, 242, 0.5);
    --secondary: #eb459e;
    --dark-bg: #0a0b10;
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-border: rgba(255, 255, 255, 0.1);
    --text-main: #ffffff;
    --text-muted: #a0a0b0;
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .logo-text {
    font-family: 'Outfit', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.text-center { text-align: center; }

/* Background Blobs */
.background-blobs {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    width: 600px;
    height: 600px;
    background: var(--primary);
    filter: blur(150px);
    opacity: 0.15;
    border-radius: 50%;
    animation: pulse 15s infinite alternate;
}

.blob-1 { top: -10%; left: -10%; background: var(--primary); }
.blob-2 { bottom: -10%; right: -10%; background: var(--secondary); animation-delay: -5s; }
.blob-3 { top: 40%; left: 30%; background: #43b581; opacity: 0.1; }

@keyframes pulse {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.2) translate(50px, 50px); }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 20px 0;
    background: rgba(10, 11, 16, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--card-border);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-icon {
    color: var(--primary);
    filter: drop-shadow(0 0 10px var(--primary-glow));
}

.logo-text span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

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

/* Buttons */
.btn-primary {
    background: var(--primary);
    padding: 10px 20px;
    border-radius: 8px;
    color: white !important;
}

.btn-cta {
    background: var(--gradient);
    color: white;
    padding: 15px 30px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(88, 101, 242, 0.3);
}

.btn-secondary {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text-main);
    padding: 15px 30px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 25px;
}

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

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Glass Cards */
.glass {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--card-border);
    border-radius: 20px;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.service-card {
    padding: 40px;
    text-align: left;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary);
}

/* Calculator */
.calculator-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 0;
    overflow: hidden;
    margin-top: 50px;
}

.calculator-services {
    padding: 40px;
}

.calculator-summary {
    background: rgba(255, 255, 255, 0.03);
    padding: 40px;
    border-left: 1px solid var(--card-border);
}

.calc-item {
    margin-bottom: 15px;
}

.custom-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    padding: 15px;
    border-radius: 12px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.custom-checkbox:hover {
    background: rgba(255, 255, 255, 0.05);
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: relative;
    height: 24px;
    width: 24px;
    background-color: var(--card-bg);
    border: 2px solid var(--card-border);
    border-radius: 6px;
    margin-right: 20px;
    transition: var(--transition);
}

.custom-checkbox input:checked ~ .checkmark {
    background-color: var(--primary);
    border-color: var(--primary);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.custom-checkbox input:checked ~ .checkmark:after {
    display: block;
}

.custom-checkbox .checkmark:after {
    left: 8px;
    top: 4px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.item-info {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}

.item-title {
    font-weight: 500;
}

.item-price {
    font-family: 'Outfit', sans-serif;
    color: var(--primary);
    font-weight: 600;
}

.divider {
    height: 1px;
    background: var(--card-border);
    margin: 25px 0;
}

.calculator-summary h3 {
    margin-bottom: 25px;
    font-size: 1.5rem;
}

#selected-items-list {
    list-style: none;
    margin-bottom: 30px;
    min-height: 150px;
}

#selected-items-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 0.9rem;
    animation: slideIn 0.3s ease-out;
}

.empty-msg {
    color: var(--text-muted);
    font-style: italic;
    text-align: center;
    margin-top: 50px;
}

.total-box {
    background: var(--gradient);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 20px;
}

.total-box span:first-child {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

#total-price {
    font-size: 2rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
}

/* Animations */
.fade-in { animation: fadeIn 0.8s ease-out forwards; opacity: 0; }
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

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

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

/* Responsive */
@media (max-width: 992px) {
    .calculator-wrapper {
        grid-template-columns: 1fr;
    }
    .calculator-summary {
        border-left: none;
        border-top: 1px solid var(--card-border);
    }
    .hero h1 { font-size: 3rem; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 2.5rem; }
    .section { padding: 60px 0; }
}

/* Utils */
.w-full { width: 100%; }
.mt-2 { margin-top: 20px; }

/* Download PDF Button */
.btn-download {
    background: linear-gradient(135deg, #e53935, #c62828);
    color: white;
    padding: 15px 30px;
    border-radius: 12px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.btn-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(229, 57, 53, 0.35);
}

.btn-download:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}
