/* Custom Properties & Reset */
:root {
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --secondary: #0f172a;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --bg-main: #ffffff;
    --bg-light: #f8fafc;
    --border-color: #e2e8f0;
    
    --gradient-1: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    --gradient-2: linear-gradient(135deg, #3b82f6 0%, #2dd4bf 100%);
    --gradient-3: linear-gradient(135deg, #f43f5e 0%, #f97316 100%);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-hover: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

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

html {
    scroll-behavior: smooth;
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
}

body {
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none; /* Hide default cursor for custom one */
}

/* Custom Cursor */
.cursor-dot, .cursor-outline {
    position: fixed;
    top: 0; left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}
.cursor-dot {
    width: 8px; height: 8px;
    background-color: var(--primary);
}
.cursor-outline {
    width: 40px; height: 40px;
    border: 2px solid var(--primary-hover);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

a, button {
    cursor: none; /* Ensure pointers don't show when custom cursor is active */
}

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

ul {
    list-style: none;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--secondary);
    line-height: 1.2;
    font-weight: 700;
}

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

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.125rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #6366f1 100%);
    background-size: 200% auto;
    color: white;
    box-shadow: 0 4px 14px 0 rgba(99, 102, 241, 0.39);
}

.btn-primary:hover {
    background-position: right center;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.6);
}

.btn-secondary {
    background: var(--bg-main);
    color: var(--text-main);
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    border: 2px solid var(--border-color);
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--secondary);
    color: var(--secondary);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.navbar.scrolled {
    padding: 15px 0;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--border-color);
}

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

.logo {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--secondary);
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-muted);
}

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

/* Hero Section */
.hero {
    position: relative;
    padding-top: 180px;
    padding-bottom: 120px;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

@keyframes blob-float {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
    100% { transform: translate(0, 0) scale(1); }
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.blob-1 {
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: var(--primary);
    animation: blob-float 10s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

.blob-2 {
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: #a855f7;
    animation: blob-float 12s infinite alternate-reverse cubic-bezier(0.4, 0, 0.2, 1);
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 4.5rem;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.about-card {
    background: var(--bg-main);
    padding: 40px 32px;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.about-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
    border-color: transparent;
}

.icon-box {
    width: 64px;
    height: 64px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 24px;
    transition: transform 0.3s ease;
}

.about-card:hover .icon-box {
    transform: scale(1.15) rotate(5deg);
    background: var(--primary);
    color: white;
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.about-card p {
    color: var(--text-muted);
}

/* Products Carousel */
.carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.carousel-track-wrapper {
    overflow: hidden;
    width: 100%;
    padding: 20px 0;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 32px;
}

.carousel-btn {
    background: white;
    border: 1px solid var(--border-color);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--secondary);
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    flex-shrink: 0;
    z-index: 10;
}

.carousel-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.carousel-btn.prev { margin-right: -24px; }
.carousel-btn.next { margin-left: -24px; }

.product-card {
    background: var(--bg-main);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    flex: 0 0 calc(33.333% - 22px);
    display: flex;
    flex-direction: column;
    min-width: 280px;
    transition: var(--transition);
}

.product-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

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

.product-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-category {
    font-size: 0.875rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 8px;
}

.product-content h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

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

.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 20px;
}

.btn-buy {
    width: 100%;
    font-size: 0.9rem;
    padding: 10px 0;
}

/* Stats Section */
.stats {
    background: var(--secondary);
    color: white;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.stat-number {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 8px;
}

.stat-item p {
    color: #94a3b8;
    font-size: 1.125rem;
    font-weight: 500;
}

/* Why Us Section */
.why-us-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.why-text h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.why-text > p {
    color: var(--text-muted);
    font-size: 1.125rem;
    margin-bottom: 40px;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.feature-list li {
    display: flex;
    gap: 16px;
}

.feature-list ion-icon {
    font-size: 28px;
    color: var(--primary);
    flex-shrink: 0;
}

@keyframes float-icon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.feature-list li:nth-child(1) ion-icon { animation: float-icon 3s ease-in-out infinite 0.1s; }
.feature-list li:nth-child(2) ion-icon { animation: float-icon 3s ease-in-out infinite 0.3s; }
.feature-list li:nth-child(3) ion-icon { animation: float-icon 3s ease-in-out infinite 0.5s; }

.feature-list h4 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.feature-list p {
    color: var(--text-muted);
}

.glass-panel {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 32px;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.glass-panel::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    background: var(--gradient-2);
    border-radius: 50%;
    filter: blur(40px);
    z-index: -1;
    opacity: 0.6;
}

.glass-panel::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 200px;
    height: 200px;
    background: var(--gradient-1);
    border-radius: 50%;
    filter: blur(50px);
    z-index: -1;
    opacity: 0.5;
}

.mock-ui {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.mock-header {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.mock-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-light);
}

.mock-lines {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    flex: 1;
}

.mock-line {
    height: 12px;
    background: var(--bg-light);
    border-radius: 6px;
}

.mock-line.short {
    width: 60%;
}

.mock-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.mock-box {
    height: 60px;
    background: var(--bg-light);
    border-radius: 12px;
}

.mock-button {
    height: 48px;
    background: var(--primary);
    border-radius: 24px;
    opacity: 0.8;
}

/* CTA Section */
.cta-box {
    background: var(--secondary);
    border-radius: 32px;
    padding: 80px 40px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-box .blob-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: var(--gradient-1);
    filter: blur(100px);
    opacity: 0.3;
    z-index: 0;
    border-radius: 50%;
    animation: blob-float 15s infinite alternate ease-in-out;
}

.cta-box h2, .cta-box p, .cta-box .contact-methods {
    position: relative;
    z-index: 1;
}

.cta-box h2 {
    color: white;
    font-size: 3rem;
    margin-bottom: 24px;
}

.cta-box p {
    color: #cbd5e1;
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 40px;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.contact-pill {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 24px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.contact-pill:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: var(--bg-main);
    padding: 80px 0 32px;
    border-top: 1px solid var(--border-color);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 64px;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 16px;
    max-width: 300px;
}

.footer-links h4 {
    font-size: 1.125rem;
    margin-bottom: 24px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

.footer-links a:hover {
    color: var(--primary);
}

.footer-social h4 {
    font-size: 1.125rem;
    margin-bottom: 24px;
}

.social-icons {
    display: flex;
    gap: 16px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--text-main);
}

.social-icons a:hover {
    background: var(--primary);
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-up.visible {
    opacity: 1;
    transform: translateY(0);
    transition-delay: var(--delay, 0s);
}

/* Responsive */
@media (max-width: 992px) {
    .why-us-content {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .product-card {
        flex: 0 0 calc(50% - 16px);
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-btn {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .cta-box h2 {
        font-size: 2rem;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .product-card {
        flex: 0 0 100%;
        min-width: 100%;
    }
    .carousel-btn {
        display: none;
    }
}
