@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* --- THEME TOKENS --- */
:root {
    --bg-main: #ffffff;
    --bg-surface: #f8fafc;
    --bg-card: #ffffff;
    --border: #e2e8f0;
    
    --color-primary: #00adb5;     /* Cyan / Teal */
    --color-primary-dark: #008891;
    --color-primary-light: #393e46;
    
    --text-primary: #222831;
    --text-secondary: #393e46;
    --text-muted: #94a3b8;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    
    --shadow-soft: 0 10px 30px rgba(0, 173, 181, 0.05);
    --shadow-hover: 0 20px 40px rgba(0, 173, 181, 0.1);
}

/* --- DARK MODE OVERRIDES --- */
[data-theme="dark"] {
    --bg-main: #0f172a;
    --bg-surface: #1e293b;
    --bg-card: #0f172a;
    --border: #334155;
    
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #64748b;
    
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.5);
}

/* --- RESET & BASIC STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

/* --- UTILITY CLASSES --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 95px 0;
}

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

.section-header {
    max-width: 750px;
    margin: 0 auto 50px;
}

.section-header span {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-primary);
    display: block;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-top: 12px;
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 30px;
    cursor: pointer;
    border: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 173, 181, 0.3);
}

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

.btn-outline:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-2px);
}

/* --- HEADER & NAVIGATION --- */
.header {
    width: 100%;
    z-index: 100;
    background: var(--bg-main);
    padding: 20px 0;
    position: relative;
    border-bottom: 1px solid var(--border);
    transition: background-color 0.3s ease;
}

.header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    box-shadow: var(--shadow-soft);
    animation: slideDown 0.4s ease-out;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-primary);
}

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

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

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
}

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

.call-support-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border: 1px solid var(--color-primary);
    border-radius: 30px;
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
}

/* --- THEME TOGGLE FLOATER --- */
.theme-toggle-container {
    position: absolute;
    top: 100px;
    right: 30px;
    z-index: 90;
}

.theme-btn {
    width: 44px;
    height: 44px;
    background-color: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    color: var(--text-primary);
}

.theme-btn:hover {
    transform: scale(1.1);
    border-color: var(--color-primary);
}

.theme-btn svg {
    width: 20px;
    height: 20px;
}

/* --- HERO OVERLAY --- */
.hero {
    background-size: cover;
    background-position: center;
    height: 75vh;
    display: flex;
    align-items: center;
    position: relative;
}

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

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 650px;
    color: white;
}

.hero-content span {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-primary);
    display: block;
    margin-bottom: 12px;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: white;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

/* --- 8-COLUMN FEATURES BAR --- */
.features-bar {
    background-color: var(--bg-surface);
    border-bottom: 1px solid var(--border);
    padding: 40px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 20px;
}

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

.feature-icon-wrapper {
    width: 44px;
    height: 44px;
    margin: 0 auto 12px;
    color: var(--color-primary);
}

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

.feature-item h5 {
    font-size: 0.85rem;
    font-weight: 700;
}

/* --- ABOUT SECTION --- */
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.about-img-box {
    height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}

.about-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.about-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-list-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.list-icon {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 4px;
}

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

.list-text h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

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

/* --- 12-ITEM PRODUCTS GRID --- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 280px;
    box-shadow: var(--shadow-soft);
    cursor: pointer;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(34,40,49,0.9) 0%, rgba(34,40,49,0.2) 100%);
    z-index: 2;
}

.product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card-body {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    z-index: 5;
    color: white;
}

.product-card h4 {
    font-size: 1.3rem;
    color: white;
    margin-bottom: 8px;
}

.product-card p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, margin-top 0.4s ease;
}

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

.product-card:hover p {
    max-height: 80px;
    margin-top: 6px;
}

/* --- TESTIMONIALS SLIDER --- */
.testimonials-section {
    background-color: var(--bg-surface);
}

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

.testimonial-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 35px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.testimonial-avatar {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 2px solid var(--color-primary);
}

.testimonial-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.testimonial-card h4 {
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.testimonial-card span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* --- STATS COUNTERS --- */
.stats-section {
    background: linear-gradient(135deg, #008891 0%, #00adb5 100%);
    padding: 60px 0;
    color: white;
}

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

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

.stat-value {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

/* --- WHY CHOOSE US --- */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.why-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 35px;
    display: flex;
    gap: 20px;
}

.why-icon-box {
    width: 44px;
    height: 44px;
    color: var(--color-primary);
    flex-shrink: 0;
}

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

.why-info h4 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.why-info p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* --- BRAND LOGOS WALL --- */
.brand-logos-wall {
    border-top: 1px solid var(--border);
    padding: 40px 0;
}

.brands-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.brand-item {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-muted);
}

/* --- DISCUSS CTA BANNER --- */
.discuss-section {
    background-color: #00adb5;
    padding: 70px 0;
    color: white;
    text-align: center;
}

.discuss-section h2 {
    font-size: 2.5rem;
    color: white;
    font-weight: 800;
    margin-bottom: 12px;
}

.discuss-section p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn-white {
    background-color: white;
    color: var(--color-primary);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* --- BLOGS GRID --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
}

.blog-img-wrapper {
    height: 210px;
    background-color: var(--border);
}

.blog-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-body {
    padding: 24px;
}

.blog-tag {
    background-color: rgba(0, 173, 181, 0.1);
    color: var(--color-primary);
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 30px;
    display: inline-block;
    margin-bottom: 12px;
}

.blog-body h4 {
    font-size: 1.15rem;
    line-height: 1.4;
    margin-bottom: 16px;
}

.blog-author-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* --- FOOTER --- */
.footer {
    background-color: #222831;
    color: #94a3b8;
    padding: 80px 0 40px;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 0.8fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col p {
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
    display: block;
}

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

.footer-contact-list {
    list-style: none;
}

.footer-contact-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-contact-list li svg {
    width: 18px;
    height: 18px;
    color: var(--color-primary);
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-btn {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.social-btn:hover {
    background-color: var(--color-primary);
}

.social-btn svg {
    width: 16px;
    height: 16px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

/* --- ANIMATIONS --- */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .why-grid {
        grid-template-columns: 1fr;
    }
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .nav-links {
        display: none;
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .products-grid {
        grid-template-columns: 1fr;
    }
    .blog-grid {
        grid-template-columns: 1fr;
    }
}
