/* Reset & Variables */
:root {
    --primary-color: #4f46e5; /* Indigo 600 */
    --primary-dark: #4338ca; /* Indigo 700 */
    --secondary-color: #0ea5e9; /* Sky 500 */
    --accent-color: #f59e0b; /* Amber 500 */
    --text-color: #1f2937; /* Gray 800 */
    --text-light: #6b7280; /* Gray 500 */
    --bg-light: #f9fafb; /* Gray 50 */
    --white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius: 0.5rem;
    --transition: all 0.3s ease;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3, h4 {
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

@media (min-width: 768px) {
    h1 { font-size: 3.5rem; }
    h2 { font-size: 2.5rem; }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    margin-left: 1rem;
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    height: 70px;
    display: flex;
    align-items: center;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: var(--text-color);
    transition: var(--transition);
}

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

.nav-link.btn-primary {
    color: var(--white);
    padding: 0.5rem 1.25rem;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding-top: 120px;
    padding-bottom: 80px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0e7ff 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-text {
    max-width: 800px;
    margin-bottom: 3rem;
    z-index: 10;
}

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

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
}

.stat-desc {
    font-size: 0.875rem;
    color: var(--text-light);
}

.hero-image {
    width: 100%;
    max-width: 900px;
    position: relative;
    z-index: 10;
}

/* App UI Simulation */
.app-screen {
    width: 100%;
    height: 100%;
    background: #f5f6fa;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    border-radius: 28px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* App Header */
.app-nav {
    background: linear-gradient(135deg, #4f46e5 0%, #3b82f6 100%);
    color: white;
    padding: 15px;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-title {
    font-size: 16px;
    font-weight: 600;
}

/* App Content */
.app-body {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Cards */
.app-card {
    background: white;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-box {
    text-align: center;
    flex: 1;
}

.stat-val {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    display: block;
}

.stat-label {
    font-size: 12px;
    color: #6b7280;
    margin-top: 4px;
    display: block;
}

.stat-divider {
    width: 1px;
    height: 30px;
    background: #e5e7eb;
}

/* Scan UI */
.scan-circle-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 0;
}

.scan-circle {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #4f46e5 0%, #3b82f6 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    box-shadow: 0 10px 25px rgba(79, 70, 229, 0.4);
    position: relative;
}

.scan-circle::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(79, 70, 229, 0.5);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

.scan-icon {
    font-size: 32px;
    margin-bottom: 5px;
}

.scan-text {
    font-size: 12px;
    opacity: 0.9;
}

/* List Items */
.list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f3f4f6;
}

.list-item:last-child {
    border-bottom: none;
}

.item-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.item-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
}

.item-info h5 {
    font-size: 14px;
    color: #1f2937;
    margin: 0;
}

.item-info p {
    font-size: 12px;
    color: #9ca3af;
    margin: 0;
}

.item-right {
    text-align: right;
}

.price-tag {
    color: #ef4444;
    font-weight: 600;
    font-size: 14px;
}

.status-tag {
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    background: #ecfdf5;
    color: #10b981;
}

/* Feature Images Override */
.feature-img {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-frame {
    width: 260px;
    height: 520px;
    background: #111;
    border-radius: 35px;
    padding: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    border: 4px solid #333;
    position: relative;
    overflow: hidden;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #f5f6fa;
    border-radius: 28px;
    overflow: hidden;
    position: relative;
}


.blob-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 1;
    pointer-events: none;
}

@media (min-width: 992px) {
    .hero-content {
        flex-direction: row;
        text-align: left;
        justify-content: space-between;
    }
    
    .hero-text {
        width: 50%;
        margin-bottom: 0;
        margin-left: 0;
    }
    
    .hero-text p {
        margin-left: 0;
    }
    
    .hero-stats {
        justify-content: flex-start;
    }

    .hero-image {
        width: 45%;
    }
}

/* Pain Points */
.pain-points {
    padding: 5rem 0;
    background-color: var(--white);
}

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

.section-header h2 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--text-light);
}

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

.pain-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
}

.pain-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background: var(--white);
}

.icon-box {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* Features */
.features {
    padding: 5rem 0;
    background-color: #f8fafc;
}

.feature-row {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-bottom: 5rem;
    align-items: center;
}

.feature-row:last-child {
    margin-bottom: 0;
}

.feature-text {
    flex: 1;
}

.feature-text h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.feature-list {
    margin-top: 1.5rem;
}

.feature-list li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-light);
}

.feature-list li i {
    color: #10b981;
}

.feature-img {
    flex: 1;
    display: flex;
    justify-content: center;
}

.img-placeholder {
    width: 100%;
    max-width: 500px;
    height: 300px;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
    box-shadow: var(--shadow-md);
}

@media (min-width: 768px) {
    .feature-row {
        flex-direction: row;
    }
    
    .feature-row.reverse {
        flex-direction: row-reverse;
    }
}

/* Benefits */
.benefits {
    padding: 5rem 0;
    background-color: var(--primary-color);
    color: var(--white);
}

.section-header.white h2,
.section-header.white p {
    color: var(--white);
}

.section-header.white p {
    opacity: 0.9;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.benefit-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.benefit-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.b-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.benefit-item h4 {
    margin-bottom: 0.5rem;
}

.benefit-item p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Process */
.process {
    padding: 5rem 0;
    background-color: var(--white);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    position: relative;
}

.step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-num {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    box-shadow: 0 0 0 10px #e0e7ff;
}

/* Footer */
footer {
    background-color: #111827;
    color: #d1d5db;
}

.cta-section {
    background: linear-gradient(to right, #4f46e5, #4338ca);
    padding: 4rem 0;
    text-align: center;
    color: white;
}

.contact-form-wrapper {
    max-width: 600px;
    margin: 2rem auto 0;
}

.contact-form {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.contact-form input {
    flex: 1;
    min-width: 200px;
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    border: none;
    outline: none;
}

.footer-content {
    padding: 4rem 0;
}

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

.footer-col h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    margin-top: 3rem;
    text-align: center;
    font-size: 0.875rem;
}

/* Mobile Nav */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
    }

    .nav-link {
        display: block;
        padding: 1rem 0;
    }
}
