/* Theme Variables */
:root {
    /* Light Theme */
    --primary-color: #4361ee;
    --primary-dark: #3a56d4;
    --primary-light: #eef2ff;
    --secondary-color: #7209b7;
    --accent-color: #4cc9f0;
    --success-color: #4caf50;
    --warning-color: #ff9800;
    --danger-color: #f44336;
    
    /* Light Theme Colors */
    --bg-color: #f8fafc;
    --card-bg: #ffffff;
    --text-color: #2d3748;
    --text-light: #718096;
    --border-color: #e2e8f0;
    --hover-bg: #f1f5f9;
    --shadow-color: rgba(0, 0, 0, 0.08);
    
    /* Input Colors */
    --input-bg: #ffffff;
    --input-border: #e2e8f0;
    --input-focus: #4361ee;
    
    /* Social Colors */
    --google-color: #db4437;
    --github-color: #333333;
    --twitter-color: #1da1f2;
}

[data-theme="dark"] {
    /* Dark Theme Colors */
    --bg-color: #0f172a;
    --card-bg: #1e293b;
    --text-color: #f1f5f9;
    --text-light: #94a3b8;
    --border-color: #334155;
    --hover-bg: #334155;
    --shadow-color: rgba(0, 0, 0, 0.3);
    
    /* Input Colors */
    --input-bg: #1e293b;
    --input-border: #334155;
    --input-focus: #6366f1;
}

/* Global Styles */
body {
    background-color: var(--bg-color);
    color: var(--text-color);
}

/* Landing Page Styles */
.landing-container {
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Background Animation */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    opacity: 0.1;
    animation: float 20s infinite linear;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -150px;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: -100px;
    animation-delay: 5s;
    background: linear-gradient(45deg, var(--accent-color), var(--primary-color));
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    right: 10%;
    animation-delay: 10s;
    background: linear-gradient(45deg, var(--secondary-color), var(--accent-color));
}

.shape-4 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 10%;
    animation-delay: 15s;
}

/* Navigation */
.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px var(--shadow-color);
    transition: var(--transition);
}

[data-theme="dark"] .landing-nav {
    background-color: rgba(30, 41, 59, 0.8);
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-color);
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    bottom: -5px;
    left: 0;
    transition: var(--transition);
}

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

.theme-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--hover-bg);
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

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

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--text-color);
}

/* Hero Section */
.hero-section {
    padding: 150px 20px 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

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

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
}

.stat h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

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

.hero-actions {
    display: flex;
    gap: 20px;
}

.hero-image {
    position: relative;
}

.auth-card-preview {
    position: relative;
    width: 100%;
    height: 400px;
}

.preview-card {
    position: absolute;
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow-lg);
    width: 320px;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.login-preview {
    top: 0;
    right: 0;
    z-index: 2;
    animation: floatCard 3s ease-in-out infinite;
}

.signup-preview {
    bottom: 0;
    left: 0;
    z-index: 1;
    animation: floatCard 3s ease-in-out infinite 1.5s;
}

.preview-header {
    margin-bottom: 25px;
}

.preview-header h4 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.preview-header p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.preview-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.preview-input {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background-color: var(--hover-bg);
    border-radius: var(--border-radius-sm);
    color: var(--text-light);
}

.preview-input i {
    color: var(--primary-color);
}

.preview-button {
    padding: 12px;
    background-color: var(--primary-color);
    color: white;
    border-radius: var(--border-radius-sm);
    text-align: center;
    font-weight: 600;
    margin-top: 10px;
}

/* Features Section */
.features-section {
    padding: 100px 20px;
    background-color: var(--hover-bg);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
}

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

.feature-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(67, 97, 238, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 1.8rem;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

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

/* CTA Section */
.cta-section {
    padding: 100px 20px;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .btn-outline {
    background-color: transparent;
    color: white;
    border-color: white;
}

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

/* Footer */
.landing-footer {
    background-color: var(--card-bg);
    padding: 80px 20px 40px;
    border-top: 1px solid var(--border-color);
}

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

.footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-brand p {
    margin: 20px 0 30px;
    color: var(--text-light);
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 15px;
}

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

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

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

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-column h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.footer-column a {
    color: var(--text-light);
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
    color: var(--text-light);
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 30px;
}

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

/* Auth Container */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    position: relative;
}

.back-home {
    position: absolute;
    top: 30px;
    left: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-color);
    font-weight: 500;
    z-index: 100;
    transition: var(--transition);
}

.back-home:hover {
    color: var(--primary-color);
    transform: translateX(-5px);
}

/* Auth Card */
.auth-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    width: 100%;
    max-width: 500px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    animation: slideUp 0.6s ease;
    z-index: 10;
}

.auth-card-header {
    padding: 40px 40px 20px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.auth-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.auth-card-header h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.auth-card-header p {
    color: var(--text-light);
}

.auth-card-body {
    padding: 30px 40px;
}

/* Social Login */
.social-login {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 14px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    border: 1px solid var(--border-color);
    background-color: var(--input-bg);
    color: var(--text-color);
    transition: var(--transition);
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.social-btn.google:hover {
    background-color: var(--google-color);
    color: white;
    border-color: var(--google-color);
}

.social-btn.github:hover {
    background-color: var(--github-color);
    color: white;
    border-color: var(--github-color);
}

.social-btn.twitter:hover {
    background-color: var(--twitter-color);
    color: white;
    border-color: var(--twitter-color);
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 30px 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border-color);
}

.divider span {
    padding: 0 20px;
}

/* Form Styles */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-color);
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-group i {
    position: absolute;
    left: 15px;
    color: var(--text-light);
    font-size: 1.1rem;
    z-index: 1;
}

.input-group input {
    width: 100%;
    padding: 14px 15px 14px 45px;
    background-color: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: var(--border-radius-sm);
    color: var(--text-color);
    font-size: 1rem;
    transition: var(--transition);
}

.input-group input:focus {
    outline: none;
    border-color: var(--input-focus);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
}

.input-feedback {
    position: absolute;
    right: 15px;
    color: var(--success-color);
    opacity: 0;
    transition: var(--transition);
}

.input-group.valid .input-feedback {
    opacity: 1;
}

.input-group.valid input {
    border-color: var(--success-color);
}

.input-group.error input {
    border-color: var(--danger-color);
}

.error-message {
    color: var(--danger-color);
    font-size: 0.85rem;
    min-height: 20px;
    opacity: 0;
    transition: var(--transition);
}

.error-message.show {
    opacity: 1;
}

.password-toggle {
    position: absolute;
    right: 15px;
    color: var(--text-light);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
}

.password-toggle:hover {
    color: var(--primary-color);
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.checkbox-group label {
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text-color);
    user-select: none;
}

.forgot-password {
    color: var(--primary-color);
    font-size: 0.95rem;
    font-weight: 500;
}

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

/* Button Loader */
.btn-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
}

.btn.loading .btn-text {
    opacity: 0;
}

.btn.loading .btn-loader {
    display: block;
}

.loader {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
}

.btn-outline .loader {
    border: 2px solid rgba(67, 97, 238, 0.3);
    border-top-color: var(--primary-color);
}

/* Auth Switch */
.auth-switch {
    text-align: center;
    margin-top: 30px;
    color: var(--text-light);
}

.switch-link {
    color: var(--primary-color);
    font-weight: 600;
}

.switch-link:hover {
    text-decoration: underline;
}

/* Auth Card Footer */
.auth-card-footer {
    padding: 20px 40px;
    background-color: var(--hover-bg);
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-light);
}

.auth-card-footer a {
    color: var(--primary-color);
    font-weight: 500;
}

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

/* Demo Credentials */
.demo-credentials {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    max-width: 300px;
    z-index: 10;
}

.demo-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.demo-header h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
}

.demo-header h4 i {
    color: var(--primary-color);
}

.demo-toggle {
    color: var(--text-light);
    transition: var(--transition);
}

.demo-toggle.active {
    transform: rotate(180deg);
}

.demo-content {
    display: none;
    flex-direction: column;
    gap: 10px;
}

.demo-content.active {
    display: flex;
    animation: slideDown 0.3s ease;
}

.demo-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.demo-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-color);
    min-width: 70px;
}

.demo-value {
    flex: 1;
    background-color: var(--hover-bg);
    padding: 8px 12px;
    border-radius: var(--border-radius-sm);
    font-family: monospace;
    font-size: 0.9rem;
    color: var(--text-color);
}

.demo-copy {
    color: var(--text-light);
    font-size: 1rem;
    padding: 5px;
}

.demo-copy:hover {
    color: var(--primary-color);
}

.demo-copy.copied {
    color: var(--success-color);
}

/* Theme Toggle Auth */
.theme-toggle-auth {
    position: absolute;
    top: 30px;
    right: 30px;
    z-index: 100;
}

/* Signup Progress */
.signup-progress {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 2;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--hover-bg);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: 2px solid transparent;
}

.progress-step.active .step-number {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(67, 97, 238, 0.2);
}

.progress-step.completed .step-number {
    background-color: var(--success-color);
    color: white;
    border-color: var(--success-color);
}

.step-label {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
    transition: var(--transition);
}

.progress-step.active .step-label {
    color: var(--primary-color);
    font-weight: 600;
}

.progress-line {
    flex: 1;
    height: 2px;
    background-color: var(--border-color);
    position: relative;
    top: -20px;
}

.progress-line.completed {
    background-color: var(--primary-color);
}

/* Form Steps */
.form-step {
    display: none;
    animation: fadeIn 0.5s ease;
}

.form-step.active {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Password Strength */
.password-strength {
    margin-top: 10px;
}

.strength-bar {
    display: flex;
    gap: 5px;
    margin-bottom: 8px;
}

.strength-segment {
    flex: 1;
    height: 4px;
    background-color: var(--border-color);
    border-radius: 2px;
    transition: var(--transition);
}

.strength-segment.active {
    background-color: var(--danger-color);
}

.strength-segment.active:nth-child(2) {
    background-color: var(--warning-color);
}

.strength-segment.active:nth-child(3) {
    background-color: var(--warning-color);
}

.strength-segment.active:nth-child(4) {
    background-color: var(--success-color);
}

.strength-text {
    font-size: 0.85rem;
    color: var(--text-light);
}

#strengthText {
    font-weight: 600;
}

/* Account Type */
.account-type {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 10px;
}

.type-option input {
    display: none;
}

.type-option label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-color: var(--hover-bg);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    height: 100%;
}

.type-option label i {
    font-size: 1.8rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.type-option label span {
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-color);
}

.type-option label p {
    font-size: 0.85rem;
    color: var(--text-light);
}

.type-option input:checked + label {
    border-color: var(--primary-color);
    background-color: rgba(67, 97, 238, 0.1);
}

.type-option input:checked + label i {
    color: var(--primary-color);
}

/* Success Icon */
.success-icon {
    text-align: center;
    margin-bottom: 20px;
}

.success-icon i {
    font-size: 4rem;
    color: var(--success-color);
}

.step-description {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 30px;
}

/* Form Buttons */
.form-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 40px;
    max-width: 500px;
    width: 90%;
    box-shadow: var(--shadow-lg);
    animation: modalSlideUp 0.3s ease;
    position: relative;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.modal-header h3 {
    font-size: 1.5rem;
}

.modal-close {
    color: var(--text-light);
    font-size: 1.2rem;
    padding: 5px;
}

.modal-close:hover {
    color: var(--danger-color);
}

.modal-body p {
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.6;
}

.success-modal {
    text-align: center;
    padding: 50px 40px;
}

.modal-success-icon {
    margin-bottom: 25px;
}

.modal-success-icon i {
    font-size: 4rem;
    color: var(--success-color);
}

.success-modal h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.success-modal p {
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.6;
}

.modal-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .stat h3 {
        font-size: 2rem;
    }
}

@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .auth-card-preview {
        height: 300px;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .preview-card {
        width: 280px;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background-color: var(--card-bg);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 40px 40px;
        box-shadow: -10px 0 30px var(--shadow-color);
        transition: var(--transition);
        gap: 0;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        display: block;
        padding: 15px 0;
        font-size: 1.1rem;
        width: 100%;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .auth-card-header,
    .auth-card-body,
    .auth-card-footer {
        padding: 30px;
    }
    
    .form-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .form-buttons .btn {
        width: 100%;
    }
    
    .account-type {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        padding: 30px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 25px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .preview-card {
        width: 250px;
        padding: 25px;
    }
    
    .auth-card {
        max-width: 100%;
    }
    
    .social-login {
        flex-direction: column;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-bottom-links {
        flex-direction: column;
        gap: 15px;
    }
    
    .demo-credentials {
        left: 20px;
        right: 20px;
        max-width: none;
    }
}