/* Default Styling & Reset */
:root {
    --primary-color: #e50914; /* Red */
    --primary-hover: #b8050e;
    --bg-dark: #fcf6f6; /* Very light reddish/warm white */
    --bg-card: rgba(255, 255, 255, 0.8);
    --bg-card-hover: rgba(255, 255, 255, 0.95);
    --text-white: #1a1a1a; /* Actually dark text now */
    --text-gray: #4a4a4a;
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-body);
}

body {
    background-color: var(--bg-dark);
    color: var(--text-gray);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Particles Canvas */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
}



/* Texture Overlay */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/carbon-fibre.png');
    opacity: 0.03;
    z-index: -1;
    pointer-events: none;
}

/* Background Blobs */
.bg-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
    filter: blur(80px);
}

.blob {
    position: absolute;
    border-radius: 50%;
    animation: moveBlobs 20s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.5;
}

.blob-1 {
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(229,9,20,0.4) 0%, rgba(229,9,20,0) 70%);
    top: -10%;
    left: -10%;
    animation-delay: 0s;
}

.blob-2 {
    width: 35vw;
    height: 35vw;
    background: radial-gradient(circle, rgba(145,0,0,0.5) 0%, rgba(229,9,20,0) 70%);
    bottom: -10%;
    right: -10%;
    animation-direction: alternate-reverse;
    animation-delay: -5s;
}

.blob-3 {
    width: 30vw;
    height: 30vw;
    background: radial-gradient(circle, rgba(255,50,50,0.3) 0%, rgba(229,9,20,0) 70%);
    top: 40%;
    left: 40%;
    animation-duration: 25s;
    animation-delay: -10s;
}

@keyframes moveBlobs {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(10vw, -10vh) scale(1.1); }
    66% { transform: translate(-5vw, 15vh) scale(0.9); }
    100% { transform: translate(-15vw, -5vh) scale(1.05); }
}

h1, h2, h3, h4, .highlight {
    color: var(--text-white);
    font-family: var(--font-heading);
}

.highlight {
    color: var(--primary-color);
}

.text-white { color: var(--text-white); }
.text-green { color: #166534; } /* Darker green for white bg */
.dark-bg { 
    background: radial-gradient(circle at 50% 50%, rgba(229, 9, 20, 0.03) 0%, transparent 100%);
    position: relative; 
}
.text-center { text-align: center; }

.section { 
    padding: 6rem 1rem; 
    border-bottom: 1px solid rgba(229, 9, 20, 0.05);
    background: transparent;
}
.section-title { font-size: 2.5rem; margin-bottom: 3rem; font-weight: 800; }
.container { max-width: 1200px; margin: 0 auto; width: 100%; padding: 0 1rem; }

a { text-decoration: none; }
ul { list-style: none;}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px rgba(229, 9, 20, 0.4);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 6px 20px rgba(229, 9, 20, 0.6);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 1px solid var(--text-gray);
}

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

.btn-large { padding: 15px 35px; font-size: 1.1rem; }
.btn-huge { padding: 18px 45px; font-size: 1.3rem; border-radius: 50px; }

/* Pulse Animation */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(229, 9, 20, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(229, 9, 20, 0); }
    100% { box-shadow: 0 0 0 0 rgba(229, 9, 20, 0); }
}

/* Header */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 15px 0;
}

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

.logo-text { font-size: 1.5rem; font-weight: 800; color: #1a1a1a; letter-spacing: -0.5px; }

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    background: transparent;
}

.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(229,9,20,0.1) 0%, rgba(0,0,0,0) 70%);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
}

.hero-container { position: relative; z-index: 1; max-width: 1200px; width: 100%; margin: 0 auto; }
.hero-container.two-column {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    text-align: left;
}
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.hero-headline { font-size: 4rem; line-height: 1.1; margin-bottom: 1.5rem; letter-spacing: -1px; }
.hero-subheadline { font-size: 1.2rem; margin-bottom: 2.5rem; max-width: 600px; margin-left: 0; margin-right: 0; }
.hero-cta { display: flex; gap: 15px; justify-content: flex-start; }

.hero-visual {
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 2;
}

/* iPhone Mockup */
.iphone-mockup {
    width: 300px;
    height: 620px;
    background: #000;
    border-radius: 45px;
    padding: 12px;
    background: linear-gradient(135deg, #bbb 0%, #eee 40%, #ddd 60%, #999 100%); /* Titanium finish */
    box-shadow: 
        0 30px 60px rgba(0,0,0,0.15),
        0 0 20px rgba(229,9,20,0.1),
        inset 0 0 2px 2px rgba(255,255,255,0.8),
        inset 0 0 0 4px #2c2c2c;
    position: relative;
    overflow: hidden;
    transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.iphone-mockup:hover {
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
}

.iphone-notch {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 25px;
    background: #000;
    border-radius: 20px;
    z-index: 10;
    box-shadow: inset 0 0 5px rgba(255,255,255,0.1);
}

.iphone-screen {
    position: relative;
    width: 100%; height: 100%;
    background: linear-gradient(180deg, #fff 0%, #f7f7f7 100%);
    border-radius: 35px;
    padding: 50px 15px 20px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #111; /* Sharp screen definition */
}

.iphone-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}
.iphone-header h3 { font-size: 1.2rem; font-weight: 700; margin: 0; }

.graph-container {
    height: 180px;
    display: flex;
    align-items: flex-end;
    gap: 12px;
    position: relative;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    margin-bottom: 25px;
}

.graph-container .bar {
    flex: 1;
    background: #00ff7f; /* Neon green */
    border-radius: 6px 6px 0 0;
    animation: growBar 3s ease-in-out infinite alternate;
    box-shadow: 0 0 15px rgba(0, 255, 127, 0.4);
    opacity: 0.8;
}

.bar1 { height: 15%; animation-delay: 0s; }
.bar2 { height: 35%; animation-delay: 0.2s; }
.bar3 { height: 25%; animation-delay: 0.4s; }
.bar4 { height: 50%; animation-delay: 0.6s; }
.bar5 { height: 80%; animation-delay: 0.8s; }
.bar6 { height: 100%; animation-delay: 1.0s; }

@keyframes growBar {
    0% { transform: scaleY(0.7); transform-origin: bottom; opacity: 0.6; }
    100% { transform: scaleY(1.1); transform-origin: bottom; opacity: 1; }
}

.screen-content .app-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 12px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    animation: slideUp 4s infinite alternate ease-in-out;
}
.app-card.mt-2 { margin-top: 15px; animation-delay: 1s; }

.app-card-icon {
    font-size: 1.2rem;
    width: 38px; height: 38px;
    background: rgba(229,9,20,0.06);
    color: var(--primary-color);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
}
.app-card-title { font-weight: 700; font-size: 0.95rem; }
.app-card-subtitle { font-size: 0.75rem; color: var(--text-gray); }

@keyframes slideUp {
    0% { transform: translateY(8px); opacity: 0.7; box-shadow: 0 4px 10px rgba(0,0,0,0.2); }
    100% { transform: translateY(-4px); opacity: 1; box-shadow: 0 10px 20px rgba(0,0,0,0.5); }
}

/* Grid Utilities */
.grid { display: grid; gap: 30px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
/* Global Glass Card Styling */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 0, 0, 0.2); /* Defined dark border */
    border-top: 1px solid rgba(0, 0, 0, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    padding: 40px 30px;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.glass-card:hover {
    transform: translateY(-10px);
    border-color: rgba(229,9,20,0.2);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1), 0 0 20px rgba(229,9,20,0.1);
}

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

/* Problem Section Cards (Symmetrical Grid) */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.problem .glass-card {
    min-height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 40px;
    background: rgba(255, 255, 255, 0.4);
    transform: none !important;
}

.problem .glass-card:hover {
    transform: translateY(-20px) scale(1.05) !important;
    background: rgba(229, 9, 20, 0.05);
    border-color: rgba(229, 9, 20, 0.4);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08), 0 0 30px rgba(229, 9, 20, 0.05);
}

/* Custom AOS-style Scroll Animations */
[data-aos] {
    opacity: 0;
    transition-property: transform, opacity;
    transition-duration: 1s;
    transition-timing-function: ease-out;
}

[data-aos="fade-right"] {
    transform: translateX(-50px);
}

[data-aos="fade-left"] {
    transform: translateX(50px);
}

[data-aos="fade-up"] {
    transform: translateY(50px);
}

.aos-animate {
    opacity: 1 !important;
    transform: translate(0) !important;
}

.icon { font-size: 2.5rem; margin-bottom: 20px; color: var(--primary-color); }
.red-glow {
    text-shadow: 0 0 20px rgba(229, 9, 20, 0.8);
}

.glass-card h3 { font-size: 1.3rem; margin-bottom: 15px; }

/* Solution Section */
.solution-content { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 50px; 
    align-items: center; 
}
.solution-list { display: flex; flex-direction: column; gap: 30px; margin-top: 40px; }
.solution-list li { display: flex; gap: 20px; align-items: flex-start; }
.solution-list i { font-size: 1.5rem; margin-top: 5px; }

/* Dashboard Mockup */
.solution-visual {
    position: relative;
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

.dashboard-mockup {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.2);
    box-shadow: 0 25px 50px rgba(0,0,0,0.05), 0 0 20px rgba(229,9,20,0.05);
    width: 100%;
    max-width: 500px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.visual-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(229,9,20,0.2);
    filter: blur(80px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.mockup-header {
    background: #f1f1f1;
    padding: 10px 15px;
    display: flex;
    gap: 8px;
    border-bottom: 1px solid #e5e5e5;
}

.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.mockup-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mockup-item {
    background: rgba(255, 255, 255, 0.5);
    padding: 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(0,0,0,0.02);
}

/* What You Get Section */
.feature-item {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 40px 20px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-top: 2px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    position: relative;
    z-index: 1;
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: rgba(229, 9, 20, 0.05);
    border-radius: 50%;
}

/* Symmetrical Feature Grid (Previously Bento) */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 25px;
    transition: all 0.4s ease;
}

.feature-image-container {
    width: 100%;
    height: 180px;
    border-radius: 12px;
    margin-bottom: 25px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.4s ease;
}

.feature-item:hover .feature-image-container img {
    transform: scale(1.1);
}

.feature-item .feature-icon {
    position: absolute;
    bottom: 10px;
    right: 15px;
    font-size: 1.2rem;
    width: 40px; height: 40px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(229, 9, 20, 0.3);
}

.feature-item h3 { margin-bottom: 10px; font-size: 1.3rem; color: var(--text-white); }
.feature-item p { color: var(--text-gray); font-size: 0.95rem; line-height: 1.4; }

/* Vertical Timeline */
.vertical-timeline {
    position: relative;
    max-width: 900px;
    margin: 60px auto;
}

.v-track {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(0,0,0,0.05);
}

.v-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: var(--primary-color);
    box-shadow: 0 0 20px var(--primary-color);
    filter: blur(2px);
    transition: top 0.1s linear;
}

.v-step {
    padding: 60px 0;
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
}

.v-content {
    width: 42%;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 30px;
    border-radius: 16px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.v-content.left { margin-right: 50%; text-align: right; align-items: flex-end; }
.v-content.right { margin-left: 50%; text-align: left; align-items: flex-start; }

.v-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: rgba(229, 9, 20, 0.1);
    color: var(--primary-color);
    border: 1px solid rgba(229, 9, 20, 0.3);
    border-radius: 50%;
    font-size: 0.9rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.v-content.left .v-num { margin-left: auto; }
.v-content.right .v-num { margin-right: auto; }

/* Responsive adjustments */
@media (max-width: 992px) {
    .bento-grid { grid-template-columns: 1fr; }
    .item-large, .item-medium, .item-full { grid-column: span 1; flex-direction: column; text-align: center; }
    .v-content { width: 80%; margin: 0 !important; text-align: center !important; }
    .v-track { left: 20px; transform: none; }
    .v-step { justify-content: flex-start; padding-left: 60px; }
}

/* FAQs Section */
.faqs { background-color: var(--bg-dark); }
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item {
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(229, 9, 20, 0.2);
}

.faq-question {
    width: 100%;
    text-align: left;
    background: transparent;
    color: var(--text-white);
    padding: 24px;
    font-size: 1.15rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover { color: var(--primary-color); }

.faq-question i {
    transition: transform 0.3s;
    color: var(--primary-color);
}

.faq-question.active i { transform: rotate(180deg); }

.faq-answer {
    background: rgba(255, 255, 255, 0.2);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p { padding: 20px; border-top: 1px solid rgba(0,0,0,0.05); }

/* Final CTA */
.final-cta {
    padding: 100px 1rem;
    position: relative;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(229,9,20,0.15) 0%, rgba(0,0,0,0) 70%);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.cta-headline { font-size: 3rem; margin-bottom: 15px; }
.final-cta p { font-size: 1.2rem; margin-bottom: 40px; }

/* Footer */
footer {
    padding: 30px 0;
    border-top: 1px solid rgba(0,0,0,0.05);
    background: rgba(255, 255, 255, 0.5);
}

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

/* Responsive */
@media (max-width: 992px) {
    .hero-container.two-column { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .hero-content { align-items: center; }
    .hero-cta { justify-content: center; }
    .hero-subheadline { margin-left: auto; margin-right: auto; }
    .hero-headline { font-size: 3.5rem; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .solution-content { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
}

@media (max-width: 768px) {
    .hero-headline { font-size: 2.5rem; }
    .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .solution-content { grid-template-columns: 1fr; }
    .timeline-step { flex-direction: column; text-align: center; align-items: center; gap: 15px; }
    .timeline-connector { margin: -10px auto 20px auto; }
}
