/* =========================================
   VARIABLES & RESET
========================================= */
:root {
    --primary: #FF5A1F; /* Dynamic Vibrant Orange */
    --primary-dark: #E04A15;
    --primary-glow: rgba(255, 90, 31, 0.15);
    --secondary: #0F172A; /* Deep slate blue */
    --secondary-light: #1E293B;
    --bg-color: #FAFAFA;
    --bg-alt: #F1F5F9;
    --text-main: #0F172A;
    --text-muted: #64748B;
    --white: #FFFFFF;
    
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.12);
    --shadow-hover: 0 30px 60px rgba(255, 90, 31, 0.15);
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 6rem 0;
}

.bg-light {
    background-color: var(--bg-alt);
}

/* =========================================
   TYPOGRAPHY & BUTTONS
========================================= */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.section-title span {
    color: var(--primary);
}

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

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 8px 20px var(--primary-glow);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 25px var(--primary-glow);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--secondary);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0,0,0,0.05);
}

.btn-secondary:hover {
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* =========================================
   NAVIGATION
========================================= */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition);
}

header.scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--shadow-sm);
    background: rgba(255, 255, 255, 0.95);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 5%;
    max-width: 1440px;
    margin: 0 auto;
}

.logo .brand-text {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--secondary);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links li a {
    font-weight: 500;
    color: var(--text-main);
    font-size: 1rem;
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 100%;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--primary);
}

.burger {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.burger div {
    width: 25px;
    height: 2px;
    background-color: var(--secondary);
    margin: 5px;
    transition: all 0.3s ease;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(-100%);
    transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1);
    z-index: 999;
}

.mobile-menu.active {
    transform: translateY(0);
}

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

.mobile-link {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary);
}

.mobile-link:hover {
    color: var(--primary);
}

/* =========================================
   HERO SECTION
========================================= */
.hero {
    min-height: 100vh;
    padding-top: 100px;
    display: flex;
    align-items: center;
    position: relative;
    overflow-x: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,90,31,0.08) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    z-index: -1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 4.5rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.reveal-text {
    display: block;
    overflow: hidden;
}

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

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    padding: 1rem 0 2rem 0;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.blob {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #FF7B47 0%, #FF5A1F 100%);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: blobMorph 10s infinite alternate;
    z-index: 1;
    opacity: 0.1;
    transform: scale(1.1);
}

@keyframes blobMorph {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    50% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
}

.hero-img {
    position: relative;
    z-index: 2;
    max-width: 80%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transform: perspective(1000px) rotateY(-15deg);
    transition: var(--transition);
}

.hero-img:hover {
    transform: perspective(1000px) rotateY(0deg) translateY(-10px);
}

.floating-badge {
    position: absolute;
    bottom: 20px;
    left: -20px;
    background: var(--white);
    padding: 1.25rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 3;
    animation: float 4s ease-in-out infinite;
}

.badge-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}

.badge-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--secondary);
    line-height: 1.2;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* =========================================
   ABOUT SECTION
========================================= */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.image-grid {
    position: relative;
    height: 500px;
}

.about-img {
    position: absolute;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.img-1 {
    width: 65%;
    top: 0;
    left: 0;
    z-index: 2;
}

.img-2 {
    width: 60%;
    bottom: 0;
    right: 0;
    z-index: 1;
    border: 10px solid var(--white);
}

.section-desc {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.stats-row {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
}

.stat-box {
    border-left: 3px solid var(--primary);
    padding-left: 1.5rem;
}

.stat-num {
    font-size: 2.5rem;
    color: var(--secondary);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* =========================================
   PRODUCTS SECTION
========================================= */
.product-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 3rem;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    top: 0;
    flex: 1 1 320px;
    max-width: 380px;
}

.product-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(255, 90, 31, 0.1);
}

.product-img-wrapper {
    height: 280px;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, #ffffff 0%, #f4f6f8 100%);
    overflow: hidden;
}

.product-img {
    max-height: 100%;
    object-fit: contain;
    transition: var(--transition);
    filter: drop-shadow(0 15px 15px rgba(0,0,0,0.1));
    mix-blend-mode: multiply;
}

.product-card:hover .product-img {
    transform: scale(1.08) rotate(2deg);
}

.product-info {
    padding: 2rem;
}

.product-name {
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.product-tag {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.product-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* =========================================
   CONTACT SECTION
========================================= */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.icon-wrapper {
    width: 50px;
    height: 50px;
    background: var(--bg-alt);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
    transition: var(--transition);
}

.info-item:hover .icon-wrapper {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

.info-text h4 {
    font-size: 1.125rem;
    color: var(--secondary);
    margin-bottom: 0.25rem;
}

.info-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--secondary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #E2E8F0;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--bg-alt);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background-color: var(--white);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.submit-btn {
    width: 100%;
    margin-top: 1rem;
}

/* =========================================
   FOOTER
========================================= */
.footer {
    background: var(--secondary);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 2rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: #94A3B8;
}

.footer-links p {
    color: #94A3B8;
    font-size: 0.875rem;
}

/* =========================================
   RESPONSIVE DESIGN
========================================= */
@media (max-width: 992px) {
    .hero-container,
    .about-container,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .image-grid {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .burger {
        display: block;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
    
    .stats-row {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .contact-form-wrapper {
        padding: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }
}
