/* ===================================
   CSS Reset & Base Styles
   =================================== */

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

:root {
    /* Colors */
    --primary: #FF6B6B;
    --primary-dark: #E85555;
    --primary-light: #FFE5E5;
    --secondary: #4A9EFF;
    --accent: #FFB84D;
    --success: #4DCC7A;
    --text-dark: #1A1A1A;
    --text-medium: #4A4A4A;
    --text-light: #6B6B6B;
    --bg-light: #FAFAFA;
    --bg-white: #FFFFFF;
    --border: #E5E5E5;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Borders */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ===================================
   Typography
   =================================== */

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: var(--spacing-md);
}

h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--spacing-md);
}

h3 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    margin-bottom: var(--spacing-sm);
}

h4 {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-xs);
}

p {
    color: var(--text-medium);
    font-size: 1.125rem;
    line-height: 1.7;
}

.highlight {
    background: linear-gradient(120deg, var(--primary-light) 0%, var(--primary-light) 100%);
    background-repeat: no-repeat;
    background-size: 100% 40%;
    background-position: 0 88%;
    color: var(--primary);
}

/* ===================================
   Buttons
   =================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

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

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

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-white {
    background: white;
    color: var(--primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
}

.app-store-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #111111;
    color: #ffffff;
    text-decoration: none;
    border-radius: 9999px;
    padding: 0.9rem 1.4rem;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.app-store-badge:hover {
    transform: translateY(-2px);
    background: #000000;
}

.app-store-badge-block {
    width: 100%;
}

.app-store-badge-inline {
    margin-top: var(--spacing-sm);
}

/* ===================================
   Navigation
   =================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: var(--transition);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-sm) 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-dark);
    text-decoration: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.nav-links a {
    color: var(--text-medium);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:not(.btn):hover {
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: var(--transition);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 73px;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--border);
    padding: var(--spacing-md);
    z-index: 999;
}

.mobile-menu.active {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.mobile-menu a {
    color: var(--text-medium);
    text-decoration: none;
    font-weight: 500;
    padding: var(--spacing-sm);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.mobile-menu a:not(.btn):hover {
    background: var(--bg-light);
    color: var(--primary);
}

/* ===================================
   Hero Section
   =================================== */

.hero {
    position: relative;
    padding: calc(var(--spacing-xl) + 73px) 0 var(--spacing-xl);
    background: linear-gradient(135deg, #FFF5F5 0%, #FFFFFF 100%);
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.hero-text {
    z-index: 2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-medium);
    margin-bottom: var(--spacing-md);
    max-width: 600px;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
}

.hero-note {
    font-size: 1rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.phone-mockup {
    width: 100%;
    max-width: 320px;
    aspect-ratio: 9/19.5;
    background: linear-gradient(135deg, #1A1A1A 0%, #2A2A2A 100%);
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 24px;
    background: #1A1A1A;
    border-radius: 0 0 20px 20px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 32px;
    overflow: hidden;
    position: relative;
}

.hero-screenshot {
    width: 108%;
    height: 108%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transform: translate(-4%, -2%);
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: auto;
}

/* ===================================
   Social Proof
   =================================== */

.social-proof {
    padding: var(--spacing-lg) 0;
    background: white;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    text-align: center;
}

.stat h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: var(--spacing-xs);
    font-family: var(--font-display);
}

.stat p {
    color: var(--text-medium);
    font-size: 1rem;
}

/* ===================================
   App Showcase Section
   =================================== */

.app-showcase {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(180deg, white 0%, var(--bg-light) 100%);
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.showcase-phone {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
}

.phone-frame {
    width: 100%;
    max-width: 280px;
    aspect-ratio: 9/19.5;
    background: linear-gradient(135deg, #1A1A1A 0%, #2A2A2A 100%);
    border-radius: 32px;
    padding: 10px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.phone-frame:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 20px;
    background: #1A1A1A;
    border-radius: 0 0 16px 16px;
    z-index: 10;
}

.phone-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 26px;
    display: block;
}

.showcase-caption {
    text-align: center;
    max-width: 280px;
}

.showcase-caption h4 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: var(--spacing-xs);
}

.showcase-caption p {
    font-size: 0.938rem;
    color: var(--text-medium);
}

/* ===================================
   Features Section
   =================================== */

.features {
    padding: var(--spacing-xl) 0;
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-lg);
}

.section-header p {
    font-size: 1.25rem;
    color: var(--text-medium);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.features-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.feature-card {
    background: white;
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.feature-icon {
    margin-bottom: var(--spacing-md);
}

.feature-emoji {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
}

.feature-card h3 {
    font-size: 1.375rem;
    margin-bottom: var(--spacing-sm);
}

.feature-card p {
    color: var(--text-medium);
    font-size: 1rem;
}

/* ===================================
   How It Works
   =================================== */

.how-it-works {
    padding: var(--spacing-xl) 0;
    background: white;
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(220px, 1fr));
    gap: var(--spacing-md);
    align-items: stretch;
    margin-top: var(--spacing-lg);
}

.steps-three {
    grid-template-columns: repeat(3, minmax(220px, 1fr));
}

.step {
    background: var(--bg-light);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    text-align: center;
    min-height: 100%;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    font-size: 1.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    margin: 0 auto var(--spacing-md);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

.step-emoji {
    width: 60px;
    height: 60px;
    background: #fff;
    font-size: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    margin: 0 auto var(--spacing-md);
    box-shadow: var(--shadow-sm);
}

.step-content h3 {
    margin-bottom: var(--spacing-sm);
}

.step-content p {
    font-size: 1rem;
    color: var(--text-medium);
}

.step-arrow {
    display: none;
}

/* ===================================
   Pricing Section
   =================================== */

.pricing {
    padding: var(--spacing-xl) 0;
    background: var(--bg-light);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-cards-two {
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    max-width: 900px;
}

.pricing-card {
    background: white;
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

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

.pricing-card-featured {
    border: 3px solid var(--primary);
    box-shadow: var(--shadow-md);
}

.pricing-card-featured:hover {
    box-shadow: var(--shadow-lg);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

.pricing-card-annual {
    border: 3px solid #ffbe3d;
    box-shadow: var(--shadow-md);
}

.pricing-card-annual:hover {
    box-shadow: var(--shadow-lg);
}

.pricing-badge-annual {
    background: linear-gradient(135deg, #ffbe3d 0%, #f59e0b 100%);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}

.pricing-header {
    text-align: center;
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--border);
    margin-bottom: var(--spacing-md);
}

.pricing-header h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.price {
    margin: var(--spacing-sm) 0;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    font-family: var(--font-display);
}

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

.price-description {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: var(--spacing-xs);
}

.pricing-features {
    list-style: none;
    flex-grow: 1;
    margin-bottom: var(--spacing-md);
}

.pricing-features li {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-size: 1rem;
    color: var(--text-medium);
    padding-left: 1.15rem;
    position: relative;
}

.pricing-features li::before {
    content: "•";
    color: var(--primary);
    position: absolute;
    left: 0;
}

.pricing-features li strong {
    color: var(--text-dark);
    font-weight: 600;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.pricing-note {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: var(--spacing-sm);
}

/* ===================================
   FAQ Section
   =================================== */

.faq-section {
    padding: var(--spacing-xl) 0;
    background: white;
}

.roadmap {
    padding: var(--spacing-xl) 0;
    background: #fff9f1;
}

.notice-box {
    max-width: 860px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #ffd9b6;
    border-left: 6px solid #ff9f43;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: var(--spacing-md);
}

.notice-box h3,
.notice-box h4 {
    margin-bottom: var(--spacing-sm);
}

.notice-box h4 {
    margin-top: var(--spacing-md);
}

.notice-box p {
    margin-bottom: var(--spacing-sm);
}

.notice-box ul {
    margin: 0 0 var(--spacing-sm) 1.25rem;
}

.notice-box li {
    color: var(--text-medium);
    margin-bottom: 0.35rem;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-sm);
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.faq-question {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-sm);
    padding: 1.25rem 1.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-primary);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question span {
    flex: 1;
}

.faq-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--text-light);
    transition: transform 0.3s ease, color 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-item.active .faq-question {
    color: var(--primary);
}

.faq-answer {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    font-size: 1rem;
    color: var(--text-medium);
    line-height: 1.7;
    margin: 0;
    padding: 1rem 1.5rem 1.5rem 1.5rem;
    border-top: 1px solid var(--border);
}

/* ===================================
   Legal Pages
   =================================== */

.legal-page {
    padding: calc(var(--spacing-xl) + 73px) 0 var(--spacing-xl);
    background: var(--bg-light);
    min-height: 100vh;
}

.legal-content {
    max-width: 860px;
    margin: 0 auto;
    background: white;
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.legal-content h1 {
    font-size: 2.25rem;
    margin-bottom: var(--spacing-sm);
}

.legal-content .last-updated {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: var(--spacing-lg);
}

.legal-content h2 {
    font-size: 1.4rem;
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
    font-family: var(--font-primary);
}

.legal-content p,
.legal-content li {
    font-size: 1rem;
    color: var(--text-medium);
}

.legal-content ul {
    margin-bottom: var(--spacing-sm);
    padding-left: 1.25rem;
}

.legal-content li {
    margin-bottom: 0.4rem;
}

.legal-content .highlight-box {
    background: #fff4e8;
    border: 1px solid #ffd9b6;
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    margin: var(--spacing-md) 0;
}

.privacy-content {
    max-width: 1040px;
}

.privacy-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.privacy-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    background: #ffffff;
}

.privacy-card h2 {
    margin-top: 0;
    margin-bottom: 0.65rem;
    font-size: 1.2rem;
}

.privacy-card p:last-child,
.privacy-card ul:last-child {
    margin-bottom: 0;
}

/* ===================================
   Not Found Page
   =================================== */

.not-found-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.not-found-content {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

.not-found-cta {
    justify-content: center;
}

/* ===================================
   Footer
   =================================== */

.footer {
    background: var(--text-dark);
    color: white;
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
    margin-bottom: var(--spacing-sm);
    color: white;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

.footer-tagline {
    margin-top: var(--spacing-xs);
    font-size: 0.875rem !important;
    color: rgba(255, 255, 255, 0.5) !important;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.footer-column h4 {
    color: white;
    margin-bottom: var(--spacing-sm);
    font-size: 1rem;
}

.footer-column a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.875rem;
    margin-bottom: var(--spacing-xs);
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--primary);
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-sm);
}

.footer-bottom-legal {
    justify-content: space-between;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.legal-footer {
    padding-bottom: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-footer .footer-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
    margin-bottom: 0.9rem;
}

.legal-footer .footer-links a {
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    font-size: 0.95rem;
}

.legal-footer .footer-links a:hover {
    color: #ffffff;
}

.security-badge {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(77, 204, 122, 0.45);
    background: rgba(77, 204, 122, 0.15);
    color: #9af0b6 !important;
    border-radius: 9999px;
    padding: 0.35rem 0.75rem;
}

.footer-note {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.75);
    text-align: center;
    margin: 0 auto;
    max-width: 720px;
}

.footer-note a {
    color: #ffffff;
    text-decoration: none;
}

.footer-note a:hover {
    text-decoration: underline;
}

.scroll-top-btn {
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: #fff9f9;
    color: #1a1a1a;
    border-radius: 9999px;
    padding: 0.5rem 0.7rem;
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    transition: var(--transition);
}

.scroll-top-btn:hover {
    border-color: rgba(0, 0, 0, 0.25);
    transform: translateY(-2px);
}

.scroll-top-fab {
    position: fixed;
    right: max(1rem, env(safe-area-inset-right));
    bottom: max(1rem, env(safe-area-inset-bottom));
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 2000;
}

.scroll-top-fab.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* ===================================
   Security Page
   =================================== */

.security-content {
    max-width: 900px;
}

.security-scorecard {
    margin: var(--spacing-md) 0;
}

.security-scorecard img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

.security-scorecard figcaption {
    margin-top: 0.5rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ===================================
   Animations
   =================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.fade-in:nth-child(1) { animation-delay: 0.1s; }
.fade-in:nth-child(2) { animation-delay: 0.2s; }
.fade-in:nth-child(3) { animation-delay: 0.3s; }

.slide-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s ease-out;
}

.slide-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 1024px) {
    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid,
    .features-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps {
        grid-template-columns: repeat(2, minmax(220px, 1fr));
        gap: var(--spacing-md);
    }

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

    .pricing-cards {
        grid-template-columns: repeat(2, 1fr);
        max-width: 900px;
    }

    .pricing-cards-two {
        grid-template-columns: 1fr;
        max-width: 560px;
    }
}

@media (min-width: 1025px) {
    .privacy-cards {
        grid-template-columns: 1fr 1fr;
        gap: 1.2rem;
    }

    .privacy-card {
        height: 100%;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-subtitle,
    .hero-note {
        max-width: 100%;
        justify-content: center;
    }

    .hero-cta {
        justify-content: center;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

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

    .features-grid,
    .features-grid-3 {
        grid-template-columns: 1fr;
    }

    .pricing-cards {
        grid-template-columns: 1fr;
    }

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

    .steps-three {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }

    .legal-footer .footer-links {
        grid-template-columns: none;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-legal {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
    }

    .scroll-top-btn {
        width: auto;
    }

    .scroll-top-fab {
        right: max(0.85rem, env(safe-area-inset-right));
        bottom: max(0.85rem, env(safe-area-inset-bottom));
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}

@media (max-width: 640px) {
    :root {
        --spacing-md: 1.5rem;
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .btn-large {
        padding: 1rem 1.75rem;
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }

    .phone-mockup {
        max-width: 260px;
    }

    .footer-links {
        grid-template-columns: 1fr;
        text-align: center;
    }
}
