/* =========================================
   Base & Resets
   ========================================= */
:root {
    /* Color Palette - Vibrant & Refreshing */
    --primary-blue: #0ea5e9;
    /* Light, vibrant cyan/blue */
    --primary-blue-hover: #0284c7;
    --secondary-green: #10b981;
    /* Fresh, bright emerald */
    --accent-red: #ef4444;
    /* Vivid ruby red */
    --accent-orange: #f59e0b;
    /* Warm amber for highlights */
    --bg-light: #f0f9ff;
    /* Very soft icy blue background */
    --bg-white: #ffffff;
    --bg-dark: #0f172a;
    /* Deep slate */
    --text-main: #0f172a;
    --text-muted: #475569;
    --border-color: #e2e8f0;

    /* Gradients */
    --grad-blue: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    --grad-green: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    --grad-text: linear-gradient(to right, #0ea5e9, #6366f1);
    /* Cyan to Indigo gradient */

    /* Typography */
    --font-main: 'Outfit', sans-serif;

    /* Shadows & Radii - Softer, more diffuse shadows */
    --shadow-sm: 0 2px 4px 0 rgb(14 165 233 / 0.05);
    /* Tinted shadows */
    --shadow-md: 0 4px 6px -1px rgb(14 165 233 / 0.1), 0 2px 4px -2px rgb(14 165 233 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(14 165 233 / 0.1), 0 4px 6px -4px rgb(14 165 233 / 0.05);
    --shadow-float: 0 20px 25px -5px rgb(14 165 233 / 0.15), 0 8px 10px -6px rgb(14 165 233 / 0.1);
    --radius-md: 16px;
    --radius-lg: 28px;
    --radius-pill: 9999px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-main);
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* =========================================
   Typography & Utilities
   ========================================= */
h1,
h2,
h3,
h4 {
    color: var(--text-main);
    line-height: 1.2;
    font-weight: 600;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.text-gradient {
    background: var(--grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-center {
    text-align: center;
}

.text-white {
    color: var(--bg-white);
}

.text-white p {
    color: #CBD5E1;
}

.text-green {
    color: var(--secondary-green);
}

.text-muted {
    color: var(--text-muted);
}

.bg-light {
    background-color: #f8fafc;
}

.bg-soft-blue {
    background-color: var(--bg-light);
    border-top: 1px solid #e0f2fe;
    border-bottom: 1px solid #e0f2fe;
}

.bg-dark {
    background-color: var(--bg-dark);
}

.bg-blue {
    background-color: #e0f2fe;
    color: var(--primary-blue);
}

.bg-green {
    background-color: #d1fae5;
    color: var(--secondary-green);
}

.bg-red {
    background-color: #fee2e2;
    color: var(--accent-red);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

.mt-4 {
    margin-top: 2rem;
}

/* =========================================
   Buttons & Tags
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-small {
    padding: 0.5rem 1.25rem;
    font-size: 0.95rem;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-full {
    width: 100%;
    padding: 1rem;
    margin-top: auto;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--primary-blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(14, 165, 233, 0.4), 0 4px 6px -4px rgba(14, 165, 233, 0.2);
}

.btn-secondary {
    background-color: white;
    color: var(--text-main);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--bg-light);
    transform: translateY(-2px);
}

.btn-outline-primary {
    background-color: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-outline-primary:hover {
    background-color: var(--primary-blue);
    color: white;
}

.badge {
    display: inline-block;
    padding: 0.25rem 1rem;
    border-radius: var(--radius-pill);
    background-color: #EFF6FF;
    color: var(--primary-blue);
    font-weight: 500;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.badge-outline {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    background-color: var(--bg-light);
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* =========================================
   Header Layout
   ========================================= */
#site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

#site-header.scrolled {
    box-shadow: var(--shadow-sm);
}

.header-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
}

.logo-icon {
    color: var(--primary-blue);
    font-size: 2rem;
}

.desktop-nav {
    display: flex;
    gap: 2rem;
}

.desktop-nav a {
    font-weight: 500;
    color: var(--text-muted);
}

.desktop-nav a:hover {
    color: var(--primary-blue);
}

@media (max-width: 768px) {

    .desktop-nav,
    .header-cta {
        display: none;
    }
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    padding-top: 140px;
    padding-bottom: 80px;
    background: radial-gradient(circle at top right, #e0f2fe 0%, #fefce8 50%, #ffffff 100%);
    /* Vibrant, sunny sunrise feel */
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
}

.trust-indicators {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-weight: 500;
}

.check-icon {
    color: var(--secondary-green);
}

.hero-visual {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-float);
    transform: rotate(2deg);
    transition: transform 0.5s ease;
}

.image-wrapper:hover {
    transform: rotate(0deg) scale(1.02);
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.floating-alert {
    position: absolute;
    bottom: -20px;
    left: -30px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: float 4s ease-in-out infinite;
}

.alert-icon.success {
    background-color: #D1FAE5;
    color: var(--secondary-green);
    padding: 0.5rem;
    border-radius: 50%;
}

.alert-text strong {
    display: block;
    color: var(--text-main);
    font-size: 0.95rem;
}

.alert-text span {
    color: var(--text-muted);
    font-size: 0.85rem;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .trust-indicators {
        justify-content: center;
    }

    .floating-alert {
        bottom: 10%;
        left: 0;
        right: 0;
        margin: 0 auto;
        width: fit-content;
    }
}

/* =========================================
   How It Works (Steps Grid)
   ========================================= */
.section-header {
    max-width: 600px;
    margin: 0 auto 4rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.step-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    text-align: center;
}

.step-card:hover {
    box-shadow: var(--shadow-float);
    transform: translateY(-5px);
    border-color: transparent;
}

.icon-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.icon-circle .material-symbols-outlined {
    font-size: 32px;
}

/* =========================================
   Feature Blocks
   ========================================= */
.features-grid {
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.feature-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-block.reverse .feature-text {
    order: 2;
}

.feature-block.reverse .feature-visual {
    order: 1;
}

.feature-list {
    list-style: none;
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.feature-list .material-symbols-outlined {
    color: var(--primary-blue);
    background: var(--bg-light);
    padding: 0.5rem;
    border-radius: 8px;
}

.feature-list strong {
    color: var(--text-main);
}

.feature-visual {
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

.bg-gradient-blue {
    background: var(--grad-blue);
}

.bg-gradient-green {
    background: var(--grad-green);
}

.bg-gradient-dark {
    background: linear-gradient(135deg, #1E293B, #0F172A);
}

.border-radius-lg {
    border-radius: var(--radius-lg);
}

.massive-icon {
    font-size: 120px;
    opacity: 0.8;
}

.bg-gradient-blue .massive-icon {
    color: var(--primary-blue);
}

.bg-gradient-green .massive-icon {
    color: var(--secondary-green);
}

.bg-gradient-dark .massive-icon {
    color: white;
}

@media (max-width: 992px) {

    .feature-block,
    .feature-block.reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .feature-block.reverse .feature-text {
        order: 1;
    }

    .feature-block.reverse .feature-visual {
        order: 2;
    }
}

/* =========================================
   Hardware Teaser
   ========================================= */
.teaser-container {
    max-width: 800px;
    padding: 4rem 2rem;
    background: url('assets/smart_ring_bg.png') center/cover;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.teaser-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.85);
    /* Dark overlay */
}

.teaser-content {
    position: relative;
    z-index: 1;
}

.hardware-specs {
    margin-top: 2rem;
    font-weight: 500;
    color: #94A3B8;
    letter-spacing: 1px;
}

/* =========================================
   Pricing Table
   ========================================= */
.pricing-toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    font-weight: 500;
}

.toggle-label {
    color: var(--text-muted);
    transition: color 0.3s;
}

.toggle-label.active {
    color: var(--text-main);
    font-weight: 600;
}

.save-badge {
    background-color: #D1FAE5;
    color: var(--secondary-green);
    padding: 2px 8px;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    margin-left: 0.5rem;
    vertical-align: middle;
}

/* Toggle Switch Styles */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--border-color);
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    box-shadow: var(--shadow-sm);
}

input:checked+.slider {
    background-color: var(--primary-blue);
}

input:focus+.slider {
    box-shadow: 0 0 1px var(--primary-blue);
}

input:checked+.slider:before {
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* Pricing Cards */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

.pricing-card:hover {
    box-shadow: var(--shadow-float);
    transform: translateY(-5px);
}

.pricing-card.popular {
    border: 2px solid var(--primary-blue);
    box-shadow: var(--shadow-lg);
}

.popular-tag {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-blue);
    color: white;
    padding: 4px 16px;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
}

.plan-name {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.price-block {
    margin-bottom: 2rem;
    display: flex;
    align-items: baseline;
}

.currency {
    font-size: 1.5rem;
    font-weight: 600;
    margin-right: 0.25rem;
}

.price {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1;
}

.duration {
    color: var(--text-muted);
    font-weight: 500;
    margin-left: 0.25rem;
}

.plan-features {
    list-style: none;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.plan-features .material-symbols-outlined {
    font-size: 1.25rem;
}

.hardware-addon-box {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px dashed var(--border-color);
    max-width: 600px;
    margin: 3rem auto 0;
}

/* =========================================
   Footer
   ========================================= */
.site-footer {
    background-color: var(--bg-dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: #94A3B8;
    margin-top: 1rem;
}

.footer-brand .logo {
    color: white;
}

.footer-links {
    display: flex;
    gap: 4rem;
}

.link-col h4 {
    color: white;
    margin-bottom: 1.5rem;
}

.link-col a {
    display: block;
    color: #94A3B8;
    margin-bottom: 0.75rem;
}

.link-col a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: #64748B;
}

/* =========================================
   Animations
   ========================================= */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

.delay-4 {
    animation-delay: 0.8s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}