/* ============================================
   MyAgenda - Landing Page Styles
   Diseño moderno y completamente responsive
   ============================================ */

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #22c55e;
    --accent: #f59e0b;
    --text: #1f2937;
    --text-light: #6b7280;
    --bg: #ffffff;
    --bg-light: #f9fafb;
    --bg-dark: #111827;
    --border: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

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

body.landing-page {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: transparent;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body.landing-page main {
    background: transparent;
    margin: 0;
    padding: 0;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Para páginas de autenticación, el fondo viene del auth-section */
body.landing-page .auth-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ============================================
   Header & Navigation
   ============================================ */

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

/* En páginas de auth, el header no necesita espacio extra */


.landing-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    position: relative;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text);
    font-weight: 700;
    font-size: 1.25rem;
    transition: transform 0.2s;
}

.logo-link:hover {
    transform: scale(1.05);
}

.logo-text {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
}

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

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

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

.btn-nav-cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white !important;
    padding: 0.625rem 1.25rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

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

.btn-nav-cta::after {
    display: none;
}

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

.hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 4rem 0 4rem;
    margin-top: 0;
    padding-top: calc(80px + 3rem);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    opacity: 0.05;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(34, 197, 94, 0.1) 0%, transparent 50%);
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 2rem;
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    text-decoration: none;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1.125rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

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

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    background: white;
    color: var(--text);
    text-decoration: none;
    border: 2px solid var(--border);
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s ease;
}

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

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    padding-top: 3rem;
    border-top: 1px solid var(--border);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.features-section {
    padding: 6rem 0;
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text);
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

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

.feature-icon {
    margin-bottom: 1.5rem;
}

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

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

/* ============================================
   Business Videos Banner Section
   ============================================ */

.business-videos-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
    overflow: hidden;
}

.business-videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.business-video-item {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.business-video-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.business-video-wrapper {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 1rem;
}

.business-video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.business-video-wrapper img.video-fallback {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

.business-video-wrapper video:not([src]) ~ img.video-fallback,
.business-video-wrapper:has(video:not([src])) img.video-fallback {
    display: block;
}

.business-video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 2rem 1.5rem 1.5rem;
    color: white;
    text-align: center;
    transition: all 0.3s ease;
}

.business-video-item:hover .business-video-overlay {
    background: linear-gradient(to top, rgba(99, 102, 241, 0.9), transparent);
}

.business-video-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.business-video-overlay h4 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* ============================================
   Sectors Section
   ============================================ */

.sectors-section {
    padding: 6rem 0;
    background: white;
}

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.sector-card {
    background: var(--bg-light);
    padding: 2rem 1.5rem;
    border-radius: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

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

.sector-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.sector-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.sector-card p {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* ============================================
   CTA Section
   ============================================ */

.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-content > p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn-cta-large {
    display: inline-block;
    padding: 1.25rem 3rem;
    background: white;
    color: var(--primary);
    text-decoration: none;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 1.125rem;
    box-shadow: var(--shadow-xl);
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.btn-cta-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.cta-note {
    font-size: 0.875rem;
    opacity: 0.8;
    margin-top: 1rem;
}

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

.landing-footer {
    background: var(--bg-dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

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

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
}

.footer-column h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

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

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

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

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

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        gap: 1.5rem;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-menu a::after {
        display: none;
    }

    .hero-section {
        padding: 3rem 0 3rem;
        padding-top: calc(80px + 2rem);
        min-height: auto;
        margin-top: 0;
    }

    .hero-stats {
        gap: 2rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

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

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

    .business-videos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .business-video-wrapper {
        height: 220px;
    }

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

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

    .hero-cta {
        flex-direction: column;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero-section {
        padding: 2rem 0 2rem;
        padding-top: calc(80px + 1.5rem);
        margin-top: 0;
    }

    .business-videos-section {
        padding: 4rem 0;
    }

    .business-videos-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .business-video-wrapper {
        height: 200px;
    }

    .business-video-overlay {
        padding: 1.5rem 1rem 1rem;
    }

    .business-video-icon {
        font-size: 2.5rem;
    }

    .business-video-overlay h4 {
        font-size: 1.25rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

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

    .feature-card {
        padding: 1.5rem;
    }

    .section-title {
        font-size: 1.75rem;
    }
}

/* ============================================
   Smooth Scrolling
   ============================================ */

html {
    scroll-behavior: smooth;
}

/* ============================================
   Pricing Cards
   ============================================ */

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

.pricing-card {
    background: white;
    border: 2px solid var(--border);
    border-radius: 1.5rem;
    padding: 2.5rem;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.pricing-card.pricing-featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: scale(1.05);
}

.pricing-card.pricing-featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 700;
    box-shadow: var(--shadow);
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-header h3 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.pricing-description {
    color: var(--text-light);
    font-size: 0.875rem;
}

.pricing-price {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.price-amount {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.price-period {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-left: 0.5rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.75rem 0;
    color: var(--text);
    font-size: 1rem;
    border-bottom: 1px solid var(--border);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.btn-pricing {
    display: block;
    width: 100%;
    padding: 1rem;
    background: var(--primary);
    color: white;
    text-decoration: none;
    text-align: center;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

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

.btn-pricing-featured {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
}

.btn-pricing-featured:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

/* ============================================
   Auth Footer (Simple y pequeño)
   ============================================ */

.auth-footer {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 1.5rem 0;
    text-align: center;
    color: var(--text-light);
    font-size: 0.7rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    margin: 0;
    position: relative;
    z-index: 1;
    width: 100%;
    flex-shrink: 0;
    margin-top: auto;
}

.auth-footer .auth-container {
    padding: 0 1.5rem;
}

.auth-footer p {
    margin: 0;
    opacity: 0.7;
}

/* ============================================
   Accessibility
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================
   Auth Pages (Login, Register, etc.)
   ============================================ */

.auth-section {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 6rem 0 3rem;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
    overflow: hidden;
    margin: 0;
    width: 100%;
    min-height: 0;
}

.auth-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.05) 0%, transparent 70%);
    animation: pulse 20s ease-in-out infinite;
}

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

.auth-container {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    padding: 0 1.5rem;
}

.auth-card {
    background: white;
    border-radius: 1.25rem;
    padding: 2rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(99, 102, 241, 0.1);
    animation: fadeInUp 0.6s ease;
    width: 100%;
    position: relative;
    backdrop-filter: blur(10px);
}

.auth-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border);
}

.auth-header h1 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text);
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-header p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.auth-form {
    margin-top: 1.5rem;
}

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

.form-section:last-of-type {
    margin-bottom: 0;
}

.form-section h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--text);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border);
    position: relative;
}

.form-section h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 2px;
}

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

.form-group:last-child {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    margin-bottom: 0.625rem;
    font-weight: 600;
    color: var(--text);
    font-size: 0.875rem;
    letter-spacing: 0.025em;
}

.form-group input {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border: 2px solid var(--border);
    border-radius: 0.75rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
    background: white;
    color: var(--text);
}

.form-group input::placeholder {
    color: #9ca3af;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
    transform: translateY(-1px);
}

.form-group small {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.subdomain-input {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    border: 2px solid var(--border);
    border-radius: 0.75rem;
    padding: 0 0.5rem;
    transition: all 0.3s ease;
}

.subdomain-input:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.subdomain-input input {
    flex: 1;
    border: none;
    padding: 0.875rem 0.5rem;
    background: transparent;
    box-shadow: none;
}

.subdomain-input input:focus {
    box-shadow: none;
    transform: none;
}

.subdomain-suffix {
    color: var(--text-light);
    font-weight: 600;
    white-space: nowrap;
    font-size: 0.875rem;
}

.form-help {
    text-align: right;
    margin-top: 0.5rem;
}

.form-help a {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
}

.form-help a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.form-actions {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.btn-auth-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.875rem 1.25rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(99, 102, 241, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-auth-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-auth-primary:hover::before {
    left: 100%;
}

.btn-auth-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(99, 102, 241, 0.4);
}

.btn-auth-primary:active {
    transform: translateY(0);
}

.btn-auth-block {
    width: 100%;
}

.auth-footer-text {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--text-light);
    font-size: 0.875rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.auth-footer-text a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.auth-footer-text a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.alert {
    padding: 1rem 1.25rem;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    line-height: 1.6;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.alert::before {
    content: '';
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    border-radius: 50%;
}

.alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
}

.alert-error::before {
    background: #dc2626;
    content: '⚠';
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: white;
}

.alert-success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #16a34a;
}

.alert-success::before {
    background: #16a34a;
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: white;
}

/* ============================================
   Pricing Responsive
   ============================================ */

@media (max-width: 1024px) {
    .pricing-card.pricing-featured {
        transform: scale(1);
    }
    
    .pricing-card.pricing-featured:hover {
        transform: translateY(-8px);
    }
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card {
        padding: 2rem;
    }
    
    .price-amount {
        font-size: 2.5rem;
    }

    .auth-section {
        flex: 1;
        padding: 5rem 0 2rem;
    }

    .auth-container {
        padding: 0 1rem;
        max-width: 100%;
    }

    .auth-card {
        padding: 1.5rem;
        border-radius: 1rem;
    }

    .auth-header {
        margin-bottom: 1.25rem;
        padding-bottom: 0.75rem;
    }

    .auth-header h1 {
        font-size: 1.5rem;
    }

    .auth-header p {
        font-size: 0.85rem;
    }

    .auth-form {
        margin-top: 1.25rem;
    }

    .form-actions {
        margin-top: 1.25rem;
        padding-top: 1.25rem;
    }

    .auth-footer {
        padding: 0.75rem 0;
        font-size: 0.65rem;
    }

    .auth-footer {
        padding: 1rem 0;
        font-size: 0.7rem;
    }

    .auth-footer .auth-container {
        padding: 0 1rem;
    }

    .auth-container {
        max-width: 100%;
    }

    .auth-card {
        padding: 2rem 1.5rem;
        border-radius: 1.25rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .auth-header {
        margin-bottom: 1.25rem;
        padding-bottom: 0.75rem;
    }

    .auth-header h1 {
        font-size: 1.5rem;
    }

    .auth-form {
        margin-top: 1.25rem;
    }

    .form-section {
        margin-bottom: 1.25rem;
    }

    .form-section h3 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .form-actions {
        margin-top: 1.25rem;
        padding-top: 1.25rem;
    }
}

@media (max-width: 480px) {
    .auth-section {
        padding: 4rem 0 1.5rem;
    }

    .auth-container {
        padding: 0 1rem;
    }

    .auth-card {
        padding: 1.25rem;
    }

    .auth-header h1 {
        font-size: 1.25rem;
    }

    .auth-footer {
        padding: 0.5rem 0;
        font-size: 0.6rem;
    }

    .auth-footer {
        padding: 0.75rem 0;
        font-size: 0.65rem;
    }

    .auth-footer .auth-container {
        padding: 0 1rem;
    }

    .auth-card {
        padding: 1.5rem 1.25rem;
        border-radius: 1rem;
    }

    .auth-header {
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
    }

    .auth-header h1 {
        font-size: 1.5rem;
    }

    .auth-header p {
        font-size: 0.875rem;
    }

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

    .form-group input {
        padding: 0.75rem 1rem;
        font-size: 0.9375rem;
    }

    .btn-auth-primary {
        padding: 0.875rem 1.25rem;
        font-size: 1rem;
    }
}

