/* SaaS Specific Modern Reset & Variables */
:root {
    --primary: #FFD700;
    --primary-glow: rgba(255, 215, 0, 0.4);
    --secondary: #0f172a;
    --secondary-light: #1e293b;
    --bg-main: #f8fafc;
    --bg-card: #ffffff;

    --text-main: #0f172a;
    --text-muted: #475569;
    --text-light: #ffffff;

    --font-heading: 'KL Bold', 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    --shadow-soft: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 40px rgba(255, 215, 0, 0.3);

    --radius-sm: 12px;
    --radius-md: 24px;
    --radius-pill: 9999px;

    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    font-size: 16px;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--secondary);
    line-height: 1.2;
}

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

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

section {
    padding: 120px 0;
    position: relative;
}

/* Full-Width Logo Strap */
.main-logo-strap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #FFD54F; /* Yellow background as requested */
    padding: 18px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(255, 213, 79, 0.4);
    z-index: 100;
}

.strap-logo {
    height: 120px;
    width: auto;
    object-fit: contain;
}

/* Animations Core */
.hover-lift {
    transition: var(--transition);
}

.hover-lift:hover {
    transform: translateY(-6px) scale(1.02);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #fff9dc 0%, #f8fafc 100%);
    padding-top: 180px;
    padding-bottom: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.4) 0%, rgba(255, 255, 255, 0) 60%);
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
}

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


.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0% {
        transform: translateY(0px);
    }

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

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

.hero-title {
    font-size: clamp(2.5rem, 4.5vw, 4rem);
    font-weight: 900;
    letter-spacing: -1.5px;
    margin-bottom: 40px;
    color: var(--secondary);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 16px;
    font-weight: 500;
}

.trust-line {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--secondary-light);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.stars {
    letter-spacing: 2px;
}

/* Installation Steps (Cards) */
.installation-steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.install-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 24px 24px;
    position: relative;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: var(--transition);
    overflow: hidden;
}

.install-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-8px);
}

.step-one.glow-effect {
    box-shadow: var(--shadow-glow);
    border: 2px solid var(--primary);
}

.card-bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(255, 215, 0, 0.05) 0%, transparent 100%);
    pointer-events: none;
}

.step-label {
    display: inline-block;
    background: var(--secondary);
    color: white;
    font-family: var(--font-heading);
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.install-title {
    font-size: 1.5rem;
    margin-bottom: 24px;
    font-weight: 800;
}

/* Massive Primary Button */
.btn-massive {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 18px 30px;
    font-size: 1.25rem;
    font-family: var(--font-heading);
    border-radius: var(--radius-sm);
    background: var(--primary);
    color: var(--secondary);
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.4);
}

.btn-massive:hover {
    background: #ffd000;
    box-shadow: 0 15px 35px rgba(255, 215, 0, 0.6);
}

.install-note {
    margin-top: 14px;
    font-weight: 600;
    color: #10b981;
    font-size: 0.9rem;
}

/* Software Options (Step 2) */
.software-options {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: stretch;
}

.option-col {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.tag {
    font-size: 0.8rem;
    font-weight: 700;
    font-family: var(--font-heading);
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tag-recommended {
    background: #dcfce7;
    color: #166534;
}

.tag-legacy {
    background: #f1f5f9;
    color: #475569;
}

.btn-software {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 100%;
    padding: 14px 16px;
    font-family: var(--font-heading);
    font-size: 1rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-software.active {
    background: var(--secondary);
    color: white;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.2);
}

.btn-software.outlined {
    background: transparent;
    color: var(--secondary);
    border-color: var(--secondary);
}

/* Features */
.section-title {
    text-align: center;
    font-size: clamp(2.2rem, 4vw, 3rem);
    margin-bottom: 80px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-card);
    padding: 50px 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    position: relative;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
    text-align: center;
}

.feature-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #f1f5f9;
    color: var(--secondary);
    font-size: 0.8rem;
    font-family: var(--font-heading);
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    transition: var(--transition);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 24px;
    display: inline-block;
    transition: var(--transition);
}

.interactive-card:hover {
    box-shadow: var(--shadow-glow);
    border-color: var(--primary);
    transform: translateY(-10px);
}

.interactive-card:hover .feature-icon {
    transform: translateY(-15px) scale(1.1);
}

.interactive-card:hover .feature-tag {
    background: var(--primary);
    color: var(--secondary);
}

/* Timeline / How It Works */
.how-it-works {
    background: var(--bg-card);
}

.timeline-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.timeline-connector {
    flex: 1;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, rgba(255, 215, 0, 0.2) 100%);
    margin: 0 20px;
    border-radius: 2px;
    position: relative;
    top: -30px;
}

.timeline-step {
    flex: 0 0 auto;
    width: 200px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.timeline-icon-wrapper {
    width: 100px;
    height: 100px;
    background: var(--bg-card);
    border: 4px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 2.5rem;
    position: relative;
    box-shadow: var(--shadow-soft);
}

.timeline-pulse {
    position: absolute;
    top: -4px;
    right: -4px;
    bottom: -4px;
    left: -4px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    animation: pulse 2s infinite;
    opacity: 0;
}

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

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

.timeline-step:hover .timeline-pulse {
    display: block;
}

.timeline-step h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.timeline-step p {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
}

/* Badges / Pill section */
.trust-benefits {
    background: var(--secondary);
    color: white;
}

.trust-benefits .section-title {
    color: white;
}

.pills-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.benefit-pill {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.benefit-pill:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.2);
    transform: translateY(-6px);
}

.pill-icon {
    font-size: 1.5rem;
}

.pill-text {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    color: white;
}

/* Footer */
.footer {
    background: #090e17;
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-logo {
    height: 40px;
    margin-bottom: 15px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    font-size: 1.1rem;
}

.footer-info {
    text-align: right;
}

/* Animations - Initial */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
    .installation-steps {
        grid-template-columns: 1fr;
    }

    .timeline-container {
        flex-direction: column;
        gap: 60px;
    }

    .timeline-connector {
        width: 4px;
        height: 50px;
        margin: -30px 0;
        top: 0;
        background: linear-gradient(180deg, var(--primary) 0%, rgba(255, 215, 0, 0.2) 100%);
    }
}

@media (max-width: 600px) {
    .software-options {
        flex-direction: column;
    }

    .hero-title {
        font-size: 2.5rem;
    }
}