/* ============================================
   Top Cell LLC - B2B Wholesale Website
   Professional, clean, trustworthy design
   ============================================ */

:root {
    --color-primary: #0f766e;
    --color-primary-dark: #0d5c56;
    --color-primary-light: #14b8a6;
    --color-accent: #f59e0b;
    --color-bg: #fafafa;
    --color-bg-dark: #0f172a;
    --color-text: #1e293b;
    --color-text-muted: #64748b;
    --color-white: #ffffff;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --radius: 8px;
    --radius-lg: 12px;
    --transition: 0.2s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

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

.logo {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 700;
    font-size: 1.35rem;
}

.logo-text { color: var(--color-primary); }
.logo-llc {
    color: var(--color-text-muted);
    font-weight: 500;
    font-size: 0.9em;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--transition);
}

.nav-menu a:hover {
    color: var(--color-primary);
}

.nav-cta {
    color: var(--color-primary) !important;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    background: rgba(15, 118, 110, 0.08);
}

.nav-cta:hover {
    background: rgba(15, 118, 110, 0.15);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-text);
    border-radius: 1px;
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 4rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--color-bg-dark) 0%, #1e293b 50%, #0f766e 100%);
    z-index: -1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--color-white);
    margin-bottom: 1.25rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.88);
    max-width: 560px;
    margin-bottom: 2rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius);
    transition: all var(--transition);
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: var(--color-primary-light);
    color: var(--color-bg-dark);
}

.btn-primary:hover {
    background: #2dd4bf;
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--color-white);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    border-color: var(--color-white);
    background: rgba(255, 255, 255, 0.1);
}

.btn-block {
    width: 100%;
}

.hero-trust {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

/* About */
.about {
    background: var(--color-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.about-content p {
    margin-bottom: 1rem;
    color: var(--color-text);
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stat {
    padding: 1.25rem;
    background: var(--color-bg);
    border-radius: var(--radius);
    border-left: 4px solid var(--color-primary);
}

.stat-number {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
}

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

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.service-card {
    padding: 1.75rem;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

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

/* Products */
.products {
    background: var(--color-bg);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.product-card {
    position: relative;
    padding: 2rem;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: transform var(--transition);
}

.product-card:hover {
    transform: translateY(-2px);
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    background: var(--color-primary);
    color: white;
    border-radius: 4px;
}

.product-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

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

/* Why Us */
.why-us {
    background: var(--color-bg-dark);
    color: var(--color-white);
}

.why-us .section-header h2,
.why-us .section-header p {
    color: var(--color-white);
}

.why-us .section-header p {
    opacity: 0.8;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.why-item {
    padding: 1.5rem;
}

.why-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-primary-light);
    opacity: 0.5;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.why-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.why-item p {
    font-size: 0.95rem;
    opacity: 0.85;
}

/* Contact */
.contact {
    padding: 5rem 0;
    background: var(--color-white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.contact-info > p {
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    text-decoration: none;
    color: inherit;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-bg);
}

.contact-item:hover {
    color: var(--color-primary);
}

.contact-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
}

.contact-value {
    font-weight: 500;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--color-bg);
    padding: 2rem;
    border-radius: var(--radius-lg);
}

.contact-form h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.form-message {
    padding: 1rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
}

.form-message.success {
    background: #d1fae5;
    color: #065f46;
}

.form-message.error {
    background: #fee2e2;
    color: #991b1b;
}

.form-honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

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

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.4rem;
    color: var(--color-text);
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Footer */
.footer {
    background: var(--color-bg-dark);
    color: var(--color-white);
    padding: 3rem 0;
}

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

.footer-brand {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.footer-brand .logo-text { color: var(--color-primary-light); }
.footer-brand .logo-llc { color: rgba(255,255,255,0.6); }

.footer-content > p {
    opacity: 0.85;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--color-primary-light);
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-address {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 1rem;
}

.footer-copy {
    font-size: 0.85rem;
    opacity: 0.6;
}

/* Responsive */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--color-white);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-trust {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 3rem 0;
    }

    .hero {
        padding: 6rem 0 3rem;
    }

    .hero h1 {
        font-size: 1.75rem;
    }
}
