:root {
    --bg-dark: #090d16;
    --bg-card: #111827;
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --teal-accent: #14b8a6;
    --teal-glow: #0d9488;
    --moon-cyan: #06b6d4;
    --border-color: rgba(20, 184, 166, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 15% 15%, rgba(6, 182, 212, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 85% 65%, rgba(20, 184, 166, 0.06) 0%, transparent 40%);
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 8%;
    background: rgba(9, 13, 22, 0.85);
    backdrop-filter: blur(12px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-moon {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    box-shadow: -3px 2px 0 1px var(--teal-accent);
    display: inline-block;
}

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

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
    font-weight: bold;
}

.nav-links a:hover {
    color: var(--teal-accent);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 8rem 2rem 4rem 2rem;
    position: relative;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 30%, var(--teal-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--teal-accent), var(--teal-glow));
    color: #000;
    font-weight: 600;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 0 20px rgba(20, 184, 166, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(20, 184, 166, 0.5);
}

/* Common Section Styles */
section {
    padding: 6rem 8%;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.2rem;
    color: var(--text-main);
}

.section-title p {
    color: var(--teal-accent);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Services Grid */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s, border-color 0.3s;
}

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

.card-icon {
    font-size: 2rem;
    color: var(--teal-accent);
    margin-bottom: 1.5rem;
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

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

/* Products Grid (Image + Content) */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.5rem;
}

.product-card {
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    transition: transform 0.3s, border-color 0.3s;
    max-width: 10in;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--teal-accent);
}

.product-image {
    max-width: 7in;
    width: 100%;
    background-color: #1f2937;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#products{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-image{
    background-color: var(--bg-dark);
}

.product-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--teal-accent);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.product-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: var(--text-main);
}

.product-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.product-link {
    color: var(--teal-accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s;
}

.product-link:hover {
    gap: 10px;
}

/* Footer / Contact */
footer {
    padding: 4rem 8% 2rem 8%;
    border-top: 1px solid var(--border-color);
    text-align: center;
    background: rgba(9, 13, 22, 0.5);
}

.contact-box {
    max-width: 500px;
    margin: 0 auto 3rem auto;

    h4{
        color: var(--text-muted);
    }

    a {
        color: var(--teal-accent);
        font-weight: bold;
    }
}

.contact-box h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.4rem; }
    .nav-links { display: none; }
    .products-grid { grid-template-columns: 1fr; }
}


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

}
