/* ===================================
   ProScan24 Styles
   Design Language: FollowPulse-inspired
   =================================== */

/* === DESIGN TOKENS === */
:root {
    /* Colors - Primary Palette (from FollowPulse) */
    --color-primary: #00b5c2;
    --color-primary-bright: #01dece;
    --color-primary-deep: #008a95;
    --color-secondary: #6394b7;

    /* Gradients */
    --grad-teal: linear-gradient(135deg, #01dece, #00b5c2 60%, #008a95);
    --grad-pulse: linear-gradient(105deg, #01dece, #00b5c2 38%, #6d5ef6 115%);

    /* Surfaces */
    --bg: #ffffff;
    --bg-soft: #f7f7f9;
    --surface: #ffffff;
    --surface-elevated: #ffffff;

    /* Text */
    --text-primary: #2f2f2f;
    --text-secondary: #6394b7;
    --text-muted: #646464;

    /* Borders */
    --border: #ececef;
    --border-strong: #e0e0e5;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(15, 15, 30, 0.04), 0 6px 24px rgba(15, 15, 30, 0.05);
    --shadow-md: 0 1px 2px rgba(15, 15, 30, 0.04), 0 18px 60px rgba(15, 15, 30, 0.08);
    --shadow-card: 0 6px 18px rgba(0, 67, 111, 0.09);
    --shadow-glow-teal: 0 12px 30px rgba(0, 181, 194, 0.34), 0 2px 6px rgba(0, 138, 149, 0.25);
    --shadow-glow-teal-hover: 0 18px 40px rgba(0, 181, 194, 0.45), 0 4px 10px rgba(0, 138, 149, 0.3);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Spacing */
    --space-section: clamp(80px, 10vw, 120px);
    --space-content: clamp(48px, 6vw, 80px);

    /* Typography */
    --font-primary: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Transitions */
    --transition-base: 0.25s cubic-bezier(0.2, 0.7, 0.2, 1);
    --transition-fast: 0.15s ease;
}

/* === RESET & BASE === */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    font-variant-numeric: lining-nums proportional-nums;
    color: var(--text-primary);
    background: linear-gradient(135deg, #eaf7fb 0%, #f5fbff 45%, #eafaf7 100%);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: clamp(32px, 5vw, 56px);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(28px, 4vw, 44px);
    letter-spacing: -0.01em;
}

h3 {
    font-size: clamp(20px, 2.5vw, 28px);
}

p {
    line-height: 1.6;
}

.accent {
    background: var(--grad-teal);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* === LAYOUT === */
.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 16px;
    }
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    text-decoration: none;
    transition: transform var(--transition-base),
                box-shadow var(--transition-base),
                filter var(--transition-base);
    position: relative;
    overflow: hidden;
    padding: 16px 32px;
    height: 52px;
}

.btn--primary {
    background: var(--grad-teal);
    color: #ffffff;
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.28),
                inset 0 0 0 1px rgba(0, 138, 149, 0.4),
                var(--shadow-glow-teal);
}

.btn--primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
                transparent,
                rgba(255, 255, 255, 0.2) 50%,
                transparent);
    transform: translateX(-100%);
    transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
    pointer-events: none;
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.35),
                inset 0 0 0 1px rgba(0, 138, 149, 0.5),
                var(--shadow-glow-teal-hover);
}

.btn--primary:hover::before {
    transform: translateX(100%);
}

.btn--primary:active {
    transform: translateY(0);
}

.btn--large {
    height: 60px;
    padding: 20px 40px;
    font-size: 17px;
}

.btn__arrow {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    transition: transform var(--transition-fast);
}

.btn:hover .btn__arrow {
    transform: translateX(3px);
}

@media (max-width: 576px) {
    .btn {
        height: 48px;
        padding: 14px 24px;
        font-size: 15px;
    }

    .btn--large {
        height: 56px;
        padding: 18px 32px;
        font-size: 16px;
    }
}

/* === HERO SECTION === */
.hero {
    position: relative;
    padding: clamp(80px, 12vw, 140px) 0 var(--space-section);
    overflow: hidden;
}

.hero__content {
    max-width: 680px;
    position: relative;
    z-index: 2;
}

.hero__badge {
    display: inline-block;
    background: rgba(0, 181, 194, 0.12);
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
}

.hero__alert {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffe066;
    color: #5a3e00;
    border: 1.5px solid #e6b800;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
    box-shadow: 0 2px 10px rgba(230, 184, 0, 0.35);
}

.hero__title {
    margin-bottom: 24px;
}

.hero__subtitle {
    font-size: clamp(16px, 2vw, 19px);
    line-height: 1.55;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 560px;
}

.hero__features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 40px;
}

.hero__feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15.5px;
    color: var(--text-primary);
}

.hero__feature-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    padding: 4px;
    background: var(--grad-teal);
    color: #ffffff;
    border-radius: 50%;
}

.hero__visual {
    position: absolute;
    right: 12%;
    top: 50%;
    transform: translateY(-50%);
    width: 420px;
    height: 500px;
    display: none;
}

.hero__bg-blur {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(130px);
    pointer-events: none;
    z-index: 0;
}

.hero__bg-blur--1 {
    background: rgba(0, 181, 194, 0.08);
    top: -10%;
    left: -5%;
}

.hero__bg-blur--2 {
    background: rgba(109, 94, 246, 0.06);
    bottom: -20%;
    right: -5%;
}

@media (min-width: 1200px) {
    .hero__visual {
        display: block;
    }

    .hero__content {
        max-width: 600px;
    }
}

@media (max-width: 576px) {
    .hero__features {
        gap: 12px;
    }

    .hero__feature {
        font-size: 14px;
    }
}

/* === DEMO CARD === */
.demo-card {
    background: #ffffff;
    border: 1px solid rgba(0, 181, 194, 0.1);
    border-radius: 24px;
    padding: 24px;
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.8),
                0 30px 70px rgba(0, 67, 111, 0.14);
    backdrop-filter: blur(8px);
}

.demo-card__header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.demo-card__avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #01dece, #00b5c2);
    flex-shrink: 0;
}

.demo-card__name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.demo-card__handle {
    font-size: 14px;
    color: var(--text-secondary);
}

.demo-card__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.stat__label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.stat__value {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary);
}

/* === FLOATING BADGES === */
.floating-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 181, 194, 0.14);
    border-radius: 14px;
    padding: 10px 16px;
    box-shadow: 0 8px 24px rgba(0, 67, 111, 0.12);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    animation: float 3s ease-in-out infinite;
}

.floating-badge svg {
    width: 18px;
    height: 18px;
    color: var(--color-primary);
}

.floating-badge--1 {
    top: 10%;
    right: -10%;
    animation-delay: 0s;
}

.floating-badge--2 {
    bottom: 15%;
    right: 5%;
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

/* === SECTION HEADER === */
.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto var(--space-content);
}

.section-title {
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-lead {
    font-size: clamp(16px, 2vw, 18px);
    color: var(--text-secondary);
    line-height: 1.6;
}

/* === USE CASES SECTION === */
.use-cases {
    padding: var(--space-section) 0;
    position: relative;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    max-width: 1100px;
    margin: 0 auto;
}

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

/* === FEATURE CARD === */
.feature-card {
    background: #ffffff;
    border: 1px solid rgba(0, 181, 194, 0.08);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    box-shadow: var(--shadow-card);
    transition: transform var(--transition-base),
                box-shadow var(--transition-base),
                border-color var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 67, 111, 0.15);
    border-color: rgba(0, 181, 194, 0.18);
}

.feature-card__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 181, 194, 0.1);
    color: var(--color-primary);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.feature-card__icon svg {
    width: 24px;
    height: 24px;
}

.feature-card__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.feature-card__text {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* === HOW IT WORKS SECTION === */
.how-it-works {
    padding: var(--space-section) 0;
    background: rgba(255, 255, 255, 0.5);
}

.steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto 48px;
    flex-wrap: wrap;
}

.step {
    display: flex;
    gap: 20px;
    flex: 1;
    min-width: 260px;
    max-width: 320px;
}

.step__number {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--grad-teal);
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(0, 181, 194, 0.3);
}

.step__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.step__text {
    font-size: 15px;
    line-height: 1.5;
    color: var(--text-secondary);
}

.step-arrow {
    flex-shrink: 0;
    color: var(--color-primary);
    opacity: 0.4;
}

.step-arrow svg {
    width: 24px;
    height: 24px;
}

.cta-center {
    text-align: center;
}

@media (max-width: 968px) {
    .steps {
        flex-direction: column;
        align-items: stretch;
    }

    .step {
        max-width: 480px;
        margin: 0 auto;
    }

    .step-arrow {
        display: none;
    }
}

/* === TRUST SECTION === */
.trust {
    padding: var(--space-section) 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
}

.trust-item {
    text-align: center;
    padding: 24px;
}

.trust-item__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 181, 194, 0.08);
    color: var(--color-primary);
    border-radius: var(--radius-md);
}

.trust-item__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.trust-item__text {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 360px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .trust-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        gap: 24px;
    }
}

/* === FINAL CTA SECTION === */
.final-cta {
    padding: var(--space-section) 0;
}

.final-cta__inner {
    background: #ffffff;
    border: 1px solid rgba(0, 181, 194, 0.12);
    border-radius: var(--radius-xl);
    padding: clamp(48px, 8vw, 80px) 32px;
    text-align: center;
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.8),
                0 24px 60px rgba(0, 67, 111, 0.12);
    max-width: 900px;
    margin: 0 auto;
}

.final-cta__title {
    margin-bottom: 16px;
}

.final-cta__text {
    font-size: clamp(16px, 2vw, 18px);
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* === FOOTER === */
.footer {
    background: rgba(255, 255, 255, 0.6);
    border-top: 1px solid var(--border);
    padding: 64px 0 32px;
    margin-top: auto;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px 32px;
    margin-bottom: 40px;
}

.footer__logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.footer__text {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-secondary);
    max-width: 320px;
}

.footer__title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.footer__links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    transition: color var(--transition-fast),
                transform var(--transition-fast);
    display: inline-block;
}

.footer__link:hover {
    color: var(--color-primary);
    transform: translateX(2px);
}

.footer__bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer__copy {
    font-size: 13px;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .footer__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* === COOKIE NOTICE === */
.cookie-notice {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 181, 194, 0.14);
    border-radius: 18px;
    padding: 14px 18px;
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.9),
                0 18px 48px rgba(0, 67, 111, 0.14);
    max-width: min(560px, calc(100vw - 32px));
    font-size: 15px;
    line-height: 1.4;
    color: var(--text-primary);
}

.cookie-notice__icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--grad-teal);
    color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(0, 181, 194, 0.34);
}

.cookie-notice__icon svg {
    width: 20px;
    height: 20px;
}

.cookie-notice p {
    flex: 1;
}

.cookie-notice a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid rgba(0, 181, 194, 0.4);
    transition: border-color var(--transition-fast);
}

.cookie-notice a:hover {
    border-bottom-color: var(--color-primary);
}

.cookie-notice__btn {
    flex-shrink: 0;
    background: var(--grad-teal);
    border: none;
    border-radius: 12px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    padding: 11px 24px;
    cursor: pointer;
    box-shadow: 0 12px 26px rgba(0, 181, 194, 0.34);
    transition: transform var(--transition-base),
                box-shadow var(--transition-base);
}

.cookie-notice__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(0, 181, 194, 0.42);
}

@media (max-width: 576px) {
    .cookie-notice {
        flex-direction: column;
        text-align: center;
        padding: 18px;
        gap: 12px;
    }

    .cookie-notice__btn {
        width: 100%;
    }
}

/* === ANIMATIONS === */
@media (prefers-reduced-motion: no-preference) {
    [data-aos] {
        opacity: 0;
        transition: opacity 0.6s ease,
                    transform 0.6s ease;
    }

    [data-aos].aos-animate {
        opacity: 1;
    }

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

    [data-aos="fade-up"].aos-animate {
        transform: translateY(0);
    }

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

    [data-aos="fade-right"].aos-animate {
        transform: translateX(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .floating-badge {
        animation: none;
    }
}
