:root {
    --primary: #1fa37a;
    --primary-dark: #178f68;
    --primary-light: #4fd4a8;
    --primary-gradient: linear-gradient(135deg, #1fa37a 0%, #178f68 100%);

    --secondary: #ff3d00;
    --secondary-dark: #d32f00;
    --secondary-light: #ff6b3d;

    --text: #222;
    --text-light: #666;
    --text-lighter: #999;
    --text-inverse: #ffffff;

    --bg: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-tertiary: #f0f2f5;
    --white: #ffffff;

    --border-color: #e0e0e0;
    --border-color-light: #f0f0f0;
    --border-color-dark: #d0d0d0;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-hover: 0 8px 24px rgba(31, 163, 122, 0.15);
    --shadow-glow: 0 0 20px rgba(31, 163, 122, 0.3);

    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;

    --font-primary: "Roboto", sans-serif;
    --font-heading: "Bebas Neue", sans-serif;
    --font-serif: "Merriweather", serif;

    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 2rem;
    --text-4xl: 2.5rem;

    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);

    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.25rem;
    --radius-full: 9999px;

    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
}

/* dark-theme */
[data-theme="dark"] {
    --text: #e0e0e0;
    --text-light: #b0b0b0;
    --text-lighter: #888;
    --text-inverse: #1a1a1a;
    
    --bg: #1a1a1a;
    --bg-secondary: #222;
    --bg-tertiary: #2a2a2a;
    --white: #2a2a2a;
    
    --border-color: #444;
    --border-color-light: #333;
    --border-color-dark: #555;
    
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
    --shadow-hover: 0 8px 24px rgba(31, 163, 122, 0.3);
    --shadow-glow: 0 0 20px rgba(31, 163, 122, 0.4);
}

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

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

body {
    font-family: var(--font-primary);
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.6;
    transition: background-color var(--transition-base), color var(--transition-base);
    min-height: 100vh;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text);
    letter-spacing: 0.5px;
}

p {
    margin-bottom: var(--space-md);
    color: var(--text-light);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover,
a:focus {
    color: var(--primary-dark);
    outline: none;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius);
    z-index: 9999;
    transition: top var(--transition-base);
}

.skip-link:focus {
    top: var(--space-md);
}

/* HEADER */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg) 8%;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
    transition: all var(--transition-base);
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
}

[data-theme="dark"] .header {
    background-color: rgba(42, 42, 42, 0.95);
    box-shadow: var(--shadow-md);
}

/* Toast Notifications */
#toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: var(--z-tooltip);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.toast {
    background: var(--white);
    color: var(--text);
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transform: translateX(120%);
    transition: transform var(--transition-base);
    border-left: 4px solid var(--primary);
    min-width: 300px;
}

.toast.show {
    transform: translateX(0);
}

.toast-success i { color: var(--primary); }
.toast-error { border-left-color: var(--secondary); }
.toast-error i { color: var(--secondary); }

/* Custom Modal */
.custom-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: var(--z-modal);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-base);
    backdrop-filter: blur(4px);
}

.custom-modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.custom-modal {
    background: var(--bg);
    padding: 2rem;
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 400px;
    box-shadow: var(--shadow-xl);
    transform: scale(0.9);
    transition: transform var(--transition-base);
}

.custom-modal-overlay.active .custom-modal {
    transform: scale(1);
}

.custom-modal h3 {
    margin-bottom: 1rem;
    color: var(--text);
}

.custom-modal p {
    margin-bottom: 2rem;
    color: var(--text-light);
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

/* Button Utilities */
.btn-primary, .btn-secondary, .btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
    text-decoration: none;
    font-size: var(--text-base);
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 4px 12px rgba(31, 163, 122, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(31, 163, 122, 0.4);
    color: white;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

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

.logo img {
    height: 45px;
    display: block;
    transition: transform var(--transition-base);
}

.logo:hover img {
    transform: rotate(-5deg) scale(1.1);
}

.logo span {
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

.logo .plus {
    color: var(--primary);
    font-weight: 700;
}

/* Navigation */
.navbar {
    display: flex;
    gap: var(--space-xl);
    align-items: center;
}

.navbar a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: var(--text-base);
    transition: all var(--transition-base);
    position: relative;
    padding: var(--space-xs) 0;
    display: inline-block;
}

.navbar a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: width var(--transition-base), left var(--transition-base);
    border-radius: var(--radius-full);
}

.navbar a:hover::before,
.navbar a.active::before {
    width: 100%;
    left: 0;
    transform: translateX(0);
}

.navbar a:hover,
.navbar a:focus {
    color: var(--primary);
    outline: none;
}

.navbar a.active {
    color: var(--primary);
    font-weight: 600;
}

.navbar a:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 4px;
    border-radius: var(--radius);
}

[data-theme="dark"] .navbar a {
    color: var(--text);
}

[data-theme="dark"] .navbar a:hover,
[data-theme="dark"] .navbar a.active {
    color: var(--primary-light);
}

/* BUTTONS */
.btn,
.btn-primary,
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 0.875rem 1.75rem;
    border: 2px solid var(--primary);
    border-radius: var(--radius);
    font-size: var(--text-base);
    font-weight: 600;
    font-family: var(--font-primary);
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    background-color: var(--primary);
    color: var(--text-inverse);
    min-height: 44px;
}

.btn::before,
.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before,
.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn:hover,
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

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

.btn:focus-visible,
.btn-primary:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
    box-shadow: var(--shadow-glow);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--text-inverse);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

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

.btn-secondary:hover {
    background-color: var(--primary);
    color: var(--text-inverse);
}

/* Auth Buttons */
.auth-buttons {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.theme-toggle {
    padding: var(--space-sm);
    background-color: transparent;
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    color: var(--text-light);
    cursor: pointer;
    transition: all var(--transition-base);
    font-size: var(--text-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    min-width: 44px;
    min-height: 44px;
    position: relative;
    overflow: hidden;
}

.theme-toggle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--primary-gradient);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
    opacity: 0.1;
}

.theme-toggle:hover::before {
    width: 100%;
    height: 100%;
}

.theme-toggle:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px) rotate(15deg);
    box-shadow: var(--shadow);
}

.theme-toggle:active {
    transform: translateY(0) rotate(0deg) scale(0.95);
}

.theme-toggle:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

.user-email {
    font-size: var(--text-sm);
    color: var(--text-light);
    font-weight: 500;
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius);
    background-color: var(--bg-secondary);
}

/* MOBILE MENU */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    color: var(--text);
    font-size: 24px;
    cursor: pointer;
    padding: 8px 12px;
    transition: all var(--transition-base);
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
}

.mobile-menu-toggle:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.mobile-menu-toggle:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 85px;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    z-index: var(--z-dropdown);
    padding: 20px;
    transform: translateY(-100%);
    opacity: 0;
    transition: all var(--transition-base);
    max-height: calc(100vh - 85px);
    overflow-y: auto;
}

.mobile-menu.active {
    display: block;
    transform: translateY(0);
    opacity: 1;
}

.mobile-menu a {
    display: block;
    padding: 16px;
    color: var(--text);
    text-decoration: none;
    border-bottom: 1px solid var(--border-color);
    font-weight: 500;
    transition: all var(--transition-base);
    border-radius: var(--radius);
    margin-bottom: 4px;
}

.mobile-menu a:hover,
.mobile-menu a.active {
    color: var(--primary);
    padding-left: 24px;
    background: rgba(31, 163, 122, 0.05);
}

[data-theme="dark"] .mobile-menu {
    background-color: var(--white);
}

[data-theme="dark"] .mobile-menu a:hover,
[data-theme="dark"] .mobile-menu a.active {
    background: rgba(31, 163, 122, 0.1);
}

/* HEROSECTION */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6.25rem 8% 5rem;
    gap: 3.75rem;
    min-height: calc(100vh - 85px);
    background-color: var(--bg);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(31, 163, 122, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.1); }
}

.hero-left {
    max-width: 550px;
    flex: 1;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease-out;
}

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

.hero-left h2 {
    color: var(--primary);
    font-size: var(--text-base);
    margin-bottom: var(--space-md);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: var(--font-primary);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-left h1 {
    font-size: 3.25rem;
    line-height: 1.2;
    margin-bottom: var(--space-xl);
    color: var(--text);
    font-weight: 700;
    font-family: var(--font-heading);
    letter-spacing: 1px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-left p {
    font-size: var(--text-lg);
    color: var(--text-light);
    margin-bottom: var(--space-2xl);
    line-height: 1.7;
    font-family: var(--font-serif);
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-cta {
    display: flex;
    gap: var(--space-lg);
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.hero-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    animation: fadeInRight 1s ease-out 0.8s both;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-right img {
    width: 100%;
    max-width: 600px;
    height: auto;
    display: block;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1));
    transition: transform var(--transition-slow);
}

@media (hover: hover) {
    .hero-right:hover img {
        transform: scale(1.05) rotate(2deg);
    }
}

/* TRUSTSECTION */
.trust-section {
    padding: var(--space-3xl) 8%;
    background: linear-gradient(135deg, rgba(31, 163, 122, 0.03) 0%, rgba(31, 163, 122, 0.08) 100%);
}

[data-theme="dark"] .trust-section {
    background: linear-gradient(135deg, rgba(31, 163, 122, 0.05) 0%, rgba(31, 163, 122, 0.1) 100%);
}

.trust-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    flex: 1;
    min-width: 200px;
}

.trust-badge:hover {
    transform: translateY(-5px);
    background: var(--white);
    box-shadow: var(--shadow);
}

.trust-badge i {
    font-size: 42px;
    color: var(--primary);
    margin-bottom: 8px;
    transition: all var(--transition-base);
}

.trust-badge:hover i {
    transform: scale(1.1);
}

.trust-badge h3 {
    font-size: 18px;
    color: var(--text);
    font-weight: 600;
    margin: 0;
    font-family: var(--font-primary);
}

.trust-badge p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

/* FEATURES SECTION */
.features-section {
    padding: var(--space-3xl) 8%;
    background-color: var(--bg);
}

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

.features-container h2 {
    text-align: center;
    font-size: var(--text-4xl);
    margin-bottom: var(--space-md);
    color: var(--text);
}

.features-subtitle {
    text-align: center;
    font-size: var(--text-lg);
    color: var(--text-light);
    margin-bottom: var(--space-2xl);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
}

.feature-card {
    background: var(--white);
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
    transition: all var(--transition-base);
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(31, 163, 122, 0.2);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    transition: all var(--transition-base);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-icon i {
    font-size: 36px;
    color: var(--white);
}

.feature-card h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-sm);
    color: var(--text);
    font-family: var(--font-primary);
    font-weight: 600;
}

.feature-card p {
    color: var(--text-light);
    font-size: var(--text-sm);
    margin: 0;
}

[data-theme="dark"] .feature-card {
    background-color: var(--white);
}

/* HOW IT WORKS SECTION */
.how-it-works {
    padding: var(--space-3xl) 8%;
    background: var(--bg-secondary);
}

.how-it-works .container {
    max-width: 1200px;
    margin: 0 auto;
}

.how-it-works h2 {
    text-align: center;
    font-size: var(--text-4xl);
    margin-bottom: var(--space-md);
    color: var(--text);
}

.section-subtitle {
    text-align: center;
    font-size: var(--text-lg);
    color: var(--text-light);
    margin-bottom: var(--space-2xl);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-2xl);
}

.step {
    background: var(--white);
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
    transition: all var(--transition-base);
    position: relative;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.step-number {
    position: absolute;
    top: -20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-2xl);
    font-weight: 700;
    font-family: var(--font-heading);
    box-shadow: var(--shadow);
}

.step-icon {
    width: 80px;
    height: 80px;
    background: rgba(31, 163, 122, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    transition: all var(--transition-base);
}

.step:hover .step-icon {
    background: var(--primary-gradient);
}

.step-icon i {
    font-size: 36px;
    color: var(--primary);
    transition: color var(--transition-base);
}

.step:hover .step-icon i {
    color: var(--white);
}

.step h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-sm);
    color: var(--text);
    font-family: var(--font-primary);
    font-weight: 600;
}

.step p {
    color: var(--text-light);
    font-size: var(--text-sm);
    margin: 0;
}

/* CTA SECTION */
.home-cta {
    padding: var(--space-3xl) 8%;
    background: var(--primary-gradient);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.home-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.home-cta .cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.home-cta h2 {
    font-size: var(--text-4xl);
    color: var(--white);
    margin-bottom: var(--space-md);
    font-family: var(--font-heading);
}

.home-cta p {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-2xl);
    font-family: var(--font-serif);
}

.home-cta .cta-buttons {
    display: flex;
    gap: var(--space-lg);
    justify-content: center;
    flex-wrap: wrap;
}

.home-cta .btn {
    background-color: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

.home-cta .btn:hover {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.home-cta .btn-secondary {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.home-cta .btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary);
}

/* NEWZLETTER SECTION */
.newsletter-section {
    padding: var(--space-3xl) 8%;
    background: var(--bg-secondary);
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-content h2 {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-md);
    color: var(--text);
}

.newsletter-content p {
    font-size: var(--text-base);
    color: var(--text-light);
    margin-bottom: var(--space-xl);
}

.newsletter-form {
    display: flex;
    gap: var(--space-md);
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: var(--space-md) var(--space-lg);
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    font-size: var(--text-base);
    font-family: var(--font-primary);
    color: var(--text);
    background-color: var(--white);
    transition: all var(--transition-base);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(31, 163, 122, 0.1);
}

.newsletter-form button {
    padding: var(--space-md) var(--space-2xl);
    white-space: nowrap;
}

/* FOOTER */
.footer {
    background-color: var(--white);
    border-top: 1px solid var(--border-color);
    padding: var(--space-2xl) 8% var(--space-xl);
    margin-top: var(--space-3xl);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--primary-gradient);
    opacity: 0.3;
}

[data-theme="dark"] .footer {
    background-color: var(--white);
    border-top-color: var(--border-color);
}

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

.footer-section h3,
.footer-section h4 {
    color: var(--text);
    font-size: var(--text-xl);
    margin-bottom: var(--space-md);
    font-weight: 600;
    font-family: var(--font-heading);
}

.footer-section h3 .plus,
.footer-section h4 .plus {
    color: var(--primary);
}

.footer-section p {
    color: var(--text-light);
    font-size: var(--text-sm);
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.social-links {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: all var(--transition-base);
    border: 2px solid transparent;
}

.social-links a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

[data-theme="dark"] .social-links a {
    background: var(--bg-secondary);
    border-color: var(--border-color);
}

.footer-section p i {
    margin-right: var(--space-sm);
    color: var(--primary);
    width: 20px;
}

.footer-section a {
    color: var(--text-light);
    font-size: var(--text-sm);
    line-height: 1.8;
    text-decoration: none;
    display: block;
    margin-bottom: var(--space-sm);
    transition: all var(--transition-base);
    position: relative;
}

.footer-section a::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--transition-base);
}

.footer-section a:hover::before {
    width: 4px;
}

.footer-section a:hover {
    color: var(--primary);
    padding-left: var(--space-md);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border-color);
    color: var(--text-light);
    font-size: var(--text-sm);
}

/* utility classes */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.w-100 {
    width: 100%;
}

.page-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 8%;
}

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

/* form styles */
.input-group {
    margin-bottom: var(--space-lg);
}

.input-group label {
    display: block;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text);
    margin-bottom: var(--space-sm);
    letter-spacing: 0.3px;
}

.input-group input,
.input-group textarea,
.input-group select {
    width: 100%;
    padding: var(--space-md);
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    font-size: var(--text-base);
    font-family: var(--font-primary);
    color: var(--text);
    background-color: var(--bg);
    transition: all var(--transition-base);
    outline: none;
}

.input-group input::placeholder,
.input-group textarea::placeholder {
    color: var(--text-lighter);
}

.input-group input:focus,
.input-group textarea:focus,
.input-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(31, 163, 122, 0.1);
    background-color: var(--white);
}

.input-group textarea {
    resize: vertical;
    min-height: 100px;
    line-height: 1.6;
}

.input-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right var(--space-md) center;
    padding-right: calc(var(--space-md) * 2.5);
}

/* ANIMATE */
.fade-in {
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.slide-up {
    animation: slideUp 0.6s ease-out;
}

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

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

main {
    animation: pageEnter 0.4s ease-out;
}

/* glassmorphs */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .glass {
    background: rgba(42, 42, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* responsiveness */
@media (max-width: 1024px) {
    .header {
        padding: var(--space-md) 5%;
    }
    
    .hero {
        padding: 5rem 5% 4rem;
        gap: 2.5rem;
    }
    
    .hero-left h1 {
        font-size: 2.75rem;
    }
    
    .navbar {
        gap: var(--space-lg);
    }
    
    .navbar a {
        font-size: var(--text-sm);
    }
    
    .trust-section,
    .stats-section,
    .features-section,
    .how-it-works,
    .home-cta,
    .newsletter-section {
        padding: var(--space-2xl) 5%;
    }
}

@media (max-width: 968px) {
    .hero {
        flex-direction: column;
        padding: 3.75rem 5% 3rem;
        text-align: center;
        min-height: auto;
    }
    
    .hero-left {
        max-width: 100%;
    }
    
    .hero-left h1 {
        font-size: 2.5rem;
    }
    
    .hero-right {
        order: -1;
        margin-bottom: var(--space-xl);
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    body {
        padding-top: 70px;
    }
    
    .header {
        padding: var(--space-md) 4%;
        position: fixed;
        width: 100%;
    }
    
    .navbar {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .logo img {
        height: 38px;
    }
    
    .logo span {
        font-size: 20px;
    }
    
    .hero {
        padding: 2.5rem 4% 2rem;
    }
    
    .hero-left h1 {
        font-size: 2.25rem;
    }
    
    .hero-left h2 {
        font-size: var(--text-sm);
    }
    
    .hero-left p {
        font-size: var(--text-base);
    }
    
    .hero-cta {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .hero-cta .btn {
        width: 100%;
        max-width: 100%;
    }
    
    .btn,
    .btn-primary,
    .btn-outline {
        padding: 0.875rem 1.5rem;
        font-size: var(--text-sm);
    }
    
    .auth-buttons {
        gap: var(--space-sm);
    }
    
    .auth-buttons .btn-primary {
        padding: 0.625rem 1rem;
        font-size: var(--text-xs);
    }
    
    .theme-toggle {
        width: 38px;
        height: 38px;
        min-width: 38px;
        min-height: 38px;
        font-size: var(--text-base);
    }
    
    .user-email {
        display: none;
    }
    
    .trust-section,
    .stats-section,
    .features-section,
    .how-it-works,
    .home-cta,
    .newsletter-section,
    .footer {
        padding: var(--space-2xl) 4%;
    }
    
    .trust-badges {
        gap: var(--space-lg);
        flex-wrap: wrap;
    }
    
    .trust-badge {
        min-width: 150px;
        flex: 1 1 calc(50% - var(--space-md));
    }
    
    .trust-badge i {
        font-size: 32px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .feature-card {
        padding: var(--space-xl);
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }
    
    .home-cta h2 {
        font-size: var(--text-3xl);
    }
    
    .home-cta p {
        font-size: var(--text-base);
    }
    
    .home-cta .cta-buttons {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .home-cta .btn {
        width: 100%;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .newsletter-form input {
        width: 100%;
    }
    
    .newsletter-form button {
        width: 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    .header {
        padding: var(--space-sm) 3%;
    }
    
    .logo img {
        height: 32px;
    }
    
    .logo span {
        font-size: 18px;
    }
    
    .mobile-menu-toggle {
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
        font-size: 20px;
    }
    
    .theme-toggle {
        width: 36px;
        height: 36px;
        min-width: 36px;
        min-height: 36px;
        font-size: var(--text-sm);
    }
    
    .auth-buttons .btn-primary {
        padding: 0.5rem 0.875rem;
        font-size: 0.75rem;
    }
    
    .hero {
        padding: 2rem 3% 1.5rem;
    }
    
    .hero-left h1 {
        font-size: 2rem;
        line-height: 1.1;
    }
    
    .hero-left p {
        font-size: var(--text-sm);
        margin-bottom: var(--space-xl);
    }
    
    .hero-cta {
        gap: var(--space-sm);
    }
    
    .hero-cta .btn {
        padding: 0.75rem 1.25rem;
        font-size: var(--text-sm);
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: var(--text-sm);
    }
    
    .trust-badges {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .trust-badge {
        min-width: 100%;
        padding: var(--space-md);
    }
    
    .trust-badge i {
        font-size: 28px;
    }
    
    .trust-badge h3 {
        font-size: var(--text-base);
    }
    
    .trust-badge p {
        font-size: var(--text-xs);
    }
    
    .stats-container {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .features-section h2,
    .how-it-works h2 {
        font-size: var(--text-3xl);
    }
    
    .feature-card,
    .step {
        padding: var(--space-lg);
    }
    
    .feature-icon,
    .step-icon {
        width: 60px;
        height: 60px;
    }
    
    .feature-icon i,
    .step-icon i {
        font-size: 28px;
    }
    
    .home-cta {
        padding: var(--space-2xl) var(--space-lg);
    }
    
    .home-cta h2 {
        font-size: var(--text-2xl);
    }
    
    .home-cta p {
        font-size: var(--text-sm);
    }
    
    .newsletter-content h2 {
        font-size: var(--text-2xl);
    }
    
    .newsletter-content p {
        font-size: var(--text-sm);
    }
    
    .footer {
        padding: var(--space-xl) 3%;
    }
    
    .footer-section h3,
    .footer-section h4 {
        font-size: var(--text-lg);
    }
    
    .footer-section p,
    .footer-section a {
        font-size: var(--text-xs);
    }
    
    .social-links a {
        width: 36px;
        height: 36px;
        font-size: var(--text-sm);
    }
    
    #toast-container {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
    }
    
    .toast {
        min-width: auto;
        width: 100%;
    }
}

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

@media (prefers-contrast: high) {
    :root {
        --border-color: #000;
        --text-light: #333;
    }
    
    [data-theme="dark"] {
        --border-color: #fff;
        --text-light: #ccc;
    }
}

*:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

button:focus-visible,
a:focus-visible {
    border-radius: var(--radius);
}

/* Toast Notifications */
#toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: var(--z-tooltip);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.toast {
    background: var(--white);
    color: var(--text);
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transform: translateX(120%);
    transition: transform var(--transition-base);
    border-left: 4px solid var(--primary);
    min-width: 300px;
}

.toast.show {
    transform: translateX(0);
}

.toast-success i { color: var(--primary); }
.toast-error { border-left-color: var(--secondary); }
.toast-error i { color: var(--secondary); }

/* Custom Modal */
.custom-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: var(--z-modal);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-base);
    backdrop-filter: blur(4px);
}

.custom-modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.custom-modal {
    background: var(--bg);
    padding: 2rem;
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 400px;
    box-shadow: var(--shadow-xl);
    transform: scale(0.9);
    transition: transform var(--transition-base);
}

.custom-modal-overlay.active .custom-modal {
    transform: scale(1);
}

.custom-modal h3 {
    margin-bottom: 1rem;
    color: var(--text);
}

.custom-modal p {
    margin-bottom: 2rem;
    color: var(--text-light);
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}