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

:root {
    /* Light theme colors */
    --bg-primary: #f2eff3;
    --bg-secondary: #ece6ee;
    --bg-accent: #0a0a0a;
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-accent: #ffffff;
    --border-color: #e1e5e9;
    --border-light: #eef1f4;
    --card-bg: #ffffff;
    --nav-bg: #ebe6ec;
    --bg-hover: #f3f4f6;
    --bg-tertiary: #f1f5f9;

    /* Brand */
    --primary-color: #b600ee;
    --primary-light: #ffe3e3;
    --primary-dark: #e85a5a;
    --primary-rgb: 255, 107, 107;
    --accent-color: #6c5ce7;

    /* Status */
    --success-color: #16a34a;
    --success-light: #dcfce7;
    --error-color: #dc2626;
    --error-light: #fee2e2;

    --gradient-primary: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    --gradient-hero: linear-gradient(135deg, #f3ebf3 0%, #f8f9fa 100%);
}

[data-theme="dark"] {
    /* Dark theme colors */
    --bg-primary: #262427;
    --bg-secondary: #2e2c30;
    --bg-accent: #ffffff;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-accent: #333333;
    --border-color: #333333;
    --border-light: #262626;
    --card-bg: #2f2c33;
    --nav-bg: #2e2c30;
    --bg-hover: #111111;
    --bg-tertiary: #141414;

    /* Brand */
    --primary-color: #b600ee;
    --primary-light: rgba(255, 107, 107, 0.15);
    --primary-dark: #ff5a5a;
    --primary-rgb: 255, 107, 107;
    --accent-color: #a78bfa;

    /* Status */
    --success-color: #22c55e;
    --success-light: rgba(34, 197, 94, 0.15);
    --error-color: #ef4444;
    --error-light: rgba(239, 68, 68, 0.15);

    --gradient-hero: linear-gradient(135deg, #262427 0%, #252425 100%);
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

/* Products Showcase Section */
.products-showcase {
    padding: 3rem 0 2rem;
    background: var(--bg-secondary);
    margin-top: 80px;
}

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

.product-preview {
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.10);
}


.product-preview:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
    background:  var(--bg-tertiary);    
}

/* Frosted glass video frame */
.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  max-height: 400px;
  border-radius: 12px;
  overflow: hidden;

  /* Glass look */
  background: rgba(255, 255, 255, 0.12);               /* fallback tint */
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  margin-bottom: 1rem;
}

.video-container iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}


@media (max-width: 768px) {
    .products-showcase {
        padding: 2rem 0 1.5rem;       
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .video-container {
        max-height: 250px;
        padding-bottom: 56.25%;
    }
}

.product-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.product-title:hover {
    color: var(--primary-color);
}

.product-brief {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Product Details Section */
.product-details {
    padding: 4rem 0;
    background: var(--bg-primary);
}

.product-detail-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 3rem 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    scroll-margin-top: 100px;
}

.product-detail-content h2 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.product-detail-content h4 {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.product-detail-content > p {
    font-size: 1.05rem;
    color: var(--text-primary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.product-features {
    list-style: none;
    margin: 2rem 0;
    padding: 0;
}

.product-features li {
    padding: 0.75rem 0;
    font-size: 1rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.product-features .check {
    color: var(--success-color);
    font-size: 1.2rem;
    font-weight: bold;
}

.product-description {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 12px;
    margin: 1.5rem 0;
    font-size: 1rem;
    line-height: 1.8;
}

.btn-product {
    margin-top: 2rem;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s ease;
}



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


.nav-brand{ display:flex; align-items:left; }
.nav-logo{ display:inline-flex; align-items:left; text-decoration:none; }

/* size the logo consistently */
.logo-svg, .logo-img{ height: 100px; width: auto; }

/* make inline SVG adapt to theme color */
.navbar { color: var(--text-primary); }        /* already set in your theme */
.logo-svg{ color: var(--text-primary); }       /* uses currentColor */

/* if navbar is small on mobile, shrink a touch */
@media (max-width: 768px){
  .logo-svg, .logo-img{ height: 60px; }
}


.nav-brand h1 {
    color: #ff6b6b;
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Theme Toggle */
.theme-toggle {
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 4px;
}

.theme-toggle:hover {
    background: var(--bg-secondary);
    transform: scale(1.1);
    border-color: var(--primary-color);
}

.theme-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

/* Language Toggle */
.language-toggle {
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 6px;
}

.language-toggle:hover {
    background: var(--bg-secondary);
    transform: scale(1.1);
    border-color: var(--primary-color);
}

.lang-text {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

/* Bengali Font for Bengali Text */
body[data-lang="bn"],
body[data-lang="bn"] * {
    font-family: 'Hind Siliguri', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif !important;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-hero, .btn-outline, .btn-form, .btn-pricing {
    padding: 0.65rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

/* Reusable gradient hover effect */
/* Minimal gradient hover that DOES NOT change size/shape */
.is-gradient {
  /* only paint the background + animate it */
  background-image: linear-gradient(90deg, var(--c1, #ff6b6b) 0%, var(--c2, #ff8e8e) 100%);
  background-size: 200% 100%;
  background-position: 0 0;
  transition: background-position .35s ease;
  color: #fff; /* ensure readable text on solid bg */
}
.is-gradient:hover { background-position: 100% 0; }

/* Color presets – add as many as you like */
.g-orange { --c1:#f6d365; --c2:#fda085; }
.g-pink   { --c1:#fbc2eb; --c2:#a6c1ee; }
.g-mint   { --c1:#84fab0; --c2:#8fd3f4; }
.g-sky    { --c1:#a1c4fd; --c2:#c2e9fb; }
.g-peach  { --c1:#ffecd2; --c2:#fcb69f; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .is-gradient { transition: none; }
}



.btn-primary {
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 107, 107, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-secondary);
}

.btn-hero {
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    color: white;
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--text-primary);
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-outline:hover {
    background: var(--text-primary);
    color: var(--bg-primary);
}

.btn-form {
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    color: white;
    width: 100%;
    padding: 0.875rem;
    font-size: 1rem;
}

.btn-pricing {
    background: transparent;
    color: #333;
    border: 2px solid #333;
    width: 100%;
    padding: 0.875rem;
}

.btn-pricing.primary {
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    color: white;
    border: none;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 20px 80px;
    background: var(--gradient-hero);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.1;    
    margin-bottom: 0.75rem;    
}

.hero-tagline {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    align-items: center;
    justify-content: center;
}

.hero-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    max-width: 600px;
}

.hero-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    color: var(--text-primary);
}

.hero-features .check {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.hero-description {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;    
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    max-width: 400px;
}

.video-card {
    background: linear-gradient(135deg, #ee7be4, #c595bf);
    color: white;
    padding: 2rem 1rem;
    border-radius: 12px;
    text-align: center;
    font-weight: 500;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.2);
    transition: transform 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
}

/* App Info Section */
.app-info {
    padding: 80px 20px;
    background: var(--bg-secondary);
}

.info-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.info-text h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.info-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.info-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.step-number {
    background: rgb(155, 64, 197);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.phone-mockup {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 30px;
    padding: 15px;
    width: 170px;  
    max-height: 290px;  
    align-items: center;
    justify-content: center;
    margin: auto;
}

.screen {
    background: rgb(62, 14, 94);
    border-radius: 15px;
    padding: 15px;
    width: 140px;
    height: 200px;
    display: flex;
    flex-direction: column;    
    justify-content: center;
    gap: 20px;
}

.profile-row {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;    
}

.profile-avatar {
    width: 45px;
    height: 45px;
    background: rgb(228, 194, 231);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    margin-bottom: 10px;
}

.category-grid {
    display: grid;
    grid-template-columns: .7fr .4fr;
    gap: 22px;      
    justify-content: center;
    flex: 1;    
}

.category {
    background: rgb(228, 194, 231);
    width: 40px;
    height: 40px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    aspect-ratio: 1;
}

/* Features Section */
.features {
    padding: 80px 20px;
    background: var(--bg-primary);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Pricing Section */
.pricing {
    padding: 80px 20px;
    background: var(--bg-secondary);
}

.pricing .section-title {
    color: var(--text-primary);
}

.pricing-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0 3rem;
}

.toggle-label {
    font-weight: 500;
    color: var(--text-primary);
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 15px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background: var(--gradient-primary);
}

input:checked + .toggle-slider:before {
    transform: translateX(30px);
}

.save-badge {
    background: var(--gradient-primary);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    font-size: 0.8rem;
    margin-left: 0.5rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured {
    transform: scale(1.05);
    border: 2px solid #ff6b6b;
    box-shadow: 0 20px 60px rgba(255, 107, 107, 0.2);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.pricing-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.plan-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1;
}

.price .period {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.annual-price {
    display: none;
}

.trial-note {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 1rem;
}

.features-list {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
    padding: 0;
}

.features-list li {
    padding: 0.75rem 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.features-list li:last-child {
    border-bottom: none;
}

.check {
    color: #22c55e;
    font-weight: 600;
}

.cross {
    color: #ef4444;
    font-weight: 600;
}

.pricing-faq {
    max-width: 800px;
    margin: 4rem auto 0;
    text-align: center;
}

.pricing-faq h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    text-align: left;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    border-radius: 12px;
}

.faq-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--card-bg);
    margin: 5% auto;
    padding: 3rem;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

.modal-content.success {
    text-align: center;
}

.close {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.close:hover {
    color: var(--text-primary);
}

.auth-form h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.auth-form p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: var(--card-bg);
    color: var(--text-primary);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #ff6b6b;
}

.auth-switch {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--text-secondary);
}

.auth-switch a {
    color: #ff6b6b;
    text-decoration: none;
}

.auth-switch a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    text-align: center;
    color: var(--text-secondary);
}

/* Loading State */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Error State */
.error {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* Success State */
.success-message {
    color: #28a745;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .info-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .phone-mockup {
        max-width: 250px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .pricing-toggle {
        flex-direction: column;
        gap: 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
        order: -1;
    }
    
    .nav-actions {
        gap: 0.5rem;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 0.45rem 1rem;
        font-size: 0.875rem;
    }
    
    .modal-content {
        margin: 10% auto;
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-hero,
    .btn-outline {
        width: 100%;
    }
}

/* Gradient hover that keeps existing size/shape — high-specificity override */
.btn-hero.is-gradient,
.btn-primary.is-gradient,
.btn-secondary.is-gradient,
.btn-outline.is-gradient,
.btn-form.is-gradient,
.btn-pricing.is-gradient {
  /* Use background-image so we only replace the paint layer */
  background-image: linear-gradient(90deg, var(--c1, #ff6b6b) 0%, var(--c2, #ff8e8e) 100%);
  background-size: 200% 100%;
  background-position: 0 0;
  color: #fff;
}

.btn-hero.is-gradient:hover,
.btn-primary.is-gradient:hover,
.btn-secondary.is-gradient:hover,
.btn-outline.is-gradient:hover,
.btn-form.is-gradient:hover,
.btn-pricing.is-gradient:hover {
  background-position: 100% 0;
}

/* Color presets */
.g-orange { --c1:#f6d365; --c2:#fda085; }
.g-pink   { --c1:#cc66af; --c2:#c43440; }
.g-mint   { --c1:#84fab0; --c2:#8fd3f4; }
.g-sky    { --c1:#a1c4fd; --c2:#c2e9fb; }
.g-peach  { --c1:#ffecd2; --c2:#fcb69f; }
.g-purple  { --c1:#a700e9; --c2:#f57dc7; }
.g-deeppurple  { --c1:#721b8d; --c2:#d1aedf; }


/* Sweeping gradient band that mimics the CodePen look */
.btn-sweep{
  position: relative;           /* create a stacking context */
  overflow: hidden;     /* keep blur/edges inside the rounded button */
  isolation: isolate;           /* keep overlay effects contained */
  color: #fff;
}

/* knobs */
.btn-sweep{
  --angle: 112deg;      /* change this for more/less angle */
  --soft: 20%;          /* width of the blend zone around the center */
 /* --c1: #f6d365;        /* fallback colors (overridden by g-* tokens) */
 /* --c2: #fda085; */
  --mix: color-mix(in oklab, var(--c1) 50%, var(--c2) 50%); /* nicer midpoint */
}


.btn-sweep::before{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;

  /* soft band centered at 50%, angled */
  background-image: linear-gradient(
    var(--angle),
    var(--c1) 0%,
    var(--c1) calc(50% - var(--soft)),
    var(--mix) 50%,
    var(--c1) calc(50% + var(--soft)),
    var(--c1) 100%
  );
  /* big canvas so diagonal sweep has room */
  background-size: 220% 220%;
  background-position: left center;
  transition: background-position .6s ease;
  z-index: -1;

  background-size: 200% 100%;   /* double width so it can slide */
  background-position: left center;
  transition: background-position .9s ease;  /* smooth sweep */
  z-index: -1;                  /* sits behind the label */
}

.btn-sweep:hover::before{
  background-position: right center;  /* diagonal slide */
}

/* Optional presets to tweak quickly */
.sweep-angled  { --angle: 124deg; }
.sweep-soft    { --soft: 26%; }
.sweep-softer  { --soft: 32%; }

/* Lift + shadow without changing size */
.btn-elevate{
  transition: transform .6s ease, box-shadow .3s ease;
  will-change: transform, box-shadow;
}
.btn-elevate:hover{
  transform: translateY(-4px) rotate(0.3deg);
  box-shadow:
    0 10px 24px rgba(0,0,0,.14),
    0 3px 8px rgba(0,0,0,.10);
}
.btn-elevate:active{
  transform: translateY(-1px) rotate(-0.2deg);
  box-shadow:
    0 6px 16px rgba(0,0,0,.12),
    0 2px 6px rgba(0,0,0,.10);
}
.btn-elevate:focus-visible{
  outline: 2px solid rgba(0,0,0,.25);
  outline-offset: 2px;
}

/* Optional: reduce motion */
@media (prefers-reduced-motion: reduce){
  .btn-elevate{ transition: none; }
}








/* === Responsive utilities (non-destructive) === */
:root{
  --bp-sm: 480px;
  --bp-md: 768px;   /* phones/portrait tablets */
  --bp-lg: 1024px;  /* laptops */
}

/* Show/Hide helpers */
.only-desktop { display: block; }
.only-mobile  { display: none;  }



/* === Mobile overrides (max 768px) === */
@media (max-width: var(--bp-md)) {
  /* Global spacing & typography trims */
  body { font-size: 15px; }
  h1 { font-size: clamp(22px, 6vw, 28px); line-height: 1.2; }
  h2 { font-size: clamp(18px, 5vw, 22px); }

  /* Navbar: keep brand + 1–2 actions; hide the rest */
  .navbar { padding: 10px 14px; }
  .nav-container { gap: 8px; }
  .nav-actions .btn-secondary { display: none; } /* e.g., hide "Sign in" or extra buttons */
  .nav-actions .btn-primary { padding: .45rem 1rem; } /* keep primary CTA small */

  /* Hero: stack text above visual, center everything */
  .hero { padding: 28px 16px 16px; }
  .hero-content { text-align: center; margin: 0 auto; max-width: 640px; }
  .hero-title br { display: none; }  /* avoid line-breaks that waste space */
  .hero-subtitle { margin-top: 10px; }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 16px;
  }
  .hero-actions .btn-hero,
  .hero-actions .btn-outline { width: 100%; }

  /* Hero visual/cards: show fewer items, larger tap targets */
  .hero-visual { margin-top: 14px; }
  .video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2-up grid on mobile */
    gap: 10px;
  }
  /* If you have more than 4 feature cards, hide extras on mobile: */
  .video-grid > :nth-child(n+5) { display: none; }

  /* App info / sections: tighten spacing */
  .app-info, .features, .pricing, .faq, .footer {
    padding: 28px 16px;
  }

  /* Products Showcase: stack vertically on mobile */
  .products-showcase {
    padding: 28px 16px;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .product-preview {
    padding: 1rem;
  }

  .product-title {
    font-size: 1.1rem;
  }

  .product-brief {
    font-size: 0.9rem;
  }

  /* Product Details: more compact on mobile */
  .product-details {
    padding: 28px 16px;
  }

  .product-detail-card {
    padding: 1.5rem 1rem;
    margin-bottom: 2rem;
  }

  .product-detail-content h2 {
    font-size: 1.5rem;
  }

  .product-detail-content h4 {
    font-size: 1rem;
  }

  .product-detail-content > p {
    font-size: 0.95rem;
  }

  .product-features li {
    font-size: 0.9rem;
    padding: 0.5rem 0;
  }

  .btn-product {
    width: 100%;
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
  }

  /* Cards/buttons radius stays; just tune padding if needed */
  .btn-hero, .btn-primary, .btn-outline {
    padding: .65rem 1rem;
  }

  /* Make sweep buttons look good on small screens */
  .btn-sweep::before { background-size: 240% 240%; }
}


/* Show/Hide helpers */
.only-desktop { display: block; }
.only-mobile  { display: none;  }

/* Use a hardcoded breakpoint; vars can't be used in @media */
@media (max-width: 768px) {
  .only-desktop { display: none !important; }
  .only-mobile  { display: block !important; }
}



@media (max-width: 768px) {
  .hero{
    /* reduce the top padding so the title sits higher */
    padding: 30px 16px 130px;
    margin: 0 auto;
  }

  .hero-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.1;    
    margin-bottom: 1rem;    
}

  /* optional: tighten vertical rhythm a bit */
  .hero-content{ gap: 1.25rem; }
  .hero-title{ margin-bottom: 1rem; line-height: 1.15; }
  .hero-subtitle{ margin-bottom: 1.25rem; }
}




/* Compact variant for small CTAs (wins over base + mobile rules) */
.nav-actions .btn-primary.btn-compact { padding: .45rem .8rem; }

@media (max-width: 768px){
  .nav-actions .btn-primary.btn-compact { padding: .45rem .8rem; }
}




/* === Glass utilities (reusable) === */
:root {
  --glass-bg: rgba(255, 255, 255, 0.14);
  --glass-border: rgba(255, 255, 255, 0.22);
}
[data-theme="dark"] {
  /* a bit subtler in dark mode */
  --glass-bg: rgba(255, 255, 255, 0.10);
  --glass-border: rgba(255, 255, 255, 0.18);
}

/* Apply to any block you want frosted */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border: 1px solid var(--glass-border);
}

/* Rounded variants you can mix in */
.glass-rounded { border-radius: 14px; }
.glass-pill    { border-radius: 999px; }

/* Nice shadow for cards/panels */
.glass-elevate { box-shadow: 0 8px 20px rgba(0,0,0,0.10); }

/* Fallback for browsers without backdrop-filter */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: rgba(255, 255, 255, 0.12); }
}
