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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #ffffff;
    color: #1a1a1a;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 600;
    line-height: 1.2;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 40px;
    background: transparent;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #1a1a1a;
}

.btn-primary {
    background: linear-gradient(135deg, #FF6B5B 0%, #FF8066 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 91, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 91, 0.4);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 40px 80px;
    background: linear-gradient(180deg,
            #fff9f5 0%,
            #fff5f0 20%,
            #fef3ed 40%,
            #fdf0e8 60%,
            #f5ebe4 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 60%;
    height: 100%;
    background: radial-gradient(ellipse, rgba(255, 200, 150, 0.3) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: -10%;
    width: 50%;
    height: 80%;
    background: radial-gradient(ellipse, rgba(200, 220, 255, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 1200px;
    width: 100%;
}

.hero-greeting {
    font-size: 18px;
    font-style: italic;
    color: #666;
    margin-bottom: 16px;
}

.hero-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 40px;
    letter-spacing: -1px;
}

/* Search Box */
.search-box {
    display: flex;
    align-items: center;
    max-width: 400px;
    margin: 0 auto 60px;
    background: white;
    border-radius: 30px;
    padding: 14px 24px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.search-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    color: #1a1a1a;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 15px;
    font-family: inherit;
    color: #666;
    background: transparent;
}

.search-input::placeholder {
    color: #999;
}

/* Feature Cards */
.feature-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    padding: 24px 20px;
    text-align: left;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 10px;
}

.feature-card h3 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.feature-card p {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
}

/* Why Alore Section */
.why-alore {
    padding: 120px 40px;
    background: linear-gradient(180deg,
            #f5ebe4 0%,
            #f8f4f0 30%,
            #ffffff 100%);
    text-align: center;
}

.why-content {
    max-width: 800px;
    margin: 0 auto;
}

.section-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 24px;
    display: block;
}

.why-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.why-description {
    font-size: 16px;
    color: #666;
    line-height: 1.7;
    max-width: 650px;
    margin: 0 auto 60px;
}

/* Capability Cards */
.capability-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.capability-card {
    background: white;
    border-radius: 20px;
    padding: 28px 24px;
    text-align: center;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.capability-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.capability-card.card-highlight {
    background: linear-gradient(135deg, #FFF5F3 0%, #FFF0EC 100%);
    border-color: rgba(255, 107, 91, 0.15);
}

.capability-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.capability-card p {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

.capability-visual {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

/* Dashboard Visual */
.dashboard-visual {
    flex-direction: column;
    gap: 12px;
}

.mini-chart {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 50px;
}

.chart-bar {
    width: 16px;
    background: linear-gradient(180deg, #FF6B5B 0%, #FF8066 100%);
    border-radius: 4px 4px 0 0;
    transition: height 0.3s ease;
}

.capability-card:hover .chart-bar {
    animation: barPulse 0.6s ease-in-out;
}

@keyframes barPulse {

    0%,
    100% {
        transform: scaleY(1);
    }

    50% {
        transform: scaleY(1.1);
    }
}

.mini-metrics {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 80px;
}

.metric-row {
    height: 6px;
    background: #e8e8e8;
    border-radius: 3px;
}

.metric-row.short {
    width: 60%;
}

/* Alerts Visual */
.alerts-visual {
    position: relative;
}

.alert-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FF6B5B 0%, #FF8066 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    z-index: 2;
}

.pulse-ring {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid #FF6B5B;
    animation: pulse 2s ease-out infinite;
    opacity: 0;
}

.pulse-ring.delay {
    animation-delay: 1s;
}

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

    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* API Visual */
.api-visual {
    padding: 20px;
}

.api-nodes {
    display: flex;
    align-items: center;
    gap: 0;
}

.api-node {
    width: 20px;
    height: 20px;
    background: #e0e0e0;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.api-node.center {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #4FC3F7 0%, #29B6F6 100%);
}

.api-connector {
    width: 24px;
    height: 3px;
    background: #e0e0e0;
}

.capability-card:hover .api-node {
    background: #bbb;
}

.capability-card:hover .api-node.center {
    background: linear-gradient(135deg, #4FC3F7 0%, #29B6F6 100%);
    transform: scale(1.1);
}

.capability-card:hover .api-connector {
    background: #4FC3F7;
}

/* Backlog Section */
.backlog-section {
    padding: 100px 40px;
    background: #ffffff;
}

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

.backlog-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.backlog-subtitle {
    font-size: 14px;
    color: #888;
    margin-bottom: 60px;
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
    text-align: left;
}

.bento-card {
    border-radius: 16px;
    padding: 28px;
}

/* Integrations Card */
.bento-integrations {
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
}

.integration-icons {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.integration-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bento-text {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

/* Orange Card */
.bento-orange {
    background: #FF7A5C;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 240px;
}

.typing-dots {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    max-width: 150px;
    padding: 20px 0;
}

.typing-dots span {
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
}

.bento-orange-text {
    font-size: 16px;
    line-height: 1.6;
    color: white;
}

/* Blue Code Card */
.bento-blue {
    background: #4FC3F7;
    color: white;
    min-height: 240px;
}

.code-block {
    background: transparent;
    padding: 10px 0 20px;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 14px;
    line-height: 1.8;
}

.code-keyword {
    color: rgba(255, 255, 255, 0.7);
}

.code-module {
    color: white;
    font-weight: 600;
}

.bento-blue-text {
    font-size: 14px;
    line-height: 1.6;
    color: white;
    margin-top: 20px;
}

/* White Refresh Card */
.bento-white {
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.refresh-icon {
    margin-bottom: 20px;
}

.bento-white-text {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

/* Prompt Section */
.prompt-section {
    padding: 100px 40px;
    background: linear-gradient(180deg,
            #ffffff 0%,
            #faf8f6 100%);
}

.prompt-content {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.prompt-title {
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 600;
    color: #1a1a1a;
    letter-spacing: -0.5px;
}

.prompt-text {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}

/* CTA Section */
.cta-section {
    padding: 140px 40px;
    background: linear-gradient(180deg,
            #faf8f6 0%,
            #f8f4f0 30%,
            #fff5f0 60%,
            #fef0e8 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 10%;
    width: 40%;
    height: 60%;
    background: radial-gradient(ellipse, rgba(255, 200, 150, 0.25) 0%, transparent 70%);
    pointer-events: none;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: 10%;
    right: 10%;
    width: 40%;
    height: 60%;
    background: radial-gradient(ellipse, rgba(200, 220, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.cta-subtitle {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 36px;
}

.btn-cta {
    display: inline-block;
}

/* Footer */
.footer {
    height: 100px;
    background: linear-gradient(180deg, #fef0e8 0%, #fff 100%);
}

/* Responsive Design */
@media (max-width: 992px) {
    .feature-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .capability-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .prompt-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .capability-cards {
        grid-template-columns: 1fr;
        max-width: 340px;
    }

    .navbar {
        padding: 16px 24px;
    }

    .hero {
        padding: 100px 24px 60px;
    }

    .feature-cards {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

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

    .why-alore,
    .backlog-section,
    .prompt-section,
    .cta-section {
        padding: 80px 24px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 12px;
    }

    .btn-primary {
        padding: 10px 18px;
        font-size: 13px;
    }

    .hero-greeting {
        font-size: 16px;
    }

    .search-box {
        padding: 12px 18px;
        max-width: 100%;
    }

    .search-input {
        font-size: 14px;
    }

    .hero-title {
        font-size: 28px;
    }

    .why-title,
    .backlog-title,
    .cta-title {
        font-size: 28px;
    }

    .prompt-title {
        font-size: 26px;
    }

    .capability-card {
        padding: 20px 18px;
    }

    .bento-card {
        padding: 20px;
    }

    .navbar {
        padding: 12px 16px;
    }

    .btn-primary {
        padding: 8px 14px;
        font-size: 12px;
    }
}

/* ============================================
   INTERACTIVE ANIMATIONS
   ============================================ */

/* Scroll animations */
.animate-ready {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Staggered children animations */
.stagger-child {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-child.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Search box interactions */
.search-box {
    transition: all 0.3s ease, box-shadow 0.3s ease;
}

.search-box.focused {
    box-shadow: 0 8px 40px rgba(255, 107, 91, 0.15);
    border-color: rgba(255, 107, 91, 0.3);
    transform: scale(1.02);
}

.search-box.clicked {
    animation: searchPulse 0.3s ease;
}

@keyframes searchPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.03);
    }
}

/* Button hover enhancements */
.btn-primary {
    position: relative;
    overflow: hidden;
}

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

.btn-primary:hover::before {
    left: 100%;
}

/* Floating animation */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* Card hover glow effect */
.feature-card::after,
.capability-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
    background: radial-gradient(circle at center, rgba(255, 107, 91, 0.1), transparent 70%);
    pointer-events: none;
}

.feature-card:hover::after,
.capability-card:hover::after {
    opacity: 1;
}

.feature-card,
.capability-card {
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Bento card specific animations */
.bento-card {
    transition: all 0.25s ease;
}

.bento-card:hover {
    transform: translateY(-2px);
}

.bento-orange:hover {
    box-shadow: 0 8px 24px rgba(255, 122, 92, 0.2);
}

.bento-blue:hover {
    box-shadow: 0 8px 24px rgba(79, 195, 247, 0.2);
}

.bento-integrations:hover,
.bento-white:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

/* Typing cursor animation for search */
.search-input:focus {
    caret-color: #FF6B5B;
}

/* Icon hover animations */
.integration-icons .integration-icon {
    transition: transform 0.2s ease;
}

.integration-icons .integration-icon:hover {
    transform: scale(1.05);
}

/* Section fade-in on scroll */
section {
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Navbar scroll effect */
.navbar {
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

/* Code block styling */
.code-block code {
    display: block;
}

/* Refresh icon - subtle rotation on hover */
.refresh-icon svg {
    transition: transform 0.4s ease;
}

.bento-white:hover .refresh-icon svg {
    transform: rotate(180deg);
}

/* Chart bar animation on hover */
.mini-chart .chart-bar {
    transition: height 0.5s ease, transform 0.3s ease;
}

.capability-card:hover .mini-chart .chart-bar:nth-child(1) {
    height: 55% !important;
}

.capability-card:hover .mini-chart .chart-bar:nth-child(2) {
    height: 80% !important;
}

.capability-card:hover .mini-chart .chart-bar:nth-child(3) {
    height: 45% !important;
}

.capability-card:hover .mini-chart .chart-bar:nth-child(4) {
    height: 90% !important;
}

.capability-card:hover .mini-chart .chart-bar:nth-child(5) {
    height: 70% !important;
}

/* Smooth page transitions */
html {
    scroll-behavior: smooth;
}

/* Loading animation (optional) */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: fadeInUp 1s ease forwards;
}

.hero-greeting {
    animation: fadeInUp 1s ease 0.2s forwards;
    opacity: 0;
}

.hero-title {
    animation: fadeInUp 1s ease 0.4s forwards;
    opacity: 0;
}

.search-box {
    animation: fadeInUp 1s ease 0.6s forwards;
    opacity: 0;
}

.feature-cards {
    animation: fadeInUp 1s ease 0.8s forwards;
    opacity: 0;
}