/* Custom Properties */
:root {
    /* Colors - Light Theme */
    --bg-base: #f8fafc;
    --bg-alt: #ffffff;
    --text-main: #0f172a;
    --text-muted: #475569;
    --primary: #2563eb;
    /* Blue */
    --primary-hover: #1d4ed8;
    --accent: #0284c7;
    /* Sky */
    --accent-glow: rgba(2, 132, 199, 0.2);
    --surface: rgba(255, 255, 255, 0.85);
    --surface-border: rgba(226, 232, 240, 1);
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Layout */
    --max-width: 1200px;
}

/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-base);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* Noise overlay */
#noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.03;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
    position: relative;
    z-index: 1;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Glassmorphism */
.glass-effect {
    background: var(--surface);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--surface-border);
    border-radius: 20px;
    box-shadow: var(--card-shadow);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    border-radius: 12px;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
}

.btn-secondary {
    background: white;
    color: var(--text-main);
    border: 1px solid #cbd5e1;
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: var(--card-shadow);
}

.btn-outline {
    background: transparent;
    border: 1px solid #cbd5e1;
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(37, 99, 235, 0.05);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-icon {
    padding: 0.75rem;
    border-radius: 50%;
    font-size: 1.25rem;
}

.btn-block {
    width: 100%;
    padding: 1rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 3rem);
    max-width: var(--max-width);
    z-index: 100;
    padding: 1rem 2rem;
    border-radius: 100px;
    transition: all 0.3s ease;
    background: var(--surface);
    backdrop-filter: blur(20px);
    border: 1px solid var(--surface-border);
    box-shadow: var(--card-shadow);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--text-main);
}

.logo i {
    font-size: 1.6rem;
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-muted);
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-main);
}

.nav-links a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 1.8rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 6rem;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 70vw;
    height: 70vw;
    max-width: 800px;
    max-height: 800px;
    background: radial-gradient(circle, var(--accent-glow) 0%, rgba(255, 255, 255, 0) 70%);
    filter: blur(80px);
    z-index: 0;
    animation: pulse 10s ease-in-out infinite alternate;
}

@keyframes pulse {
    0% {
        transform: scale(1) translate(0, 0);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1) translate(30px, -30px);
        opacity: 0.8;
    }

    100% {
        transform: scale(1) translate(-30px, 30px);
        opacity: 0.4;
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    z-index: 1;
}

.hero-text {
    max-width: 650px;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.2);
    color: var(--primary);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 5vw, 4.5rem);
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Abstract Hardware Animation */
.abstract-hardware {
    position: relative;
    width: 350px;
    height: 350px;
    transform-style: preserve-3d;
    animation: spin3D 25s linear infinite;
}

.ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    box-sizing: border-box;
}

.outer {
    width: 100%;
    height: 100%;
    border: 2px dashed rgba(37, 99, 235, 0.4);
    animation: spinRotate 20s linear infinite reverse;
}

.inner {
    width: 70%;
    height: 70%;
    border: 3px solid rgba(2, 132, 199, 0.3);
    animation: spinRotate 15s linear infinite;
}

.core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 35%;
    height: 35%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 30px;
    box-shadow: 0 15px 35px var(--accent-glow);
}

.floating-element {
    position: absolute;
    width: 65px;
    height: 65px;
    background: white;
    border: 1px solid var(--surface-border);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    box-shadow: var(--card-shadow);
}

.b1 {
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    animation: float 4s ease-in-out infinite;
}

.b2 {
    bottom: 20px;
    left: -20px;
    animation: float 5s ease-in-out infinite 1s;
}

.b3 {
    bottom: 20px;
    right: -20px;
    animation: float 4.5s ease-in-out infinite 2s;
}

@keyframes spin3D {
    0% {
        transform: rotateY(0deg) rotateX(15deg);
    }

    100% {
        transform: rotateY(360deg) rotateX(15deg);
    }
}

@keyframes spinRotate {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.product-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: white;
    border: 1px solid var(--surface-border);
    border-radius: 20px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.product-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
}

.product-image {
    padding: 4rem 2rem;
    background: var(--bg-base);
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid var(--surface-border);
}

.img-placeholder {
    width: 90px;
    height: 90px;
    background: white;
    border-radius: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    color: var(--primary);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.1);
    transition: all 0.4s ease;
}

.product-card:hover .img-placeholder {
    transform: scale(1.15) rotate(5deg);
    color: var(--accent);
    box-shadow: 0 15px 35px var(--accent-glow);
}

.product-info {
    padding: 2.5rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-info h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: var(--text-main);
}

.product-info p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--surface-border);
}

.price {
    font-weight: 700;
    font-size: 0.95rem;
    font-family: var(--font-heading);
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Features Section */
.glass-banner {
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.03), rgba(2, 132, 199, 0.03));
    border-top: 1px solid rgba(37, 99, 235, 0.1);
    border-bottom: 1px solid rgba(37, 99, 235, 0.1);
    padding: 6rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    text-align: center;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: translateY(-8px);
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.3);
}

.feature-item h4 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: var(--text-main);
}

.feature-item p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 300px;
}

/* About Section */
.about-section {
    padding: 8rem 0;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-visual {
    height: 550px;
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    background: linear-gradient(135deg, #e0e7ff, #e0f2fe);
    display: flex;
    justify-content: center;
    align-items: center;
}

.abstract-shape {
    font-size: 12rem;
    color: white;
    opacity: 0.9;
    filter: drop-shadow(0 20px 40px rgba(37, 99, 235, 0.15));
}

.stats-card {
    position: absolute;
    bottom: -20px;
    right: -20px;
    padding: 2.5rem;
    border-radius: 24px;
    text-align: center;
    background: white;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

.about-content h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.about-content p {
    color: var(--text-muted);
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.check-list {
    margin-top: 2.5rem;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
    font-weight: 600;
    color: var(--text-main);
    font-size: 1.1rem;
}

.check-list i {
    color: var(--accent);
    font-size: 1.5rem;
}

/* Custom Contact Section */
.contact-section {
    padding-bottom: 8rem;
}

.container-contact {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    overflow: hidden;
    padding: 0;
    background: white;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.06);
}

.contact-info {
    padding: 5rem 4rem;
    background: var(--bg-alt);
    border-right: 1px solid var(--surface-border);
}

.contact-info h2 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.contact-info>p {
    color: var(--text-muted);
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 3rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.contact-item i {
    font-size: 1.8rem;
    color: var(--primary);
    background: var(--bg-base);
    padding: 1.2rem;
    border-radius: 16px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.contact-item h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 0.35rem;
    color: var(--text-main);
}

.contact-item p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.5;
}

.contact-form-container {
    padding: 5rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: white;
}

.creative-form {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.form-group label {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-main);
    margin-left: 0.25rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1.2rem 1.4rem;
    border-radius: 14px;
    border: 2px solid #e2e8f0;
    background: #f8fafc;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-main);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* Footer */
footer {
    background: #0f172a;
    color: white;
    padding: 6rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 5rem;
    margin-bottom: 5rem;
}

.footer-brand .logo {
    color: white;
}

.footer-brand p {
    color: #94a3b8;
    margin: 1.5rem 0 2rem;
    max-width: 350px;
    line-height: 1.7;
    font-size: 1.05rem;
}

.social-links {
    display: flex;
    gap: 1.2rem;
}

.social-links a {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.35rem;
    transition: all 0.3s ease;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.link-col h4 {
    font-family: var(--font-heading);
    margin-bottom: 1.8rem;
    font-size: 1.2rem;
    color: white;
}

.link-col a {
    display: block;
    color: #94a3b8;
    margin-bottom: 1.2rem;
    font-size: 1rem;
    font-weight: 500;
}

.link-col a:hover {
    color: var(--accent);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .container-contact {
        grid-template-columns: 1fr;
    }

    .contact-info {
        border-right: none;
        border-bottom: 1px solid var(--surface-border);
    }
}

@media (max-width: 900px) {

    .hero-content,
    .about-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        margin: 0 auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .about-visual {
        order: -1;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .stats-card {
        right: 20px;
        bottom: 20px;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .navbar .btn {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .contact-info,
    .contact-form-container {
        padding: 3rem 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}