:root {
    --primary-bg: #020617;
    --text-color: #f9fafb;
    --text-muted: #94a3b8;
    --accent-blue: #3dd6f5; /* Logo Cyan */
    --accent-purple: #1e40af; /* Logo Deep Blue */
    --accent-emerald: #0891b2; /* Theme Blue-Green */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --safe-top: env(safe-area-inset-top, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--primary-bg);
    color: var(--text-color);
    font-family: var(--font-family);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography Helpers */
.gradient-text {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-weight: 800;
}

/* Navigation */
header {
    padding: 1.5rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(12px);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

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

.logo img {
    height: 50px;
    width: auto;
    display: block;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

nav ul li a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--text-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10%;
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-content {
    max-width: 600px;
}

.hero-content h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.cta-group {
    display: flex;
    gap: 1.5rem;
}

.btn {
    padding: 0.8rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn.primary {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    color: white;
}

.btn.primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(61, 214, 245, 0.2);
}

.btn.secondary {
    border: 1px solid var(--glass-border);
    color: var(--text-color);
}

.btn.secondary:hover {
    background: var(--glass-bg);
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.blob-gradient {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(61, 214, 245, 0.15), rgba(30, 64, 175, 0.15));
    filter: blur(80px);
    border-radius: 50%;
    animation: blobify 10s infinite alternate;
}

@keyframes blobify {
    0% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
    100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}

/* Product Detail Pages */
.hero-small {
    padding: 10rem 10% 4rem;
    text-align: center;
    background: linear-gradient(to bottom, rgba(30, 64, 175, 0.05), transparent);
}

.hero-small h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.product-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 4rem 10%;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
}

.product-details h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.detail-features {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.detail-features li {
    background: var(--glass-bg);
    padding: 1.2rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}

.platform-badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(61, 214, 245, 0.1);
    border: 1px solid rgba(61, 214, 245, 0.2);
    border-radius: 30px;
    color: var(--accent-blue);
    font-weight: 600;
    margin-top: 2rem;
}

.back-home {
    display: inline-block;
    margin-bottom: 2rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.back-home:hover {
    color: var(--accent-blue);
}

/* Product Cards */
.products {
    padding: 8rem 5%;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    position: relative;
    padding: 2rem;
    border-radius: 24px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    overflow: hidden;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
}

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

.card-image {
    width: 100%;
    height: 200px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 2rem;
    background: rgba(0, 0, 0, 0.2);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .card-image img {
    transform: scale(1.05);
}

.product-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--accent-blue);
    margin-bottom: 1.5rem;
}

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

.product-card p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.features {
    list-style: none;
    margin-bottom: 2rem;
}

.features li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.features li::before {
    content: '✓';
    color: var(--accent-emerald);
}

.learn-more {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.funnel-pro {
    border-top: 4px solid var(--accent-purple);
}

.veda-erp {
    border-top: 4px solid var(--accent-emerald);
}

/* About Section */
.about {
    padding: 10rem 5%;
    display: flex;
    justify-content: center;
}

.about-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 40px;
    padding: 5rem;
    max-width: 1000px;
    text-align: center;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(61, 214, 245, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.about-card h2 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    background: linear-gradient(to right, #fff, var(--accent-blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-card p {
    font-size: 1.5rem;
    line-height: 1.8;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto;
}

/* Contact Section */
.contact {
    padding: 8rem 5%;
    display: flex;
    justify-content: center;
}

.glass-form {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 4rem;
    border-radius: 32px;
    width: 100%;
    max-width: 600px;
    backdrop-filter: blur(20px);
}

.glass-form h2 {
    margin-bottom: 2rem;
    text-align: center;
}

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

input, textarea {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: white;
    font-family: inherit;
    transition: border-color 0.3s;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
}

/* Footer */
footer {
    padding: 4rem 5%;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
}

.footer-links a {
    color: var(--accent-blue);
    text-decoration: none;
    margin-left: 0.5rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.privacy-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.policy-item h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: white;
}

.policy-item p, .policy-item ul {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
}

.policy-item ul {
    list-style: disc;
    padding-left: 1.5rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    nav { padding: 1rem 5%; }
    
    .menu-toggle {
        display: block;
    }

    nav ul {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(2, 6, 23, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        border-left: 1px solid var(--glass-border);
    }

    nav ul.active {
        right: 0;
    }

    .hero { flex-direction: column; text-align: center; padding-top: calc(8rem + var(--safe-top)); }
    .cta-group { justify-content: center; flex-direction: column; gap: 1rem; }
    .btn { width: 100%; text-align: center; padding: 1.2rem; min-height: 48px; }
    .hero-visual { display: none; }

    /* Detail Pages */
    .hero-small { padding: calc(8rem + var(--safe-top)) 5% 3rem; }
    .hero-small h1 { font-size: 2.5rem; }
    .product-info-grid { grid-template-columns: 1fr; gap: 2rem; padding: 2rem 5%; }
    .product-details h2 { font-size: 1.8rem; }
    .detail-features { grid-template-columns: 1fr; }

    /* About Section */
    .about { padding: 5rem 5%; }
    .about-card { padding: 3rem 1.5rem; border-radius: 24px; }
    .about-card h2 { font-size: 2rem; }
    .about-card p { font-size: 1.1rem; }

    /* Contact Section */
    .glass-form { padding: 2rem; border-radius: 24px; }
    .glass-form h2 { font-size: 1.8rem; }

    /* Footer */
    footer { padding: 2rem 5%; }
}
