:root {
    --primary-color: #2D3142;
    --secondary-color: #BFC0C0;
    --accent-color: #4CC9F0;
    --accent-strong: #3db8db;
    --accent-soft: #ccecf7;
    --text-light: #f8f9fa;
    --text-dark: #050505;
    --bg-light: #ffffff;
    --bg-muted: #f2f5f8;
    --steel-gradient: linear-gradient(135deg, #2D3142 0%, #1a202c 100%);
    --transition: all 0.3s ease;
}

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

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand {
    font-family: 'Sora', sans-serif;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-up {
    animation: fadeInUp 0.8s ease-out forwards;
}


/* Navbar */
.navbar {
    background: rgba(45, 49, 66, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar.navbar-scrolled {
    padding: 0.65rem 0;
    background: rgba(45, 49, 66, 0.98);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-light) !important;
    letter-spacing: 1px;
}

.navbar-brand span {
    color: var(--accent-color);
}

.nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    margin: 0 10px;
    position: relative;
}

.nav-link.active {
    color: #ffffff !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--steel-gradient);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}



/* Industrial Grid Pattern Overlay */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 1;
}


.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-metrics {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.metric-chip {
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 10px;
    padding: 10px 14px;
    min-width: 140px;
    background: rgba(255, 255, 255, 0.06);
}

.metric-value {
    display: block;
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
}

.metric-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
}

.hero-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-primary-custom {
    background-color: var(--accent-color);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    color: white;
    border-radius: 5px;
    transition: var(--transition);
}

.btn-primary-custom:hover {
    background-color: var(--accent-strong);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 201, 240, 0.4);
}

/* Disclaimer Button - Link Style */
.btn-link-disclaimer {
    background: none;
    border: none;
    color: var(--accent-color);
    padding: 10px 0 0 0;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.btn-link-disclaimer:hover {
    color: var(--accent-strong);
    text-decoration: underline;
}

/* Section Styling */
section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-weight: 700;
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Product Cards */
.product-card {
    background: var(--bg-light);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 12px 26px rgba(16, 24, 40, 0.08);
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    justify-content: center;
}


.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px rgba(16, 24, 40, 0.15);
}

.product-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

/* Grades Table */
.grades-container {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 50px;
    border-radius: 20px;
}

.inquiry-form {
    border: 1px solid rgba(27, 38, 53, 0.08);
}

.quick-contact {
    margin-top: 24px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.quick-contact-btn {
    text-decoration: none;
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 12px 24px;
    font-weight: 700;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.quick-contact-btn i {
    font-size: 1.2rem;
}

/* WhatsApp Style */
.quick-contact-btn[href*="wa.me"] {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.quick-contact-btn[href*="wa.me"]:hover {
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    transform: translateY(-5px) scale(1.05);
}

/* Call Style */
.quick-contact-btn[href*="tel:"] {
    background: linear-gradient(135deg, #4CC9F0 0%, #3db8db 100%);
}

.quick-contact-btn[href*="tel:"]:hover {
    box-shadow: 0 8px 25px rgba(76, 201, 240, 0.4);
    transform: translateY(-5px) scale(1.05);
}

/* Email Style */
.quick-contact-btn[href*="mailto:"] {
    background: linear-gradient(135deg, #2D3142 0%, #485460 100%);
}

.quick-contact-btn[href*="mailto:"]:hover {
    box-shadow: 0 8px 25px rgba(45, 49, 66, 0.4);
    transform: translateY(-5px) scale(1.05);
}

.quick-contact-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%) rotate(45deg) translateY(100%);
    transition: all 0.6s ease;
}

.quick-contact-btn:hover::after {
    transform: translate(-50%, -50%) rotate(45deg) translateY(-100%);
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--accent-color);
    color: #fff;
    display: grid;
    place-items: center;
    box-shadow: 0 10px 22px rgba(76, 201, 240, 0.35);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 1100;
}

.back-to-top.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.table-custom {
    color: var(--text-light);
}

.table-custom th {
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--accent-color);
}

.table-custom td {
    border-color: rgba(255, 255, 255, 0.05);
}

/* Contact Section */
.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: rgba(76, 201, 240, 0.1);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1.2rem;
}

footer {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 50px 0 20px;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
}

/* Calculator Page Styles */
.calculator-page {
    background-color: var(--bg-muted);
}

.calculator-hero {
    background: var(--steel-gradient);
    color: var(--text-light);
    padding: 180px 0 80px;
    position: relative;
    overflow: hidden;
}

.calculator-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
}

.calculator-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.calculator-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.calculator-hero p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.calculator-section {
    padding: 60px 0;
    min-height: calc(100vh - 300px);
}

.calculator-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .calculator-grid {
        grid-template-columns: 1fr;
    }
    .calculator-hero h1 {
        font-size: 2rem;
    }
}

.calculator-card {
    background: var(--bg-light);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.calculator-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.calculator-form .form-group {
    margin-bottom: 20px;
}

.calculator-form label {
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
    color: var(--text-dark);
}

.calculator-form .form-control,
.calculator-form .form-select {
    padding: 12px 15px;
    border-radius: 8px;
    border: 2px solid #e9ecef;
    font-size: 1rem;
    transition: var(--transition);
}

.calculator-form .form-control:focus,
.calculator-form .form-select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(76, 201, 240, 0.16);
}

.calculator-form .input-group .form-select {
    border-radius: 0 8px 8px 0;
}

.calculator-form .input-group .form-control {
    border-radius: 8px 0 0 8px;
}

.result-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-light);
}

.result-card h2 {
    color: var(--text-light);
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.result-item:last-of-type {
    border-bottom: none;
}

.result-item span {
    color: rgba(255, 255, 255, 0.7);
}

.result-item strong {
    font-size: 1.25rem;
    color: var(--accent-color);
    transition: transform 0.2s ease;
}

.result-item strong.flash {
    transform: scale(1.05);
}

.result-note {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.result-note i {
    color: var(--accent-color);
    margin-top: 2px;
}

.calculator-help {
    background: var(--primary-color);
    border-radius: 15px;
    padding: 40px;
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.calculator-help h3 {
    color: var(--text-light);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.calculator-help p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

.calculator-help .btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--text-light);
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 5px;
    transition: var(--transition);
    text-decoration: none;
}

.calculator-help .btn-outline-light:hover {
    background: var(--text-light);
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .calculator-help {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .hero {
        min-height: 85vh;
        height: auto;
        padding-top: 120px;
        padding-bottom: 80px;
    }

    .hero-metrics {
        width: 100%;
    }

    .metric-chip {
        flex: 1 1 calc(50% - 8px);
    }

    .quick-contact {
        justify-content: center;
    }
}
