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

:root {
    --color-primary: #0f172a;
    --color-primary-light: #1e293b;
    --color-primary-mid: #334155;
    --color-text: #1e293b;
    --color-text-light: #64748b;
    --color-bg: #f1f5f9;
    --color-bg-alt: #e9eff5;
    --color-border: #d5dde8;
    --color-surface: #ffffff;
    --color-accent: #3b82f6;
    --color-accent-light: #60a5fa;
    --gradient-accent: linear-gradient(135deg, #3b82f6, #06b6d4);
    --max-width: 1140px;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.05);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family:
        "Inter",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        "Helvetica Neue",
        Arial,
        sans-serif;
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.7;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}

main {
    flex: 1;
}

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

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color var(--transition);
    font-weight: 500;
}

a:hover {
    color: var(--color-accent-light);
}

/* Container */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Header */
.site-header {
    background: rgba(15, 23, 42, 0.95);
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
    background: rgba(15, 23, 42, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

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

.logo {
    color: #fff;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.3px;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.logo-img {
    height: 120px;
    width: auto;
}

.logo:hover {
    color: #fff;
    opacity: 0.85;
}

/* Navigation */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background var(--transition);
}

.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

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

.nav-links a {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    font-size: 0.925rem;
    padding: 0.5rem 1.1rem;
    border-radius: 8px;
    transition: all var(--transition);
    position: relative;
}

.nav-links a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.nav-links a.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

.nav-links a.active::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

/* Hero */
.hero {
    background: var(--color-primary);
    color: #fff;
    text-align: center;
    padding: 10rem 0 7rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(6, 182, 212, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.04) 0%, transparent 60%);
    animation: heroGlow 12s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes heroGlow {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-2%, 1%) scale(1.02); }
    100% { transform: translate(1%, -1%) scale(1); }
}

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

.hero-logo {
    max-width: 360px;
    height: auto;
    margin-bottom: 1.5rem;
    border-radius: 8px;
}

.hero-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: rgba(59, 130, 246, 0.15);
    color: var(--color-accent-light);
    padding: 0.45rem 1.2rem;
    border-radius: 100px;
    border: 1px solid rgba(59, 130, 246, 0.25);
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -1.5px;
    line-height: 1.1;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.hero p {
    font-size: 1.25rem;
    opacity: 0.65;
    margin-bottom: 3rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    letter-spacing: 0.01em;
}

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

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: #fff;
    color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: #f1f5f9;
    color: var(--color-primary);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.35);
}

.btn-dark {
    background: var(--color-primary);
    color: #fff;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.2);
}

.btn-dark:hover {
    background: var(--color-primary-light);
    color: #fff;
    box-shadow: 0 6px 24px rgba(15, 23, 42, 0.3);
}

.btn-accent {
    background: var(--gradient-accent);
    color: #fff;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
}

.btn-accent:hover {
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
    color: #fff;
}

/* Section Shared */
.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.2;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--color-text-light);
    font-size: 1.15rem;
    max-width: 560px;
    line-height: 1.7;
}

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

.section-header .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

/* Features */
.features {
    padding: 7rem 0;
    background: var(--color-bg);
    position: relative;
}

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

.feature-card {
    background: var(--color-surface);
    padding: 2.5rem;
    border-radius: var(--radius);
    text-align: left;
    border: 1px solid var(--color-border);
    transition: all var(--transition);
    position: relative;
}

.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: var(--radius) var(--radius) 0 0;
    opacity: 0;
    transition: opacity var(--transition);
}

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

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

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(6, 182, 212, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: var(--color-accent);
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-accent);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--color-primary);
}

.feature-card p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* CTA Section */
.cta-section {
    padding: 7rem 0;
    background: var(--color-primary);
    position: relative;
    overflow: hidden;
    text-align: center;
    color: #fff;
}

.cta-section::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(59, 130, 246, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 50%, rgba(6, 182, 212, 0.08) 0%, transparent 50%);
    pointer-events: none;
}


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

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.15rem;
    opacity: 0.6;
    max-width: 480px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

/* Page Header */
.page-header {
    background: var(--color-primary);
    color: #fff;
    padding: 8rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(6, 182, 212, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.04) 0%, transparent 60%);
    animation: heroGlow 12s ease-in-out infinite alternate;
    pointer-events: none;
}

.page-header h1 {
    font-size: 2.75rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    position: relative;
}

.page-header p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.15rem;
    margin-top: 1rem;
    position: relative;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

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

.content-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1rem;
    margin-top: 3rem;
    letter-spacing: -0.3px;
}

.content-section h2:first-child {
    margin-top: 0;
}

.content-section p {
    margin-bottom: 1rem;
    color: var(--color-text-light);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Team */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.team-member {
    text-align: center;
    padding: 2.5rem 1.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    transition: all var(--transition);
}

.team-member:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
    border-color: transparent;
}

.team-photo-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(6, 182, 212, 0.15));
    margin: 0 auto 1.25rem;
}

.team-member h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.team-member .role {
    font-size: 0.875rem;
    color: var(--color-accent);
    font-weight: 500;
}

/* Products */
.product-grid {
    display: grid;
    gap: 2rem;
}

.product-card {
    display: grid;
    grid-template-columns: 220px 1fr;
    background: var(--color-surface);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    transition: all var(--transition);
}

a.product-card {
    color: inherit;
    text-decoration: none;
}

.product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: transparent;
}

.product-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
}

.product-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(6, 182, 212, 0.05));
    padding: 2.5rem;
}

.product-icon img {
    width: 130px;
    height: 130px;
    object-fit: contain;
    border-radius: var(--radius);
}

.product-details {
    padding: 2.5rem;
}

.product-details h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.product-details p {
    color: var(--color-text-light);
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.7;
}

.product-tagline {
    font-weight: 600;
    color: var(--color-accent) !important;
    margin-bottom: 0.75rem !important;
}

.product-status {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-accent) !important;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(6, 182, 212, 0.08));
    border: 1px solid rgba(59, 130, 246, 0.2);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    margin-top: 0.5rem;
}

.product-status::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-accent);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.product-details .btn {
    font-size: 0.875rem;
    padding: 0.6rem 1.5rem;
}

/* Contact */
.contact-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--color-text);
}

.form-group input,
.form-group textarea {
    padding: 0.85rem 1.1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: inherit;
    transition: all var(--transition);
    background: var(--color-surface);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    background: #fff;
}

.contact-info {
    padding: 2.5rem;
    background: var(--color-bg-alt);
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
}

.contact-info h2 {
    margin-top: 0;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-primary);
}

.contact-info p {
    margin-bottom: 1rem;
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.contact-info p strong {
    color: var(--color-text);
}

/* Form Status Messages */
.form-status {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.form-success {
    background: rgba(34, 197, 94, 0.1);
    color: #166534;
    border: 1px solid rgba(34, 197, 94, 0.25);
}

.form-error {
    background: rgba(239, 68, 68, 0.1);
    color: #991b1b;
    border: 1px solid rgba(239, 68, 68, 0.25);
}

/* Footer */
.site-footer {
    background: var(--color-primary);
    color: rgba(255, 255, 255, 0.4);
    padding: 4rem 0 2rem;
    margin-top: auto;
    font-size: 0.875rem;
    position: relative;
}


.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 3rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 2rem;
}

.footer-brand p {
    max-width: 300px;
    line-height: 1.7;
    margin-top: 0.75rem;
}

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

.footer-links h4 {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.9rem;
    font-weight: 400;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: rgba(255, 255, 255, 0.9);
}

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

.footer-logo {
    height: 90px;
    width: auto;
    opacity: 0.7;
}

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

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

/* Mobile */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 0.75rem 1rem 1rem;
        gap: 0.125rem;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        display: block;
        padding: 0.75rem 1rem;
        font-size: 1rem;
        text-align: center;
    }

    .main-nav {
        position: static;
    }

    .site-header .container {
        height: 60px;
    }

    .logo-img {
        height: 80px;
    }

    .hero {
        padding: 6rem 0 4rem;
        min-height: auto;
    }

    .hero h1 {
        font-size: 2.25rem;
        letter-spacing: -0.5px;
    }

    .hero p {
        font-size: 1.05rem;
    }

    .hero-logo {
        max-width: 240px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .features {
        padding: 4rem 0;
    }

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

    .section-title {
        font-size: 1.85rem;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .product-card {
        grid-template-columns: 1fr;
    }

    .product-icon {
        padding: 2rem;
    }

    .product-status {
        font-size: 0.9rem;
        padding: 0.55rem 1.25rem;
        gap: 0.5rem;
    }

    .container {
        padding: 0 1.25rem;
    }

    .page-header {
        padding: 5.5rem 0 2.5rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .content-section {
        padding: 3rem 0;
    }

    .content-section h2 {
        margin-top: 2rem;
    }

    .cta-section {
        padding: 4rem 0;
    }

    .cta-section h2 {
        font-size: 1.85rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-links {
        gap: 2.5rem;
    }

    .footer-logo {
        height: 65px;
    }
}

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

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

    .hero p {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }

    .hero-badge {
        font-size: 0.7rem;
        padding: 0.35rem 1rem;
        margin-bottom: 1.5rem;
    }

    .logo-img {
        height: 65px;
    }

    .feature-grid {
        gap: 1rem;
    }

    .feature-card {
        padding: 1.75rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .cta-section h2 {
        font-size: 1.5rem;
    }

    .page-header h1 {
        font-size: 1.75rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer-logo {
        height: 55px;
    }
}
