/* =============================================
   SteelFrameBuilds — Premium Design System v1.0
   ============================================= */

:root {
    --bg-dark: #080b12;
    --bg-darker: #050710;
    --bg-card: rgba(14, 18, 30, 0.75);
    --bg-card-hover: rgba(22, 28, 46, 0.85);
    --border-glass: rgba(255, 255, 255, 0.06);
    --border-glass-hover: rgba(58, 141, 255, 0.3);
    --accent-blue: #3a8dff;
    --accent-cyan: #00c8ff;
    --accent-orange: #ff6b35;
    --accent-blue-dim: rgba(58, 141, 255, 0.1);
    --accent-orange-dim: rgba(255, 107, 53, 0.1);
    --accent-gradient: linear-gradient(135deg, #3a8dff, #00c8ff);
    --accent-gradient-warm: linear-gradient(135deg, #ff6b35, #ffa726);
    --text-main: #eef1f8;
    --text-secondary: #bec5d6;
    --text-muted: #6d7590;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 24px;

    --transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-fast: all 0.2s ease;
    --shadow-glow: 0 0 40px rgba(58, 141, 255, 0.1);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-card-hover: 0 16px 48px rgba(0, 0, 0, 0.6);
}

/* =============================================
   Reset & Base
   ============================================= */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
    text-decoration: none;
}

/* =============================================
   Typography
   ============================================= */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 5vw, 3rem);
}

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

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

.section-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-blue);
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 640px;
}

/* =============================================
   Layout
   ============================================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 100px 0;
}

.bg-alt {
    background: rgba(4, 6, 12, 0.6);
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-2 { margin-bottom: 12px; }
.mb-3 { margin-bottom: 20px; }
.mb-4 { margin-bottom: 32px; }
.mt-4 { margin-top: 32px; }

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 992px) {
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .grid-4 { grid-template-columns: 1fr; }
}

/* =============================================
   Glass Card
   ============================================= */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition);
}

.glass-card:hover {
    border-color: var(--border-glass-hover);
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-6px);
}

/* =============================================
   Buttons
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 36px;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    letter-spacing: 0.01em;
}

.btn-primary {
    background: var(--accent-gradient);
    color: #000;
    box-shadow: 0 4px 20px rgba(58, 141, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(58, 141, 255, 0.45);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-glass);
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--accent-blue);
    background: var(--accent-blue-dim);
}

.btn-warm {
    background: var(--accent-gradient-warm);
    color: #000;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.3);
}

.btn-warm:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.45);
}

/* =============================================
   Navbar
   ============================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 18px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(8, 11, 18, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
    padding: 12px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: var(--transition);
}

.nav-logo img {
    height: 32px;
    width: auto;
    border-radius: 4px; /* Subtle rounding for the logo icon */
}

.logo-text {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--text-main) 30%, var(--accent-blue) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: var(--transition);
}

.nav-logo:hover .logo-text {
    opacity: 0.85;
}

#mainMenu {
    display: flex;
    gap: 32px;
    align-items: center;
}

#mainMenu a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition-fast);
    position: relative;
}

#mainMenu a:hover,
#mainMenu a.active {
    color: var(--text-main);
}

#mainMenu a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-gradient);
    border-radius: 2px;
}

.nav-cta {
    padding: 10px 24px !important;
    background: var(--accent-gradient);
    color: #000 !important;
    border-radius: var(--radius-md);
    font-weight: 600 !important;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(58, 141, 255, 0.35);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-main);
    border-radius: 2px;
    transition: var(--transition-fast);
}

@media (max-width: 768px) {
    .hamburger { display: flex; }
    #mainMenu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(8, 11, 18, 0.96);
        backdrop-filter: blur(20px);
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border-glass);
    }
    #mainMenu.open { display: flex; }
}

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(8, 11, 18, 0.92) 0%,
        rgba(8, 11, 18, 0.7) 50%,
        rgba(8, 11, 18, 0.4) 100%
    );
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-tag {
    display: inline-block;
    padding: 8px 18px;
    background: rgba(58, 141, 255, 0.08);
    border: 1px solid rgba(58, 141, 255, 0.2);
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent-blue);
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(2.6rem, 6vw, 4.2rem);
    font-weight: 900;
    line-height: 1.1;
    max-width: 680px;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 540px;
    margin-bottom: 36px;
    line-height: 1.7;
}

.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--border-glass);
}

.stat-item .stat-number {
    font-size: 2rem;
    font-weight: 900;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item .stat-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* =============================================
   Benefits Section (Why LGS)
   ============================================= */
.benefit-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.3s;
}

.benefit-card:hover {
    border-color: var(--border-glass-hover);
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
}

.benefit-card:hover::before {
    opacity: 1;
}

.benefit-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: var(--accent-blue-dim);
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border: 1px solid rgba(58, 141, 255, 0.12);
}

.benefit-icon svg {
    width: 26px;
    height: 26px;
}

.benefit-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.benefit-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* Orange variant */
.benefit-card.warm .benefit-icon {
    background: var(--accent-orange-dim);
    color: var(--accent-orange);
    border-color: rgba(255, 107, 53, 0.12);
}

.benefit-card.warm::before {
    background: var(--accent-gradient-warm);
}

/* =============================================
   Service Cards
   ============================================= */
.service-card-lg {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.service-card-lg:hover {
    border-color: var(--border-glass-hover);
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
}

.service-card-lg .card-img {
    height: 220px;
    overflow: hidden;
}

.service-card-lg .card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card-lg:hover .card-img img {
    transform: scale(1.08);
}

.service-card-lg .card-body {
    padding: 28px;
}

.service-card-lg h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.service-card-lg p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

.card-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-blue);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-fast);
}

.card-link:hover {
    gap: 12px;
}

/* =============================================
   Why Choose Us (Trust Grid)
   ============================================= */
.trust-item {
    padding: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
}

.trust-item:hover {
    border-color: var(--border-glass-hover);
    transform: translateY(-4px);
}

.trust-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    color: var(--accent-blue);
}

.trust-icon svg {
    width: 100%;
    height: 100%;
}

.trust-item h3 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.trust-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* =============================================
   Process Timeline
   ============================================= */
.timeline {
    position: relative;
    padding-left: 80px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 28px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--accent-gradient);
    opacity: 0.2;
}

.timeline-step {
    position: relative;
    padding: 28px 0;
}

.timeline-step .step-num {
    position: absolute;
    left: -80px;
    width: 56px;
    font-size: 1.6rem;
    font-weight: 900;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

.timeline-step h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.timeline-step p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* =============================================
   FAQ Accordion
   ============================================= */
.faq-item {
    cursor: pointer;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.faq-question h3 {
    font-size: 1.05rem;
    font-weight: 600;
}

.faq-icon {
    flex-shrink: 0;
    font-size: 1.3rem;
    color: var(--accent-blue);
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding-top: 16px;
}

.faq-answer p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* =============================================
   Product Grid (Frame Kits)
   ============================================= */
.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.product-card:hover {
    border-color: var(--border-glass-hover);
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
}

.product-card .product-img {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.product-card .product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 14px;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-badge.sale {
    background: var(--accent-gradient-warm);
    color: #000;
}

.product-badge.popular {
    background: var(--accent-gradient);
    color: #000;
}

.product-body {
    padding: 24px;
}

.product-category {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-blue);
    margin-bottom: 8px;
}

.product-body h3 {
    font-size: 1.05rem;
    margin-bottom: 12px;
    line-height: 1.3;
}

.product-price {
    font-size: 1.4rem;
    font-weight: 800;
}

.product-price .old-price {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 400;
    margin-right: 8px;
}

.product-actions {
    margin-top: 16px;
}

/* =============================================
   CTA Section
   ============================================= */
.cta-section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--border-glass);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(58, 141, 255, 0.07) 0%, transparent 70%);
    z-index: 0;
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

/* =============================================
   Form Controls
   ============================================= */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-control {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    padding: 13px 18px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-blue);
    background: rgba(58, 141, 255, 0.04);
    box-shadow: 0 0 0 3px rgba(58, 141, 255, 0.08);
}

.form-control option {
    background: var(--bg-dark);
    color: var(--text-main);
}

textarea.form-control {
    resize: vertical;
    min-height: 80px;
}

/* =============================================
   Footer
   ============================================= */
.site-footer {
    padding: 64px 0 32px;
    border-top: 1px solid var(--border-glass);
    background: var(--bg-darker);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

@media (max-width: 992px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-top: 16px;
    max-width: 320px;
}

.footer-col h4 {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-col ul li a:hover {
    color: var(--accent-blue);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--border-glass);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.82rem;
    margin: 0;
}

/* =============================================
   Animations
   ============================================= */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* =============================================
   Service Page Hero
   ============================================= */
.service-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
}

.service-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 20% 50%, rgba(58, 141, 255, 0.06) 0%, transparent 60%);
    z-index: 0;
}

.service-hero .container {
    position: relative;
    z-index: 2;
}

/* =============================================
   Image Wrapper
   ============================================= */
.image-wrapper {
    position: relative;
}

.glow-effect {
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--accent-blue);
    opacity: 0.06;
    border-radius: 50%;
    filter: blur(80px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.rounded-image {
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-glass);
    box-shadow: var(--shadow-card);
}

/* =============================================
   Responsive
   ============================================= */
@media (max-width: 768px) {
    section {
        padding: 72px 0;
    }
    h2 {
        font-size: clamp(1.6rem, 6vw, 2.4rem);
    }
    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }
    .stat-item {
        min-width: 80px;
    }
    .hero h1 {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    .hero-btns {
        flex-direction: column;
    }
    .hero-btns .btn {
        width: 100%;
        text-align: center;
    }
}
