/*!
 * Snapflo Main CSS
 * Shared styles for all pages
 */

/* =============================================
   CSS RESET & BASE STYLES
   ============================================= */

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

body {
    font-family: 'Arial', sans-serif;
    background: #131313;
    color: #ffffff;
    overflow-x: hidden;
    line-height: 1.6;
}

/* =============================================
   SNAPFLO BRAND COLORS
   ============================================= */

:root {
    --snapflo-orange: #f6820c;
    --snapflo-blue: #4286f5;
    --snapflo-dark: #131313;
    --snapflo-dark-light: #1a1a1a;
    --snapflo-success: #4CAF50;
    --snapflo-white: #ffffff;
    --snapflo-white-90: rgba(255, 255, 255, 0.9);
    --snapflo-white-85: rgba(255, 255, 255, 0.85);
    --snapflo-white-70: rgba(255, 255, 255, 0.7);
    --snapflo-white-60: rgba(255, 255, 255, 0.6);
}

/* =============================================
   ANIMATED BACKGROUND
   ============================================= */

.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #131313, #1a1a1a, #3c5a99, #f6820c);
    background-size: 400% 400%;
    /*animation: gradientShift 20s ease infinite;*/
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Floating particles */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: linear-gradient(45deg, var(--snapflo-orange), #fff);
    border-radius: 50%;
    /* animation: float 25s infinite linear;*/
    opacity: 0.6;
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Page-specific particle modifications */
.page-legal .particle {
    width: 3px;
    height: 3px;
    opacity: 0.3; /* Reduced for readability */
}

/* =============================================
   HEADER
   ============================================= */

header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 15px 50px;
    background: rgba(19, 19, 19, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(246, 130, 12, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 60px;
    width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    /* Placeholder styling - replace with actual logo */
}

/* Navigation Menu */
.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    color: var(--snapflo-white-85);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--snapflo-orange);
    background: rgba(246, 130, 12, 0.1);
}

.nav-link.active {
    color: var(--snapflo-orange);
    background: rgba(246, 130, 12, 0.15);
    border: 1px solid rgba(246, 130, 12, 0.3);
}

.nav-link.active::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: var(--snapflo-orange);
    border-radius: 1px;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--snapflo-white);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
    background: var(--snapflo-orange);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
    background: var(--snapflo-orange);
}

/* =============================================
   TYPOGRAPHY SYSTEM
   ============================================= */

/* Main page headings */
h1 {
    font-size: clamp(2.5rem, 5vw, 5rem);
    font-weight: 900;
    background: linear-gradient(45deg, var(--snapflo-orange), #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    animation: slideUp 1s ease-out 0.5s both;
    line-height: 1.1;
    word-wrap: break-word;
}

/* Legal page headings */
.page-legal h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    text-align: center;
    border-bottom: 3px solid var(--snapflo-orange);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    animation: none; /* Remove slide animation for legal pages */
}

h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 30px;
    background: linear-gradient(45deg, var(--snapflo-orange), #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    font-weight: bold;
}

/* Legal page h2 styling */
.page-legal h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin: 2rem 0 1rem 0;
    text-align: left;
    border-left: 4px solid var(--snapflo-orange);
    padding-left: 1rem;
}

h3 {
    font-size: 1.2rem;
    margin: 1.5rem 0 0.75rem 0;
    color: var(--snapflo-white);
    font-weight: 600;
}

.page-legal h3 {
    font-size: 1.3rem;
}

/* Body text */
p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--snapflo-white-90);
}

.page-legal p {
    font-size: 1.1rem;
    line-height: 1.8; /* Enhanced for legal content */
    margin-bottom: 0.75rem;
}

/* Lists */
ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

li {
    margin-bottom: 0.5rem;
    color: var(--snapflo-white-85);
}

.page-legal li {
    margin-bottom: 0.5rem;
}

.page-legal li::marker {
    color: var(--snapflo-orange);
}

strong {
    color: var(--snapflo-white);
    font-weight: 600;
}

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

/* =============================================
   LAYOUT COMPONENTS
   ============================================= */

/* Hero Section */
.hero {
    min-height: 100vh;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 50px 80px;
}

.hero-container {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    z-index: 10;
}

.hero-content {
    text-align: left;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-placeholder {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, rgba(246, 130, 12, 0.1), rgba(66, 134, 245, 0.1));
    border: 2px dashed rgba(246, 130, 12, 0.5);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--snapflo-white-60);
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
}

.hero-image-placeholder::before {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: rgba(246, 130, 12, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-placeholder .placeholder-icon {
    font-size: 48px;
    color: var(--snapflo-orange);
    margin-bottom: 20px;
}

.hero .subtitle {
    font-size: clamp(1.2rem, 3vw, 2rem);
    margin-bottom: 15px;
    color: var(--snapflo-white-90);
    animation: slideUp 1s ease-out 0.7s both;
}

.hero .coming-soon {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    color: var(--snapflo-success);
    margin-bottom: 40px;
    animation: slideUp 1s ease-out 0.9s both;
}

/* Sections */
.section {
    padding: 100px 50px;
    max-width: 1200px;
    margin: 0 auto;
}

/* General page container */
.container {
    max-width: 1200px;
    margin: 120px auto 40px;
    padding: 60px;
    background: var(--snapflo-dark-light);
    border: 1px solid rgba(246, 130, 12, 0.2);
    border-radius: 16px;
    box-shadow: 0 4px 8px rgba(246, 130, 12, 0.1);
    position: relative;
    z-index: 10;
}

/* Legal page container - narrower for better readability */
.page-legal .container {
    max-width: 900px;
}

/* About page specific styles */
.team-section {
    margin-top: 40px;
}

.team-values {
    background: rgba(246, 130, 12, 0.05);
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid var(--snapflo-orange);
    margin-top: 20px;
}

.team-values h3 {
    margin-bottom: 20px;
    color: var(--snapflo-orange);
}

.cta-section {
    text-align: center;
    background: linear-gradient(135deg, rgba(246, 130, 12, 0.1), rgba(66, 134, 245, 0.1));
    padding: 40px;
    border-radius: 16px;
    margin-top: 40px;
    border: 1px solid rgba(246, 130, 12, 0.2);
}

/* About page heading styles - consistent with legal pages */
.container h1 {
    animation: none;
    font-size: clamp(2.5rem, 5vw, 4rem);
    text-align: center;
    border-bottom: 3px solid var(--snapflo-orange);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.container h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin: 2rem 0 1rem 0;
    text-align: left;
    border-left: 4px solid var(--snapflo-orange);
    padding-left: 1rem;
}

/* =============================================
   INTERACTIVE ELEMENTS
   ============================================= */

/* CTA Buttons */
.cta-container {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    flex-wrap: wrap;
    animation: slideUp 1s ease-out 1.1s both;
}

.cta-btn {
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cta-primary {
    background: var(--snapflo-orange);
    color: white;
    box-shadow: 0 4px 20px rgba(246, 130, 12, 0.3);
}

.cta-secondary {
    background: transparent;
    color: var(--snapflo-blue);
    border: 2px solid var(--snapflo-blue);
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(246, 130, 12, 0.4);
}

.cta-secondary:hover {
    background: rgba(66, 134, 245, 0.1);
    box-shadow: 0 8px 25px rgba(66, 134, 245, 0.2);
}

/* Email Signup */
.email-signup {
    display: flex;
    max-width: 500px;
    margin: 30px auto;
    gap: 15px;
}

.email-input {
    flex: 1;
    padding: 16px 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: var(--snapflo-dark-light);
    color: white;
    font-size: 16px;
}

.email-input::placeholder {
    color: var(--snapflo-white-60);
}

.email-input:focus {
    outline: none;
    border-color: var(--snapflo-orange);
    box-shadow: 0 0 0 2px rgba(246, 130, 12, 0.2);
}

.email-btn {
    padding: 16px 30px;
    background: var(--snapflo-orange);
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.email-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(246, 130, 12, 0.3);
}

/* =============================================
   CARDS & SPECIAL SECTIONS
   ============================================= */

/* Vision Section */
.vision {
    background: var(--snapflo-dark-light);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    margin: 50px 0;
    padding: 60px;
    border: 1px solid rgba(246, 130, 12, 0.2);
    box-shadow: 0 4px 8px rgba(246, 130, 12, 0.1);
}

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

.feature-card {
    background: var(--snapflo-dark-light);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(246, 130, 12, 0.2);
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(246, 130, 12, 0.2);
    border-color: rgba(246, 130, 12, 0.4);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: rgba(246, 130, 12, 0.15);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: var(--snapflo-orange);
}

/* Beta Program */
.beta-program {
    text-align: center;
    background: linear-gradient(135deg, rgba(246, 130, 12, 0.1), rgba(66, 134, 245, 0.1));
    border-radius: 16px;
    padding: 60px;
    margin: 50px 0;
    border: 1px solid rgba(246, 130, 12, 0.2);
}

.beta-badge {
    display: inline-block;
    background: var(--snapflo-orange);
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    margin-bottom: 30px;
    /* animation: pulse 2s infinite; */
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Action Cards */
.action-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    margin: 50px 0;
}

.action-card {
    background: var(--snapflo-dark-light);
    padding: 24px;
    border-radius: 16px;
    border: 1px solid rgba(66, 134, 245, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 16px;
}

.action-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(66, 134, 245, 0.2);
    border-color: rgba(66, 134, 245, 0.5);
}

.action-card.primary {
    border-color: rgba(246, 130, 12, 0.3);
}

.action-card.primary:hover {
    box-shadow: 0 10px 30px rgba(246, 130, 12, 0.2);
    border-color: rgba(246, 130, 12, 0.5);
}

.action-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
}

.action-icon.primary {
    background: rgba(246, 130, 12, 0.15);
    color: var(--snapflo-orange);
}

.action-icon.secondary {
    background: rgba(66, 134, 245, 0.15);
    color: var(--snapflo-blue);
}

.action-icon.success {
    background: rgba(76, 175, 80, 0.15);
    color: var(--snapflo-success);
}

.action-icon.warning {
    background: rgba(220, 38, 38, 0.15);
    color: #DC2626;
}

.action-content {
    flex: 1;
}

.action-content h3 {
    font-size: 22px;
    font-weight: 600;
    color: white;
    margin-bottom: 4px;
}

.action-content p {
    font-size: 14px;
    color: var(--snapflo-white-70);
    margin: 0;
}

.action-arrow {
    color: var(--snapflo-blue);
    font-size: 20px;
    flex-shrink: 0;
}

.action-card.primary .action-arrow {
    color: var(--snapflo-orange);
}

/* =============================================
   LEGAL PAGE SPECIFIC STYLES
   ============================================= */

.page-legal .intro-text {
    font-size: 1.2rem;
    color: var(--snapflo-white-90);
    background: rgba(246, 130, 12, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--snapflo-orange);
    margin-bottom: 2rem;
}

.page-legal .effective-date {
    text-align: center;
    color: var(--snapflo-orange);
    font-style: italic;
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(246, 130, 12, 0.1);
    border: 1px solid rgba(246, 130, 12, 0.3);
    border-radius: 12px;
}

.page-legal .contact-info {
    background: var(--snapflo-dark-light);
    border: 1px solid rgba(66, 134, 245, 0.3);
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 2rem;
}

.page-legal .footer-note {
    font-style: italic;
    color: var(--snapflo-white-70);
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(246, 130, 12, 0.2);
}

/* =============================================
   LOGIN & AUTHENTICATION PAGES
   ============================================= */

.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 80px;
}

.auth-wrapper {
    background: var(--snapflo-dark-light);
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    max-width: 500px;
    border: 1px solid rgba(246, 130, 12, 0.2);
    box-shadow: 0 8px 32px rgba(246, 130, 12, 0.1);
    position: relative;
    z-index: 10;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.auth-header p {
    color: var(--snapflo-white-70);
    font-size: 1rem;
}

.auth-tabs {
    display: flex;
    border-radius: 12px;
    background: rgba(246, 130, 12, 0.1);
    padding: 4px;
    margin-bottom: 30px;
}

.auth-tab {
    flex: 1;
    background: none;
    border: none;
    padding: 12px 20px;
    border-radius: 10px;
    color: var(--snapflo-white-70);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.auth-tab.active {
    background: var(--snapflo-orange);
    color: white;
    transform: scale(1.02);
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--snapflo-white);
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: var(--snapflo-dark);
    color: white;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--snapflo-orange);
    box-shadow: 0 0 0 3px rgba(246, 130, 12, 0.1);
}

.password-input {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--snapflo-white-60);
    cursor: pointer;
    padding: 4px;
}

.form-hint {
    display: block;
    color: var(--snapflo-white-60);
    font-size: 14px;
    margin-top: 5px;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 10px;
}

.checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.4;
}

.checkbox-wrapper input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.forgot-password {
    color: var(--snapflo-orange);
    text-decoration: none;
    font-size: 14px;
}

.forgot-password:hover {
    text-decoration: underline;
}

.auth-btn {
    width: 100%;
    padding: 14px 20px;
    background: var(--snapflo-orange);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
}

.auth-btn:hover {
    background: #e5740b;
    transform: translateY(-1px);
}

.social-login {
    margin-top: 20px;
}

.divider {
    text-align: center;
    margin: 20px 0;
    position: relative;
    color: var(--snapflo-white-60);
    font-size: 14px;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.divider span {
    background: var(--snapflo-dark-light);
    padding: 0 15px;
    position: relative;
    z-index: 2;
}

.social-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.social-btn {
    padding: 12px 16px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: transparent;
    color: var(--snapflo-white-85);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
}

.social-btn:hover {
    border-color: var(--snapflo-orange);
    background: rgba(246, 130, 12, 0.1);
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 12px;
    color: var(--snapflo-white-60);
    line-height: 1.4;
}

.auth-footer a {
    color: var(--snapflo-orange);
    text-decoration: none;
}

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

/* =============================================
   SOCIAL & COMMUNITY
   ============================================= */

/* Stay Connected */
.stay-connected {
    text-align: center;
    padding: 80px 50px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--snapflo-orange);
    border-radius: 16px;
    color: white;
    text-decoration: none;
    font-size: 24px;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px rgba(246, 130, 12, 0.4);
}

.social-link.secondary {
    background: var(--snapflo-blue);
}

.social-link.secondary:hover {
    box-shadow: 0 10px 30px rgba(66, 134, 245, 0.4);
}

/* Status indicators */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.status-badge.complete {
    background: rgba(76, 175, 80, 0.2);
    color: var(--snapflo-success);
    border: 1px solid rgba(76, 175, 80, 0.5);
}

.status-badge.pending {
    background: rgba(66, 134, 245, 0.2);
    color: var(--snapflo-blue);
    border: 1px solid rgba(66, 134, 245, 0.5);
}

/* =============================================
   FOOTER
   ============================================= */

footer {
    background: var(--snapflo-dark-light);
    padding: 50px;
    text-align: center;
    border-top: 1px solid rgba(246, 130, 12, 0.2);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--snapflo-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--snapflo-orange);
}

/* =============================================
   ANIMATIONS & EFFECTS
   ============================================= */

/* Scroll reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

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

/* Staggered animations for action cards */
.action-card {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUpStagger 0.6s ease-out forwards;
}

.action-card:nth-child(1) { animation-delay: 0.1s; }
.action-card:nth-child(2) { animation-delay: 0.2s; }
.action-card:nth-child(3) { animation-delay: 0.3s; }
.action-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes slideUpStagger {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Page-specific animation controls */
.page-legal .action-card {
    animation: none; /* Remove stagger for legal pages */
    opacity: 1;
    transform: none;
}

/* =============================================
   RESPONSIVE DESIGN
   ============================================= */

/* Mobile responsive for hero */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-content {
        text-align: center;
        order: 2;
    }

    .hero-image {
        order: 1;
    }

    .hero-image-placeholder {
        max-width: 300px;
        aspect-ratio: 4/5;
    }
}

/* Mobile CTA centering */
@media (max-width: 768px) {
    .cta-container {
        justify-content: center;
    }
}

/* General mobile responsive */
@media (max-width: 768px) {
    .section {
        padding: 50px 20px;
    }
    
    .vision, .beta-program {
        padding: 40px 20px;
    }
    
    header {
        padding: 20px;
    }
    
    .hamburger {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--snapflo-dark-light);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 100px 30px 30px;
        transition: right 0.3s ease;
        border-left: 1px solid rgba(246, 130, 12, 0.2);
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
        z-index: 1000;
        gap: 0;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .nav-link {
        width: 100%;
        padding: 15px 20px;
        border-radius: 8px;
        margin-bottom: 10px;
        font-size: 16px;
        text-align: left;
        border: 1px solid transparent;
    }
    
    .nav-link:hover,
    .nav-link.active {
        background: rgba(246, 130, 12, 0.15);
        border-color: rgba(246, 130, 12, 0.3);
    }
    
    .nav-link.active::before {
        display: none;
    }
    
    /* Overlay when nav is open */
    body.nav-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }
    
    .email-signup {
        flex-direction: column;
    }

    .action-card {
        flex-direction: column;
        text-align: center;
    }

    .action-content {
        text-align: center;
    }

    /* Legal page mobile */
    .page-legal .container {
        margin: 100px 20px 20px;
        padding: 40px 30px;
    }
    
    .page-legal h1 {
        font-size: 2rem;
    }
    
    .page-legal h2 {
        font-size: 1.5rem;
    }

    .page-legal p,
    .page-legal li {
        font-size: 1rem;
    }

    /* Login page mobile styles */
    .login-container {
        padding: 100px 15px 60px;
    }
    
    .auth-wrapper {
        padding: 30px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .social-buttons {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .checkbox-wrapper {
        font-size: 13px;
    }
}