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

:root {
--primary-color: #1b1d4e;
--secondary-color: #fdf4e5;
--tertiary-color: #bed5cf;
--accent-color: #f59e0b;
--success-color: #10b981;
--text-dark: #1f2937;
--text-light: #6b7280;
--bg-light: #f9fafb;
--white: #ffffff;
--gradient-primary: linear-gradient(135deg, #1b1d4e 0%, #2a2d5e 100%);
--gradient-accent: linear-gradient(135deg, #f59e0b 0%, #dc2626 100%);
--gradient-success: linear-gradient(135deg, #10b981 0%, #059669 100%);
--gradient-purple: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
--gradient-secondary: linear-gradient(135deg, #fdf4e5 0%, #fef8f0 100%);
}

/* Smooth scrolling for the entire page */
html {
scroll-behavior: smooth;
}

body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
color: var(--text-dark);
line-height: 1.6;
overflow-x: hidden;
background: var(--white);
}

/* Notification Banner */
.notification-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--gradient-accent);
    color: white;
    padding: 1rem;
    text-align: center;
    font-weight: 600;
    z-index: 1100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.notification-banner a {
    color: white;
    text-decoration: underline;
    margin-left: 0.5rem;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    height: 64px;
    cursor: pointer;
    padding: 0.25rem 0;
}

.logo img,
.logo-image {
    height: 100%;
    width: auto;
    max-width: 200px;
    display: block;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    font-size: 0.95rem;
}

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

.nav-links a::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

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

.signup-button {
    background: var(--gradient-primary);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(27, 29, 78, 0.2);
}

.signup-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(27, 29, 78, 0.3);
}

.login-button {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.login-button:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.page-content {
    /* padding-top: 2rem; */
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
}

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

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu {
    display: none;
    position: absolute;
    width: 200px;
    align-items: right;
    top: 100%;
    /* left: 0; */
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 1rem;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu a {
    display: block;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.mobile-menu a:hover {
    background: rgba(27, 29, 78, 0.05);
    color: var(--primary-color);
}



@media (max-width: 900px) {
    .nav-links,
    .nav-cta {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-container {
        padding: 1rem;
    }
    
    .logo img,
    .logo-image {
        max-width: 150px;
        height: 48px;
    }
}

/* Mobile menu divider */
.mobile-menu-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
    margin: 0.5rem 0;
}

/* Mobile menu login button */
.mobile-menu .login-button-mobile {
    display: block;
    text-align: center;
    color: var(--primary-color);
    font-weight: 600;
    padding: 0.75rem 1rem;
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    margin-bottom: 0.5rem;
    width: 150px;
    height: 53px;
}

.mobile-menu .login-button-mobile:hover {
    background: var(--primary-color);
    color: white;
}

/* Mobile menu signup button */
.mobile-menu .signup-button {
    display: block;
    text-align: center;
    color: #ffffff;
    font-weight: 600;
    padding: 0.75rem 1rem;
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    margin-bottom: 0.5rem;
    width: 150px;
    height: 53px;
    background-color: var(--primary-color);
}

/* Hero Section */
.hero {
margin-top: 50px;
min-height: 90vh;
display: flex;
align-items: center;
background: linear-gradient(135deg, var(--secondary-color) 0%, #f5f5f5 50%, var(--tertiary-color) 100%);
position: relative;
overflow: hidden;
}

.hero::before {
content: "";
position: absolute;
top: -50%;
right: -30%;
width: 100%;
height: 200%;
background: radial-gradient(circle, rgba(27, 29, 78, 0.05) 0%, transparent 70%);
animation: float 20s ease-in-out infinite;
}

.hero::after {
content: "";
position: absolute;
bottom: -50%;
left: -30%;
width: 100%;
height: 200%;
background: radial-gradient(circle, rgba(190, 213, 207, 0.3) 0%, transparent 70%);
animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {
0%,
100% {
    transform: translate(0, 0) rotate(0deg);
}
33% {
    transform: translate(30px, -30px) rotate(120deg);
}
66% {
    transform: translate(-20px, 20px) rotate(240deg);
}
}

.hero-container {
max-width: 1400px;
margin: 0 auto;
padding: 2rem;
display: grid;
grid-template-columns: 1fr 1fr;
gap: 4rem;
align-items: center;
position: relative;
z-index: 1;
}

.hero-content h1 {
font-size: 4rem;
font-weight: 900;
line-height: 1.1;
margin-bottom: 1.5rem;
background: var(--gradient-primary);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
animation: slideInLeft 1s ease-out;
}

.hero-content h2 {
font-size: 2rem;
font-weight: 900;
line-height: 1.1;
margin-bottom: 1.5rem;
background: var(--gradient-primary);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
animation: slideInLeft 1s ease-out;
}

@keyframes slideInLeft {
from {
    transform: translateX(-50px);
    opacity: 0;
}
to {
    transform: translateX(0);
    opacity: 1;
}
}

.hero-content .tagline {
font-size: 1.3rem;
color: var(--text-light);
margin-bottom: 2.5rem;
font-weight: 400;
line-height: 1.6;
animation: slideInLeft 1s ease-out 0.2s both;
}

.hero-buttons {
display: flex;
{% comment %} justify-content: center; {% endcomment %}
gap: 1.5rem;
margin-bottom: 3rem;
animation: slideInLeft 1s ease-out 0.4s both;
}

.primary-button {
background: var(--gradient-primary);
color: white;
padding: 1.2rem 2.5rem;
border-radius: 50px;
text-decoration: none;
font-weight: 600;
transition: all 0.3s ease;
display: inline-flex;
align-items: center;
gap: 0.5rem;
box-shadow: 0 10px 30px rgba(27, 29, 78, 0.3);
font-size: 1.1rem;
}

.primary-button:hover {
transform: translateY(-3px);
box-shadow: 0 20px 40px rgba(27, 29, 78, 0.4);
}

.secondary-button {
background: white;
color: var(--primary-color);
padding: 1.2rem 2.5rem;
border-radius: 50px;
text-decoration: none;
font-weight: 600;
border: 2px solid transparent;
transition: all 0.3s ease;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
font-size: 1.1rem;
}

.secondary-button:hover {
background: var(--primary-color);
color: white;
transform: translateY(-3px);
box-shadow: 0 20px 40px rgba(27, 29, 78, 0.3);
}

.trust-badges {
display: flex;
gap: 3rem;
align-items: center;
flex-wrap: wrap;
animation: slideInLeft 1s ease-out 0.6s both;
}

.badge {
display: flex;
align-items: center;
gap: 0.5rem;
color: var(--text-dark);
font-size: 0.95rem;
font-weight: 600;
}

.badge-icon {
width: 32px;
height: 32px;
background: var(--gradient-primary);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: white;
font-weight: bold;
box-shadow: 0 4px 15px rgba(27, 29, 78, 0.3);
}

/* Video Demo Section */
.demo-section {
background: var(--primary-color);
padding: 0.5rem 2rem;
text-align: center;
animation: slideInRight 1s ease-out 0.5s both;
}

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

.demo-container h2 {
font-size: 2.5rem;
margin-bottom: 1rem;
color: white;
}

.demo-container p {
font-size: 1.2rem;
color: rgba(255, 255, 255, 0.9);
margin-bottom: 2rem;
}

.video-wrapper {
position: relative;
width: 100%;
padding-bottom: 56.25%; /* 16:9 aspect ratio */
background: #000;
border-radius: 20px;
overflow: hidden;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.video-wrapper iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border: 0;
display: block;
}

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

/* How It Works Section */
.how-it-works {
padding: 2rem 2rem;
background: white;
position: relative;
}

.section-header {
text-align: center;
max-width: 900px;
margin: 0 auto 5rem;
}

.section-header h2 {
font-size: 2.5rem;
margin-bottom: 1.5rem;
background: var(--gradient-primary);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
font-weight: 800;
}

.section-header p {
font-size: 1.2rem;
color: var(--text-light);
line-height: 1.8;
}

.steps-container {
max-width: 1200px;
margin: 0 auto;
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 3rem;
position: relative;
}

@media (max-width: 900px) {
.steps-container {
    grid-template-columns: 1fr;
}
}

.step-card {
text-align: center;
position: relative;
padding: 2rem;
border-radius: 20px;
transition: all 0.3s ease;
}

.step-card:hover {
transform: translateY(-10px);
background: var(--secondary-color);
}

.step-number {
width: 60px;
height: 60px;
background: var(--gradient-primary);
color: white;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.5rem;
font-weight: 800;
margin: 0 0 1.5rem;
box-shadow: 0 10px 30px rgba(27, 29, 78, 0.3);
}

.step-title {
text-align: left;
font-size: 1.3rem;
font-weight: 700;
margin-bottom: 1rem;
color: var(--primary-color);
}

.step-description {
color: var(--text-light);
text-align: left;
line-height: 1.8;
}

/* Features Section */
.features-section {
padding: 2rem 2rem;
background: var(--bg-light);
}

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

.feature-card {
background: white;
border-radius: 20px;
padding: 2.5rem;
transition: all 0.3s ease;
position: relative;
overflow: hidden;
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.feature-card::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 5px;
background: var(--gradient-primary);
transform: scaleX(0);
transform-origin: left;
transition: transform 0.3s ease;
}

.feature-card:hover::before {
transform: scaleX(1);
}

.feature-card:hover {
transform: translateY(-8px);
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
background: var(--secondary-color);
}

.feature-icon {
width: 70px;
height: 70px;
background: var(--gradient-primary);
border-radius: 20px;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 1.5rem;
font-size: 2rem;
color: white;
box-shadow: 0 10px 30px rgba(27, 29, 78, 0.3);
}

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

.feature-card p {
color: var(--text-light);
line-height: 1.8;
margin-bottom: 1.5rem;
}

/* Who It's For Section */
.who-for {
padding: 2rem 2rem;
background: white;
}

.personas-grid {
max-width: 1400px;
margin: 0 auto;
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 2rem;
}

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

@media (max-width: 700px) {
.personas-grid {
    grid-template-columns: 1fr;
}
}

.persona-card {
text-align: center;
padding: 2rem;
border-radius: 20px;
background: var(--tertiary-color);
transition: all 0.3s ease;
position: relative;
overflow: hidden;
}

.persona-card::before {
content: "";
position: absolute;
top: -100%;
left: -100%;
width: 300%;
height: 300%;
background: radial-gradient(circle, rgba(27, 29, 78, 0.1) 0%, transparent 70%);
transition: all 0.5s ease;
}

.persona-card:hover::before {
top: -150%;
left: -150%;
}

.persona-card:hover {
transform: translateY(-10px);
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.persona-icon {
font-size: 4rem;
margin-bottom: 1rem;
color: var(--primary-color);
}

.persona-icon svg {
width: 50px;
height: 50px;
fill: var(--primary-color);
}

.persona-title {
font-size: 1.4rem;
font-weight: 700;
margin-bottom: 1rem;
color: var(--primary-color);
}

.persona-description {
color: var(--text-light);
line-height: 1.8;
}

/* Stats Section */
.stats {
background: var(--gradient-primary);
padding: 5rem 2rem;
color: white;
position: relative;
overflow: hidden;
}

.stats::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 30s linear infinite;
}

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

.stats-container {
max-width: 1200px;
margin: 0 auto;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 3rem;
text-align: center;
position: relative;
z-index: 1;
}

.stat-item {
animation: statPulse 2s ease-in-out infinite;
display: flex;
flex-direction: column;
align-items: center;
}

.stat-item:nth-child(2) {
animation-delay: 0.5s;
}

.stat-item:nth-child(3) {
animation-delay: 1s;
}

.stat-item:nth-child(4) {
animation-delay: 1.5s;
}

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

.stat-item h3 {
font-size: 3.5rem;
margin-bottom: 0.5rem;
font-weight: 900;
letter-spacing: 0.02em;
display: flex;
align-items: center;
justify-content: center;
gap: 0.25em;
}

.stat-number {
letter-spacing: 0.03em;
}

.stat-badge {
display: inline-block;
background: var(--tertiary-color);
color: var(--primary-color);
font-weight: bold;
border-radius: 16px;
padding: 0.3em 0.7em;
font-size: 3.5rem;
letter-spacing: 0.02em;
box-shadow: 0 2px 10px rgba(190, 213, 207, 0.3);
vertical-align: middle;
line-height: 1.1;
}

.stat-item p {
font-size: 1.2rem;
opacity: 0.9;
font-weight: 500;
}

/* Testimonials */
.testimonials {
padding: 2rem 2rem;
background: var(--bg-light);
position: relative;
}

.testimonials-slider {
max-width: 1200px;
margin: 0 auto;
position: relative;
overflow: hidden;
}

.testimonials-track {
display: flex;
gap: 2rem;
transition: transform 0.5s ease;
}

.testimonial-card {
min-width: 150px;
max-width: 300px;
background: white;
border-radius: 20px;
padding: 2.5rem;
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
position: relative;
flex-shrink: 0;
}

@media (max-width: 700px) {
.testimonial-card {
    min-width: calc(100vw - 4rem);
}
}

.quote-icon {
font-size: 4rem;
color: var(--primary-color);
opacity: 0.1;
position: absolute;
top: 1rem;
right: 1rem;
}

.testimonial-text {
font-style: italic;
font-size: 1.1rem;
margin-bottom: 2rem;
color: var(--text-dark);
position: relative;
z-index: 1;
line-height: 1.8;
}

.testimonial-author {
display: flex;
align-items: center;
gap: 1rem;
}

.author-avatar {
width: 50px;
height: 50px;
background: var(--gradient-primary);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: white;
font-weight: bold;
font-size: 1.2rem;
}

.author-info {
flex: 1;
}

.author-name {
font-weight: 700;
color: var(--primary-color);
margin-bottom: 0.2rem;
}

.author-role {
color: var(--text-light);
font-size: 0.9rem;
}

/* Contact Section */
.contact {
padding: 2rem 2rem;
background: white;
}

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

.contact-info h3 {
font-size: 2rem;
margin-bottom: 1.5rem;
color: var(--primary-color);
}

.contact-info p {
color: var(--text-light);
line-height: 1.8;
margin-bottom: 2rem;
}

.contact-details {
display: flex;
flex-direction: column;
gap: 1.5rem;
}

.contact-item {
display: flex;
align-items: center;
gap: 1rem;
}

.contact-icon {
width: 50px;
height: 50px;
background: var(--gradient-primary);
border-radius: 15px;
display: flex;
align-items: center;
justify-content: center;
color: white;
font-size: 1.2rem;
box-shadow: 0 5px 20px rgba(27, 29, 78, 0.3);
}

.contact-text h4 {
font-size: 1.1rem;
margin-bottom: 0.2rem;
color: var(--text-dark);
}

.contact-text p {
color: var(--text-light);
font-size: 0.95rem;
}

.contact-form {
background: var(--secondary-color);
border-radius: 20px;
padding: 2.5rem;
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

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

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

.form-group input,
.form-group textarea {
width: 100%;
padding: 1rem;
border: 2px solid #e5e7eb;
border-radius: 10px;
font-size: 1rem;
transition: all 0.3s ease;
font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
outline: none;
border-color: var(--primary-color);
box-shadow: 0 0 0 3px rgba(27, 29, 78, 0.1);
}

.form-group textarea {
resize: vertical;
min-height: 100px;
}

.form-button {
background: var(--gradient-primary);
color: white;
padding: 1rem 2rem;
border: none;
border-radius: 50px;
font-weight: 600;
font-size: 1rem;
cursor: pointer;
transition: all 0.3s ease;
width: 100%;
}

.form-button:hover {
transform: translateY(-2px);
box-shadow: 0 10px 30px rgba(27, 29, 78, 0.3);
}

/* Toast Styles */
.toast-container {
position: fixed;
top: 20px;
right: 20px;
z-index: 9999;
animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
from {
    transform: translateX(100%);
    opacity: 0;
}
to {
    transform: translateX(0);
    opacity: 1;
}
}

.toast {
background: white;
border-radius: 8px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
margin-bottom: 1rem;
min-width: 350px;
max-width: 500px;
transition: all 0.3s ease;
overflow: hidden;
}

.toast-content {
display: flex;
align-items: center;
padding: 1rem 1.5rem;
gap: 1rem;
position: relative;
}

.toast-icon {
width: 40px;
height: 40px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.5rem;
font-weight: bold;
flex-shrink: 0;
}

.toast.success {
border-left: 4px solid #10b981;
}

.toast.success .toast-icon {
background: #10b981;
color: white;
}

.toast.error {
border-left: 4px solid #ef4444;
}

.toast.error .toast-icon {
background: #ef4444;
color: white;
}

.toast-message {
flex: 1;
}

.toast-message h4 {
margin: 0 0 0.25rem 0;
font-size: 1rem;
color: #1f2937;
font-weight: 600;
}

.toast-message p {
margin: 0;
font-size: 0.875rem;
color: #6b7280;
line-height: 1.4;
}

.toast-close {
position: absolute;
top: 0.5rem;
right: 0.5rem;
background: none;
border: none;
font-size: 1.5rem;
color: #9ca3af;
cursor: pointer;
width: 30px;
height: 30px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 4px;
transition: all 0.2s;
}

.toast-close:hover {
background: #f3f4f6;
color: #4b5563;
}

/* Loading spinner */
.htmx-indicator {
display: none;
margin-left: 0.5rem;
}

.htmx-request .htmx-indicator {
display: inline-block;
}

.htmx-request.form-button {
opacity: 0.7;
cursor: not-allowed;
}

/* Make form fields look better */
.form-group input:focus,
.form-group textarea:focus {
outline: none;
border-color: var(--primary-color, #1b1d4e);
box-shadow: 0 0 0 3px rgba(27, 29, 78, 0.1);
}

/* Add visual feedback for required fields */
.form-group label:after {
content: " *";
color: #ef4444;
display: none;
}

.form-group:has(input:required) label:after,
.form-group:has(textarea:required) label:after {
display: inline;
}
.spinner {
display: inline-block;
width: 16px;
height: 16px;
border: 2px solid rgba(255, 255, 255, 0.3);
border-top-color: white;
border-radius: 50%;
animation: spin 0.8s linear infinite;
}

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

/* Footer */
footer {
background: var(--primary-color);
color: white;
position: relative;
overflow: hidden;
}

footer::before {
content: "";
position: absolute;
top: -50%;
left: -50%;
width: 200%;
height: 200%;
background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
animation: rotate 40s linear infinite reverse;
}

.footer-bottom {
text-align: center;
padding-top: 1rem;
padding-bottom: 1rem;
color: rgba(255, 255, 255, 0.6);
position: relative;
z-index: 1;
}



/* Responsive Design */
@media (max-width: 1024px) {
.hero-content h1 {
    font-size: 3rem;
}

.features-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
}

@media (max-width: 768px) {
.mobile-menu-toggle {
    display: block;
}

.nav-links,
.nav-cta {
    display: none;
}

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

.hero-content h1 {
    font-size: 2.5rem;
}

.demo-section {
    margin-top: 2rem;
}

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

.primary-button,
.secondary-button {
    width: 100%;
}

.trust-badges {
    justify-content: center;
}

.steps-container,
.features-grid,
.personas-grid {
    grid-template-columns: 1fr;
}

.contact-container {
    grid-template-columns: 1fr;
}

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

.social-links {
    justify-content: center;
}

.testimonial-card {
    min-width: 100%;
}
}

/* Loading Animation */
.loader {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: white;
display: flex;
align-items: center;
justify-content: center;
z-index: 9999;
transition: opacity 0.5s ease;
}

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

.loader-logo {
font-size: 3rem;
font-weight: 800;
background: var(--gradient-primary);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
animation: pulse 1.5s ease-in-out infinite;
}

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

.loader-bar {
width: 200px;
height: 4px;
background: #e5e7eb;
border-radius: 2px;
margin: 2rem auto;
overflow: hidden;
}

.loader-progress {
width: 40%;
height: 100%;
background: var(--gradient-primary);
border-radius: 2px;
animation: loading 2s ease-in-out infinite;
}

@keyframes loading {
0% {
    transform: translateX(-100%);
}
100% {
    transform: translateX(250%);
}
}


/* Scroll Animations */
.fade-in {
opacity: 0;
transform: translateY(30px);
transition: all 0.8s ease;
}

.fade-in.visible {
opacity: 1;
transform: translateY(0);
}

.slide-in-left {
opacity: 0;
transform: translateX(-50px);
transition: all 0.8s ease;
}

.slide-in-left.visible {
opacity: 1;
transform: translateX(0);
}

.slide-in-right {
opacity: 0;
transform: translateX(50px);
transition: all 0.8s ease;
}

.slide-in-right.visible {
opacity: 1;
transform: translateX(0);
}