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

/* Modern Design System - Textar Corporation (Light Mode with Tech Background) */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --accent-blue: #0284c7;
    --accent-purple: #7c3aed;
    --accent-blue-rgb: 2, 132, 199;
    --accent-purple-rgb: 124, 58, 237;
    --card-bg: rgba(255, 255, 255, 0.85);
    --card-border: rgba(15, 23, 42, 0.08);
    --nav-bg: #ffffff;
    
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --glow-shadow: 0 10px 30px rgba(2, 132, 199, 0.12);
}

/* Reset and Global Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-family: var(--font-sans);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
}

body {
    overflow-x: hidden;
    background-color: var(--bg-primary);
    /* Light tech grid & mesh background */
    background-image: 
        radial-gradient(at 0% 0%, rgba(2, 132, 199, 0.04) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(124, 58, 237, 0.04) 0px, transparent 50%),
        linear-gradient(to right, rgba(15, 23, 42, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(15, 23, 42, 0.02) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
    background-attachment: fixed;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}
::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
    border-radius: 4px;
    border: 2px solid var(--bg-secondary);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-blue);
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Typography styles */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Sticky Navigation Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--nav-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--card-border);
    transition: var(--transition-smooth);
}

.header-scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    border-radius: 4px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo-sub {
    font-size: 0.75rem;
    color: var(--text-secondary);
    display: block;
    font-weight: 400;
    letter-spacing: 2px;
    margin-top: -3px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
    transition: var(--transition-smooth);
}

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

.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--text-primary);
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: var(--transition-smooth);
    background-color: var(--text-primary);
}

/* Buttons styling */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
    color: #ffffff;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(124, 58, 237, 0.2);
}

.btn-secondary {
    background: rgba(15, 23, 42, 0.04);
    color: var(--text-primary);
    border: 1px solid var(--card-border);
}

.btn-secondary:hover {
    background: rgba(15, 23, 42, 0.08);
    border-color: var(--accent-blue);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 180px;
    padding-bottom: 120px;
    display: flex;
    align-items: center;
    min-height: 90vh;
    /* Clean white tech overlay on banner background */
    background-image: linear-gradient(rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.94)), url('../images/hero_tech_banner.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
    border-bottom: 1px solid var(--card-border);
}

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

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--accent-blue);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.hero-subtitle::after {
    content: '';
    display: inline-block;
    width: 50px;
    height: 2px;
    background: var(--accent-blue);
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    color: #0f172a;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

/* Glassmorphism Cards (Light Theme) */
.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 2.5rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.03);
}

.card:hover {
    transform: translateY(-8px);
    border-color: rgba(2, 132, 199, 0.3);
    box-shadow: 0 15px 35px -10px rgba(2, 132, 199, 0.12);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
    opacity: 0;
    transition: var(--transition-smooth);
}

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

.card-icon {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--accent-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 12px;
    background: rgba(2, 132, 199, 0.08);
}

.card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

/* Product list styles & Interactive filter */
.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(15, 23, 42, 0.03);
    border: 1px solid var(--card-border);
    color: var(--text-secondary);
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.filter-btn:hover, .filter-btn.active {
    background: rgba(2, 132, 199, 0.08);
    color: var(--accent-blue);
    border-color: var(--accent-blue);
}

.product-grid .card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-cat {
    align-self: flex-start;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent-purple);
    margin-bottom: 0.8rem;
    background: rgba(124, 58, 237, 0.08);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
}

.product-grid .btn-link {
    margin-top: auto;
    align-self: flex-start;
    color: var(--accent-blue);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.product-grid .btn-link:hover {
    color: var(--accent-purple);
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.4);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    backdrop-filter: blur(8px);
    transition: var(--transition-smooth);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: #ffffff;
    border: 1px solid var(--card-border);
    border-radius: 20px;
    width: 90%;
    max-width: 700px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 3rem;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.15);
    transform: scale(0.9);
    transition: var(--transition-smooth);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 1.8rem;
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-title {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-blue);
    padding-bottom: 0.5rem;
    color: var(--text-primary);
}

.modal-category {
    color: var(--accent-purple);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.modal-desc {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.modal-section-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.modal-features {
    list-style: none;
}

.modal-features li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1.8rem;
    color: var(--text-secondary);
}

.modal-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-blue);
    font-weight: bold;
}

.modal-features li b {
    color: var(--accent-blue);
    display: block;
    margin-bottom: 0.2rem;
}

/* Section Header standard styles */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem;
}

.section-subtitle {
    color: var(--accent-blue);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
    display: block;
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-primary);
}

/* Customer success styles & Wall of clients */
.search-container {
    max-width: 500px;
    margin: 0 auto 4rem;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 1rem 1.5rem 1rem 3.5rem;
    background: #ffffff;
    border: 1px solid var(--card-border);
    border-radius: 50px;
    color: var(--text-primary);
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.search-input:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 15px rgba(2, 132, 199, 0.1);
}

.search-icon {
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.customer-section {
    margin-bottom: 4rem;
}

.customer-cat-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    border-left: 4px solid var(--accent-blue);
    padding-left: 1rem;
}

.customer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.2rem;
}

.customer-tag {
    background: #ffffff;
    border: 1px solid var(--card-border);
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    font-weight: 500;
    transition: var(--transition-smooth);
    color: var(--text-secondary);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.01);
}

.customer-tag:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(2, 132, 199, 0.08);
}

/* Contact page styles */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

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

.contact-item {
    display: flex;
    gap: 1.5rem;
}

.contact-item-icon {
    font-size: 1.5rem;
    color: var(--accent-blue);
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(2, 132, 199, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item-details h4 {
    margin-bottom: 0.3rem;
    color: var(--text-primary);
}

.contact-item-details p {
    color: var(--text-secondary);
}

.contact-form {
    background: #ffffff;
    border: 1px solid var(--card-border);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

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

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

.form-control {
    width: 100%;
    padding: 0.8rem 1.2rem;
    background: #ffffff;
    border: 1px solid var(--card-border);
    border-radius: 8px;
    color: var(--text-primary);
    transition: var(--transition-smooth);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 10px rgba(2, 132, 199, 0.08);
}

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

/* Footer Section - Keep Dark Style for Premium SaaS feel */
.footer {
    background-color: #04060a;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 5rem 0 2rem;
    color: #94a3b8;
}

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

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.footer-about p {
    margin: 1rem 0 2rem;
    line-height: 1.7;
}

.footer-title {
    color: #f8fafc;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a:hover {
    color: var(--accent-blue);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
    color: #64748b;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .navbar {
        height: 70px;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #ffffff;
        width: 100%;
        height: calc(100vh - 70px);
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(15, 23, 42, 0.08);
        gap: 1.5rem;
        padding-top: 3rem;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: block;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section {
        padding: 4rem 0;
    }
}
