:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #60a5fa;
    --text-color: #1f2937;
    --light-text: #6b7280;
    --background: #ffffff;
    --section-bg: #f3f4f6;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
}

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

.logo-labs {
    color: var(--text-color);
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    margin-left: 2rem;
    font-weight: 500;
    transition: var(--transition);
}

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

.cta-button {
    background: var(--primary-color);
    color: white !important;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
}

.cta-button:hover {
    background: var(--secondary-color);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    position: relative;
    overflow: hidden;
    background-image: url('https://images.unsplash.com/photo-1676299081847-824916de6978');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(240,249,255,0.95) 0%, rgba(224,242,254,0.95) 100%);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    color: var(--light-text);
    margin-bottom: 2rem;
    max-width: 600px;
}

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

.primary-cta, .secondary-cta {
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.primary-cta {
    background: var(--primary-color);
    color: white;
}

.secondary-cta {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.primary-cta:hover {
    background: var(--secondary-color);
}

.secondary-cta:hover {
    background: var(--primary-color);
    color: white;
}

/* Solutions Section */
.solutions {
    padding: 6rem 2rem;
    background: var(--background);
}

.solutions h2, .products h2, .about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

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

.solution-card {
    padding: 2.5rem;
    border-radius: 15px;
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    text-align: left;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-list {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.feature-list li {
    padding: 0.5rem 0;
    color: var(--light-text);
    display: flex;
    align-items: center;
}

.feature-list li::before {
    content: '→';
    color: var(--primary-color);
    margin-right: 0.5rem;
    font-weight: bold;
}

.learn-more {
    display: inline-block;
    margin-top: 1rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.learn-more:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1);
}

.solution-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Products Section */
.products {
    padding: 6rem 2rem;
    background: var(--section-bg);
}

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

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.product-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.product-tagline {
    color: var(--primary-color);
    font-weight: 500;
    margin: 0.5rem 0;
    font-size: 1.1rem;
}

.product-details {
    padding: 1.5rem;
    flex-grow: 1;
}

.product-details h4 {
    color: var(--text-color);
    margin: 1rem 0 0.5rem;
    font-size: 1.1rem;
}

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

.progress-indicator {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.stage {
    display: block;
    font-size: 0.9rem;
    color: var(--light-text);
    margin-bottom: 0.5rem;
}

.progress-bar {
    height: 6px;
    background: #eee;
    border-radius: 3px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: var(--primary-color);
    border-radius: 3px;
    transition: width 1s ease-in-out;
}

.product-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%);
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .product-image::after {
    opacity: 1;
}

.habit-guardian-image {
    background-image: url('https://images.unsplash.com/photo-1434494878577-86c23bcb06b9');
}

.style-ai-image {
    background-image: url('https://images.unsplash.com/photo-1445205170230-053b83016050');
}

.reflex-image {
    background-image: url('https://images.unsplash.com/photo-1517438476312-10d79c077509');
}

.product-card h3, .product-card p {
    padding: 1rem;
    margin: 0;
}

/* About Section */
.about {
    padding: 6rem 2rem;
    background: var(--background);
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.infinity {
    font-size: 3.5rem;
    line-height: 1;
    display: inline-block;
    transform: translateY(-5px);
}

/* Contact Section */
.contact {
    padding: 6rem 2rem;
    background: var(--section-bg);
    text-align: center;
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
}

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

.form-group input, .form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

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

.submit-btn {
    background: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 30px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    background: var(--secondary-color);
}

/* Footer */
.footer {
    background: var(--text-color);
    color: white;
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-section a {
    color: #9ca3af;
    text-decoration: none;
    transition: var(--transition);
}

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

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    font-size: 1.5rem;
}

.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    text-align: center;
    color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .menu-toggle {
        display: block;
        font-size: 1.5rem;
        cursor: pointer;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .solutions-grid, .product-showcase {
        grid-template-columns: 1fr;
    }
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.floating-elements {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.element {
    width: 100px;
    height: 100px;
    background: var(--primary-color);
    border-radius: 50%;
    margin: 1rem;
    opacity: 0.1;
    animation: float 6s infinite ease-in-out;
}

.element:nth-child(2) {
    animation-delay: -2s;
}

.element:nth-child(3) {
    animation-delay: -4s;
}
