/* Modern CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
}

:root {
    /* Brand Colors - "Trustworthy Technology for Real-World Businesses" */
    --primary-blue: #2563EB;        /* Trust / Tech - Core CTA and gradient */
    --primary-hover: #1d4ed8;       /* Darker blue for hover states */
    --secondary-green: #16A34A;     /* Energy / Call Action - CTAs only */
    --secondary-hover: #15803d;     /* Darker green for hover */
    --background-neutral: #F9FAFB;  /* Very light gray - contrast behind blue */
    --text-primary: #1E293B;        /* Slate gray - easier on eyes */
    --text-secondary: #64748b;      /* Lighter gray for secondary text */
    --border-color: #e2e8f0;        /* Light border */
    --card-bg: #ffffff;             /* Pure white for cards */
    --error-red: #EF4444;           /* Error/validation */
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', 'Manrope', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.5;
    color: var(--text-primary);
    background: linear-gradient(135deg, #1e40af 0%, var(--primary-blue) 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* Top Banner - Only use green for free trial messaging */
.top-banner {
    background: var(--secondary-green);
    color: white;
    padding: 0.875rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.top-banner-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.banner-text {
    font-weight: 600;
    font-size: 0.95rem;
}

.banner-cta {
    background: white;
    color: var(--secondary-green);
    padding: 0.625rem 1.75rem;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.banner-cta:hover {
    background: #f0fdf4;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

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

.banner-login {
    color: white;
    padding: 0.625rem 1.5rem;
    border: 2px solid white;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    background: transparent;
}

.banner-login:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

/* Landing Container */
.landing-container {
    max-width: 100%;
    margin: 0 auto;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Combined Hero + Form Section */
.hero-with-form-section {
    color: white;
    padding: 5rem 2rem;
    flex: 1;
    display: flex;
    align-items: center;
}

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

/* Hero Content (Left Side) */
.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: 3.25rem;
    font-weight: 800;
    margin-bottom: 1.75rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.35rem;
    opacity: 0.95;
    line-height: 1.6;
    font-weight: 400;
    margin-bottom: 1.25rem;
}

.hero-supporting {
    font-size: 1.125rem;
    opacity: 0.9;
    line-height: 1.6;
    font-weight: 400;
}

/* Demo Selector Module (Right Side) - White card with shadow */
.demo-selector-module {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2), 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 520px;
}

.demo-selector-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 0.875rem;
    text-align: center;
}

.demo-icon {
    display: inline-block;
    margin-right: 0.5rem;
}

.demo-selector-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.5;
    text-align: center;
    margin-bottom: 2rem;
}

/* Industry Button Grid */
.industry-button-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.industry-button {
    background: var(--background-neutral);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-primary);
}

.industry-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-blue);
    background: white;
}

.industry-button.selected {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.industry-icon {
    font-size: 2rem;
    display: block;
}

.industry-name {
    font-size: 1rem;
    font-weight: 700;
}

.demo-selector-helper {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Selected State Styles */
.demo-selector-selected {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.selected-industry-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.selected-industry-badge {
    background: var(--primary-blue);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
}

.change-industry-link {
    background: none;
    border: none;
    color: var(--primary-blue);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.change-industry-link:hover {
    color: var(--primary-hover);
}

/* Phone Number Section */
.phone-number-section {
    text-align: center;
}

.phone-cta-text {
    font-size: 1.125rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.phone-number-display {
    display: block;
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--primary-blue);
    text-decoration: none;
    margin: 1.25rem 0;
    letter-spacing: 1px;
    transition: all 0.2s ease;
}

.phone-number-display:hover {
    color: var(--primary-hover);
    transform: scale(1.05);
}

/* Experience List */
.experience-list h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.experience-list ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
}

.experience-list li {
    padding: 0.5rem 0;
    color: var(--text-primary);
    font-size: 0.9375rem;
    line-height: 1.5;
}

.experience-list li::before {
    content: "✓ ";
    color: var(--secondary-green);
    font-weight: 700;
    margin-right: 0.5rem;
}

.experience-footer {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    margin-top: 0.75rem;
    font-weight: 500;
}

/* Trial CTA Section */
.trial-cta-section {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 2px solid var(--border-color);
}

.trial-cta-text {
    font-size: 1.125rem;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    font-weight: 600;
}

/* Section Title & Subtitle (for demo sections) */
.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    text-align: center;
    letter-spacing: -0.01em;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    text-align: center;
    line-height: 1.6;
}

/* Buttons */
.btn {
    padding: 1.125rem 2rem;
    border: none;
    border-radius: 10px;
    font-size: 1.0625rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

.btn-primary:hover:not(:disabled) {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
}

.btn-primary:disabled {
    background: var(--text-secondary);
    cursor: not-allowed;
    opacity: 0.6;
    box-shadow: none;
}

.btn-secondary {
    background: var(--text-secondary);
    color: white;
}

.btn-secondary:hover {
    background: #475569;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(100, 116, 139, 0.3);
}

.btn-demo {
    background: white;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-demo:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.25);
}

.btn-large {
    width: 100%;
    padding: 1.375rem 2rem;
    font-size: 1.125rem;
}

.btn-cta {
    background: var(--secondary-green);
    color: white;
    font-size: 1.25rem;
    padding: 1.5rem 3rem;
}

.btn-cta:hover {
    background: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(22, 163, 74, 0.3);
}

/* Demo Section */
.demo-section {
    max-width: 1200px;
    margin: 5rem auto;
    padding: 0 2rem;
}

.demo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}

.demo-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 2.25rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.demo-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-blue);
}

.demo-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.875rem;
    letter-spacing: -0.01em;
}

.demo-description {
    color: var(--text-secondary);
    margin-bottom: 1.75rem;
    min-height: 3rem;
    line-height: 1.5;
}

.demo-icon {
    font-size: 1.5rem;
}

/* Demo Detail Section */
.demo-detail-section {
    max-width: 800px;
    margin: 5rem auto;
    padding: 0 2rem;
}

.demo-detail-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 3.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.detail-title {
    font-size: 2.25rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.detail-content {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.phone-display {
    text-align: center;
}

.phone-display h3 {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    font-weight: 600;
}

.phone-number {
    display: block;
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--primary-blue);
    text-decoration: none;
    margin: 1.25rem 0;
    letter-spacing: 1px;
    transition: all 0.2s ease;
}

.phone-number:hover {
    color: var(--primary-hover);
    transform: scale(1.05);
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.5rem 0;
}

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

.divider span {
    padding: 0 1.25rem;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.875rem;
}

.cta-section {
    text-align: center;
}

.cta-section h3 {
    font-size: 1.375rem;
    color: var(--text-primary);
    margin-bottom: 1.75rem;
    font-weight: 700;
}

/* Pricing Preview Section */
.pricing-preview-section {
    background: var(--background-neutral);
    padding: 4rem 2rem;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

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

.pricing-preview-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

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

.pricing-card {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-blue);
}

.pricing-card-featured {
    border-color: var(--primary-blue);
    border-width: 3px;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.15);
}

.pricing-card-featured:hover {
    box-shadow: 0 16px 40px rgba(37, 99, 235, 0.25);
}

.plan-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-blue);
    color: white;
    padding: 0.375rem 1rem;
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.plan-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    line-height: 1;
}

.price-period {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.plan-description {
    font-size: 1.0625rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 500;
    line-height: 1.5;
}

.plan-detail {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.trial-callout {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.trial-text {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.trial-subtext {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

/* Features Grid (inside pricing section) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem 3rem;
    max-width: 1100px;
    margin: 3rem auto 2rem;
    padding: 0 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    justify-content: center;
}

.feature-icon {
    color: var(--secondary-green);
    font-weight: 700;
    font-size: 1.375rem;
}

.feature-text {
    color: var(--text-primary);
    font-size: 1.0625rem;
    font-weight: 600;
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: rgba(255, 255, 255, 0.8);
    padding: 0.875rem 0;
    text-align: center;
    font-size: 0.9375rem;
    flex-shrink: 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.footer p {
    margin: 0;
    padding: 0 1rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-form-container {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .demo-selector-module {
        max-width: 600px;
        margin: 0 auto;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 500px;
    }

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

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .hero-with-form-section {
        padding: 3.5rem 1.5rem;
        /* On mobile, allow scrolling if content is taller than viewport */
        flex: 0 1 auto;
        min-height: calc(100vh - 120px);
    }

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

    .demo-selector-module {
        padding: 2rem;
    }

    .phone-number-display {
        font-size: 2rem;
    }

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

    .demo-detail-card {
        padding: 2.5rem 1.75rem;
    }

    .phone-number {
        font-size: 2rem;
    }

    .top-banner-content {
        flex-direction: column;
        gap: 0.875rem;
        text-align: center;
    }

    .banner-text {
        font-size: 0.875rem;
    }

    .banner-cta-group {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
    }

    .banner-login,
    .banner-cta {
        width: 100%;
        text-align: center;
    }

    .pricing-preview-section {
        padding: 3rem 1.5rem;
    }

    .pricing-preview-title {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }

    .pricing-card {
        padding: 2rem 1.5rem;
    }

    .plan-price {
        font-size: 2.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        margin: 2rem auto 1.5rem;
    }

    .feature-item {
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .phone-number-display {
        font-size: 1.75rem;
    }

    .demo-selector-module {
        padding: 1.75rem;
    }

    .industry-button {
        padding: 1.25rem 0.75rem;
    }

    .industry-icon {
        font-size: 1.5rem;
    }

    .hero-with-form-section {
        /* Tighter padding on very small screens */
        padding: 2.5rem 1.25rem;
    }

    .pricing-preview-section {
        padding: 2.5rem 1.25rem;
    }

    .pricing-preview-title {
        font-size: 1.5rem;
    }

    .plan-price {
        font-size: 2.25rem;
    }

    .trial-text {
        font-size: 1.125rem;
    }

    .features-grid {
        margin: 1.5rem auto 1rem;
    }

    .feature-text {
        font-size: 1rem;
    }
}

/* ============================================
   LOGIN PAGE STYLES
   ============================================ */

/* Login Container - Full page centered layout */
.login-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg, #1e40af 0%, var(--primary-blue) 100%);
}

/* Login Card - White card similar to demo selector */
.login-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2), 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 480px;
    width: 100%;
}

/* Login Header */
.login-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.login-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.login-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 400;
}

/* Login Form */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.form-input {
    padding: 1rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    color: var(--text-primary);
    background: var(--card-bg);
    transition: all 0.2s ease;
    font-family: inherit;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-input::placeholder {
    color: var(--text-secondary);
    opacity: 0.6;
}

.code-input {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.25rem;
    text-transform: uppercase;
}

.form-help-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

/* Delivery Method Radio Group */
.delivery-method-group {
    display: flex;
    gap: 1rem;
}

.radio-option {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: var(--background-neutral);
}

.radio-option:hover {
    border-color: var(--primary-blue);
    background: var(--card-bg);
}

.radio-option input[type="radio"] {
    display: none;
}

.radio-option input[type="radio"]:checked + .radio-label {
    color: var(--primary-blue);
    font-weight: 700;
}

.radio-option:has(input[type="radio"]:checked) {
    border-color: var(--primary-blue);
    background: var(--card-bg);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.15);
}

.radio-label {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: all 0.2s ease;
}

/* Form Error Message */
.form-error {
    background: #FEF2F2;
    border: 1px solid #FCA5A5;
    border-radius: 8px;
    padding: 0.875rem 1rem;
    color: #B91C1C;
    font-size: 0.9375rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-error::before {
    content: "⚠️";
    font-size: 1.125rem;
}

/* Verification Info Section */
.verification-info {
    background: var(--background-neutral);
    border-radius: 10px;
    padding: 1.25rem;
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 2px solid var(--border-color);
}

.verification-text {
    font-size: 0.9375rem;
    color: var(--text-primary);
    line-height: 1.5;
    margin: 0;
}

.verification-text strong {
    color: var(--primary-blue);
    font-weight: 700;
}

.change-method-link {
    background: none;
    border: none;
    color: var(--primary-blue);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.2s ease;
    padding: 0.25rem 0.5rem;
}

.change-method-link:hover {
    color: var(--primary-hover);
}

/* Resend Section */
.resend-section {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--border-color);
}

.resend-text {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.resend-link {
    background: none;
    border: none;
    color: var(--primary-blue);
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.resend-link:hover {
    color: var(--primary-hover);
}

.resend-link:disabled {
    color: var(--text-secondary);
    cursor: not-allowed;
    opacity: 0.5;
}

/* Success State */
.login-success {
    text-align: center;
    padding: 2rem 0;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--secondary-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    animation: successPulse 0.6s ease-out;
}

@keyframes successPulse {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.success-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.success-text {
    font-size: 1rem;
    color: var(--text-secondary);
}

/* Login Footer */
.login-footer {
    margin-top: 2rem;
    text-align: center;
}

.login-footer p {
    font-size: 0.9375rem;
    color: white;
    opacity: 0.9;
}

.footer-link {
    color: white;
    font-weight: 600;
    text-decoration: underline;
    transition: opacity 0.2s ease;
}

.footer-link:hover {
    opacity: 0.8;
}

/* Team Management Section */
.invite-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e1e5e9;
}

.section-subtitle {
    font-size: 18px;
    font-weight: 600;
    color: #212529;
    margin: 0 0 20px 0;
}

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

@media (max-width: 768px) {
    .invite-form .form-row {
        grid-template-columns: 1fr;
    }
}

/* Team Table */
.team-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.team-table thead {
    background: #f8f9fa;
}

.team-table th {
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    color: #495057;
    border-bottom: 2px solid #dee2e6;
}

.team-table td {
    padding: 15px;
    border-bottom: 1px solid #e1e5e9;
}

.team-table tr.pending-invitation {
    background: #fff3cd20;
}

.member-info {
    display: flex;
    flex-direction: column;
}

.member-name {
    font-weight: 600;
    color: #212529;
    margin-bottom: 4px;
}

.member-email {
    font-size: 14px;
    color: #6c757d;
}

.role-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
}

.role-admin {
    background: #667eea;
    color: white;
}

.role-manager {
    background: #28a745;
    color: white;
}

.role-viewer {
    background: #6c757d;
    color: white;
}

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
}

.status-badge.active {
    background: #d4edda;
    color: #155724;
}

.status-badge.pending {
    background: #fff3cd;
    color: #856404;
}

.actions-cell {
    text-align: right;
}

.btn-action {
    padding: 6px 12px;
    font-size: 13px;
    border-radius: 4px;
    border: 1px solid;
    cursor: pointer;
    margin-left: 8px;
    transition: all 0.2s;
}

.btn-action-secondary {
    background: white;
    color: #007bff;
    border-color: #007bff;
}

.btn-action-secondary:hover {
    background: #007bff;
    color: white;
}

.btn-action-danger {
    background: white;
    color: #dc3545;
    border-color: #dc3545;
}

.btn-action-danger:hover {
    background: #dc3545;
    color: white;
}

.empty-state {
    padding: 40px;
    text-align: center;
}

.empty-state-text {
    color: #6c757d;
    font-size: 16px;
}

.text-muted {
    color: #6c757d;
}

/* Loading State for Buttons */
.btn.loading {
    position: relative;
    color: transparent;
    pointer-events: none;
}

.btn.loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
}

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

/* Responsive Design for Login Page */
@media (max-width: 768px) {
    .login-card {
        padding: 2.5rem 2rem;
    }

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

    .verification-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .change-method-link {
        align-self: flex-end;
    }
}

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

    .login-card {
        padding: 2rem 1.5rem;
    }

    .login-title {
        font-size: 1.5rem;
    }

    .delivery-method-group {
        flex-direction: column;
    }

    .code-input {
        font-size: 1.25rem;
        letter-spacing: 0.2rem;
    }
}
