/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #1E90FF;
    --color-dark: #0A0A0A;
    --color-white: #FFFFFF;
    --color-light-bg: #F9FAFB;
    --color-grey: #6B7280;
    --color-border: #E5E7EB;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Gradient colors - Softer Blue Theme */
    --gradient-blue-light: linear-gradient(135deg, #4A90E2 0%, #5B9FED 50%, #7DB9F5 100%);
    --gradient-blue-soft: linear-gradient(135deg, #3B82F6 0%, #60A5FA 35%, #93C5FD 65%, #BFDBFE 100%);
    --gradient-light-blue: linear-gradient(135deg, #DBEAFE 0%, #E0F2FE 50%, #F0F9FF 100%);

    /* Accent colors */
    --color-blue-accent: #3B82F6;
    --color-blue-light: #60A5FA;
    --color-blue-lighter: #93C5FD;
    --color-blue-pale: #DBEAFE;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--color-dark);
    background-color: var(--color-white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: var(--spacing-sm) 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--color-dark);
    font-weight: 500;
    transition: color 0.3s;
}

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

.nav-cta {
    background: var(--color-primary);
    color: var(--color-white) !important;
    padding: 0.625rem 1.5rem;
    border-radius: 6px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 144, 255, 0.3);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 3px;
    background: var(--color-dark);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background:
        url('images/pexels-binyaminmellish-186077.jpg') center center / cover no-repeat fixed;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.7), rgba(10, 10, 10, 0.5));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-headline {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    color: var(--color-white);
    text-shadow: 2px 4px 12px rgba(0, 0, 0, 0.4);
}

.hero-subtext {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
    text-shadow: 1px 2px 8px rgba(0, 0, 0, 0.4);
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #1E90FF 0%, #7B68EE 100%);
    color: var(--color-white);
    padding: 1.125rem 3rem;
    font-size: 1.125rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 6px 20px rgba(30, 144, 255, 0.4);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 30px rgba(30, 144, 255, 0.5);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 0.5rem;
    font-weight: 500;
}

/* Section Styles */
section {
    padding: var(--spacing-xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    position: relative;
    z-index: 1;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: var(--spacing-sm);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-grey);
    max-width: 600px;
    margin: 0 auto;
}

.whats-included .section-header h2,
.whats-included .section-subtitle {
    position: relative;
    z-index: 1;
}

/* What Is Section */
.what-is {
    background: var(--color-white);
}

/* Features Section */
.why-hometrics {
    background: linear-gradient(135deg, #E3F2FD 0%, #E8EAF6 35%, #F3E5F5 65%, #FCE4EC 100%);
    position: relative;
    overflow: hidden;
}

.why-hometrics::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(30, 144, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.content-text p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--color-grey);
    margin-bottom: var(--spacing-md);
}

.image-placeholder {
    background: linear-gradient(135deg, #E8F4FF 0%, #D6EBFF 100%);
    padding: var(--spacing-xl);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.image-placeholder svg {
    color: var(--color-primary);
}

/* Why Proplytics Section */
.why-proplytics {
    background: linear-gradient(135deg, #1E3A8A 0%, #2563EB 45%, #3B82F6 70%, #60A5FA 100%);
    position: relative;
    overflow: hidden;
}

.why-proplytics::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.why-proplytics .section-header h2,
.why-proplytics .section-subtitle {
    color: #FFFFFF;
    position: relative;
    z-index: 1;
}

.why-proplytics .section-header h2 {
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.2);
}

.why-proplytics .section-subtitle {
    opacity: 0.95;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.feature-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-left: 4px solid #3B82F6;
    position: relative;
    overflow: hidden;
}

.feature-card:nth-child(1) {
    border-left-color: #3B82F6;
}

.feature-card:nth-child(2) {
    border-left-color: #8B5CF6;
}

.feature-card:nth-child(3) {
    border-left-color: #EC4899;
}

.feature-card:nth-child(4) {
    border-left-color: #F59E0B;
}

.feature-card:nth-child(5) {
    border-left-color: #10B981;
}

.feature-card:nth-child(6) {
    border-left-color: #EF4444;
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: block;
    line-height: 1;
}

.feature-card h3 {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #0A0A0A;
}

.feature-card p {
    color: #6B7280;
    line-height: 1.7;
    font-size: 1rem;
}

/* How It Works Section */
.how-it-works {
    background: #FFFFFF;
}

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

.process-step {
    text-align: center;
    padding: 2rem;
    position: relative;
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.step-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #1E90FF 0%, #7B68EE 100%);
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    margin: 0 auto 1.5rem;
    box-shadow: 0 6px 16px rgba(30, 144, 255, 0.4);
}

.process-step h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #0A0A0A;
}

.process-step p {
    color: #6B7280;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* What's Included Section */
.whats-included {
    background: linear-gradient(135deg, #E3F2FD 0%, #E8EAF6 35%, #F3E5F5 65%, #FCE4EC 100%);
    position: relative;
    overflow: hidden;
}

.whats-included::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(30, 144, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.included-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-md);
    position: relative;
    z-index: 1;
}

.included-item {
    display: flex;
    gap: var(--spacing-sm);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: var(--spacing-md);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}

.included-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 1);
}

.check-icon {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #1E90FF 0%, #8B5CF6 100%);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(30, 144, 255, 0.3);
}

.included-item h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.375rem;
    color: var(--color-dark);
}

.included-item p {
    color: var(--color-grey);
    font-size: 0.95rem;
}

/* FAQ Section */
.faq {
    background: var(--color-white);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
    padding: var(--spacing-md) 0;
}

.faq-question {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: var(--spacing-sm);
    cursor: pointer;
    position: relative;
}

.faq-answer p {
    color: var(--color-grey);
    line-height: 1.8;
}

/* Contact Section */
.contact {
    background: var(--color-light-bg);
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background: var(--color-white);
    padding: var(--spacing-lg);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--color-dark);
}

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

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

.submit-button {
    width: 100%;
    padding: 1.125rem;
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
    border-radius: 8px;
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
    margin-top: var(--spacing-sm);
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 144, 255, 0.3);
}

.form-confirmation {
    max-width: 700px;
    margin: var(--spacing-md) auto 0;
    padding: var(--spacing-md);
    background: #D1FAE5;
    border: 2px solid #10B981;
    border-radius: 8px;
    text-align: center;
}

.form-confirmation p {
    color: #065F46;
    font-size: 1.125rem;
    font-weight: 600;
}

.hidden {
    display: none;
}

/* Footer */
.footer {
    background: var(--color-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-column h3 {
    color: var(--color-primary);
    font-size: 1.375rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 800;
}

.footer-column h4 {
    color: var(--color-white);
    font-size: 1.125rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

.footer-column p {
    line-height: 1.7;
    font-size: 0.95rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.625rem;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .features-grid,
    .process-grid,
    .included-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .process-step {
        padding: 1.5rem;
    }

    .feature-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-xl: 4rem;
        --spacing-lg: 3rem;
    }

    .container {
        padding: 0 var(--spacing-sm);
    }
}

/* Demo Section Styles */
.demo-container {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.demo-benefits {
    background: linear-gradient(135deg, #DBEAFE 0%, #E0F2FE 50%, #F0F9FF 100%);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.15);
}

.demo-benefits-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-dark);
    text-align: center;
    margin-bottom: 1.5rem;
}

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

.benefit-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateX(8px);
}

.benefit-icon {
    width: 44px;
    height: 44px;
    background: var(--color-white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-blue-accent);
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
}

.benefit-icon svg {
    width: 22px;
    height: 22px;
}

.benefit-item:hover .benefit-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
}

.benefit-content h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 0.25rem;
}

.benefit-content p {
    font-size: 0.875rem;
    color: var(--color-grey);
    line-height: 1.5;
}

.demo-form-wrapper {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

/* Scroll Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced Transitions */
.feature-card,
.process-step,
.included-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 24px rgba(59, 130, 246, 0.2);
}

.cta-button {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 24px rgba(30, 144, 255, 0.4);
}

/* Smooth Input Focus */
.form-group input {
    transition: all 0.3s ease;
}

.form-group input:focus {
    border-color: var(--color-blue-accent);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

/* Navigation Animation */
.navbar {
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 0.75rem 0;
}

/* Step Number Animation */
.step-number {
    transition: all 0.3s ease;
}

.process-step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(30, 144, 255, 0.5);
}

/* Responsive Demo Section */
@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .demo-benefits,
    .demo-form-wrapper {
        padding: 2rem;
    }

    .benefit-item:hover {
        transform: translateX(4px);
    }
}
