:root {
    --primary-indigo: #4F46E5;
    --primary-purple: #7C3AED;
    --primary-cyan: #06B6D4;
    --accent-pink: #F472B6;
    --accent-orange: #FB923C;
    --bg-dark-start: #0F172A;
    --bg-dark-end: #1E293B;
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-main: #F8FAFC;
    --text-muted: #94A3B8;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background: linear-gradient(135deg, var(--bg-dark-start), var(--bg-dark-end));
    background-attachment: fixed;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Subtle Particle Background Effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 15% 50%, rgba(79, 70, 229, 0.15) 0%, transparent 50%),
                      radial-gradient(circle at 85% 30%, rgba(6, 182, 212, 0.15) 0%, transparent 50%),
                      radial-gradient(circle at 50% 80%, rgba(124, 58, 237, 0.15) 0%, transparent 50%);
    z-index: -1;
    pointer-events: none;
    animation: pulseBg 15s infinite alternate;
}

@keyframes pulseBg {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--text-main);
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

/* Glassmorphism Utilities */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    font-family: var(--font-body);
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(90deg, var(--primary-indigo), var(--primary-cyan));
    color: #fff;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.6), 0 0 40px rgba(79, 70, 229, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--text-muted);
}

.btn-secondary:hover {
    background: var(--glass-bg);
    border-color: var(--text-main);
    transform: translateY(-2px);
}

.gradient-text {
    background: linear-gradient(90deg, var(--primary-cyan), var(--primary-purple), var(--accent-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: textGradient 5s linear infinite;
}

@keyframes textGradient {
    to { background-position: 200% center; }
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 1.5rem 0;
}

header.scrolled {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(15px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--glass-border);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

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

.nav-links a {
    position: relative;
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(90deg, var(--primary-cyan), var(--primary-purple));
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-icons {
    display: flex;
    gap: 1.5rem;
    font-size: 1.2rem;
}

.nav-icons i {
    cursor: pointer;
    transition: var(--transition);
}

.nav-icons i:hover {
    color: var(--primary-cyan);
    transform: scale(1.1);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    z-index: 2;
    padding-right: 2rem;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-visual {
    flex: 1;
    position: relative;
    height: 600px;
    z-index: 2;
}

.floating-mockup {
    position: absolute;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    animation: float 6s ease-in-out infinite;
    object-fit: cover;
}

.mockup-1 {
    width: 280px;
    height: 380px;
    top: 50px;
    right: 50px;
    z-index: 3;
    animation-delay: 0s;
}

.mockup-2 {
    width: 220px;
    height: 320px;
    top: 200px;
    left: 20px;
    z-index: 2;
    animation-delay: -2s;
}

.mockup-3 {
    width: 200px;
    height: 250px;
    bottom: 0;
    right: 150px;
    z-index: 4;
    animation-delay: -4s;
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

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

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

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

.section-header h2 {
    font-size: 2.5rem;
}

/* Feature Cards */
.feature-card {
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition);
}

.feature-card i {
    font-size: 3rem;
    color: var(--primary-cyan);
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-indigo));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(79, 70, 229, 0.2);
    border-color: rgba(6, 182, 212, 0.4);
}

/* Product Cards */
.product-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.product-img-wrapper {
    position: relative;
    overflow: hidden;
    padding-top: 100%; /* 1:1 Aspect Ratio */
}

.product-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(90deg, var(--accent-orange), var(--accent-pink));
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
    z-index: 2;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-info {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.product-price {
    font-weight: 700;
    color: var(--primary-cyan);
    font-size: 1.2rem;
}

.rating {
    color: #FBBF24;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Category Cards */
.category-card {
    position: relative;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    text-decoration: none;
}

.category-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    z-index: 0;
}

.category-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent);
    z-index: 1;
}

.category-card:hover .category-bg {
    transform: scale(1.1);
}

.category-content {
    position: relative;
    z-index: 2;
}

.category-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

/* Steps Section */
.step-card {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-indigo), var(--primary-cyan));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem auto;
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.4);
}

/* Footer */
footer {
    background: rgba(15, 23, 42, 0.95);
    border-top: 1px solid var(--glass-border);
    padding: 5rem 0 2rem 0;
    margin-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--primary-cyan);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-muted);
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--glass-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--primary-indigo);
    transform: translateY(-3px);
}

/* Forms & Inputs */
.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: white;
    font-family: var(--font-body);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-cyan);
    background: rgba(0,0,0,0.4);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Internal Pages specific */
.page-header {
    padding: 120px 0 60px 0;
    text-align: center;
}

.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 2rem;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--glass-bg);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
}

.legal-content h3 {
    margin-top: 2rem;
    color: var(--primary-cyan);
}

.legal-content ul {
    list-style: disc;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

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

/* Responsive */
@media (max-width: 992px) {
    .grid-4, .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
    }
    .hero-content {
        padding-right: 0;
        margin-bottom: 3rem;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-visual {
        width: 100%;
    }
    .product-detail-layout {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* simple mobile approach */
    }
    .grid-4, .grid-3 {
        grid-template-columns: 1fr;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}