/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #10b981;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --gray: #64748b;
    --gray-light: #cbd5e1;
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --text: #0f172a;
    --text-light: #475569;
    --border: #e2e8f0;
    --success: #10b981;
    --warning: #f59e0b;

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);

    --radius: 12px;
    --radius-lg: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    padding: 16px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 18px;
    color: var(--dark);
}

.logo-icon {
    font-size: 24px;
}

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

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

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

/* Buttons */
.btn-primary-large {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: white;
    padding: 16px 32px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 18px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: var(--shadow-md);
}

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

.btn-primary {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-primary-small {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
}

.btn-primary-small:hover {
    background: var(--primary-dark);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--primary);
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    border: 2px solid var(--primary);
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

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

.btn-arrow {
    transition: transform 0.2s;
}

.btn-primary-large:hover .btn-arrow {
    transform: translateX(4px);
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    text-align: center;
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
}

.hero-badge {
    margin-bottom: 24px;
}

.badge-pill {
    display: inline-block;
    background: var(--primary-light);
    color: white;
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
}

.badge-pill-light {
    display: inline-block;
    background: var(--bg-alt);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid var(--border);
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--dark);
}

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

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

.hero-cta {
    margin-bottom: 48px;
}

.cta-subtext {
    margin-top: 12px;
    font-size: 14px;
    color: var(--gray);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 64px;
    margin-bottom: 64px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--gray);
    font-weight: 500;
}

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

.demo-placeholder {
    background: var(--dark);
    border-radius: var(--radius-lg);
    padding: 120px 40px;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: var(--shadow-xl);
}

.demo-placeholder:hover {
    transform: scale(1.02);
}

.demo-play {
    font-size: 48px;
    margin-bottom: 16px;
}

/* Problem Section */
.problem {
    padding: 80px 0;
    background: white;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 64px;
    color: var(--dark);
}

.section-title-large {
    font-size: 56px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 64px;
    line-height: 1.2;
    color: var(--dark);
}

.section-subtitle {
    text-align: center;
    font-size: 20px;
    color: var(--text-light);
    margin-top: -48px;
    margin-bottom: 48px;
}

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

.problem-card {
    background: var(--bg-alt);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.problem-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.problem-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark);
}

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

/* Solution Section */
.solution {
    padding: 80px 0;
    background: var(--bg-alt);
}

.solution-badge {
    text-align: center;
    margin-bottom: 24px;
}

.solution-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    flex: 1;
    background: white;
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 2px solid var(--border);
    text-align: center;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 16px;
}

.step-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark);
}

.step-content p {
    color: var(--text-light);
    font-size: 14px;
}

.step-arrow {
    font-size: 32px;
    color: var(--gray);
    font-weight: 300;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: white;
}

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

.feature-card {
    padding: 32px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.3s;
}

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

.feature-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark);
}

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

/* Comparison Section */
.comparison {
    padding: 80px 0;
    background: var(--bg-alt);
}

.comparison-table {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.comparison-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    background: var(--dark);
    color: white;
    padding: 24px;
    font-weight: 600;
}

.comparison-logo {
    text-align: center;
    font-size: 14px;
}

.comparison-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    align-items: center;
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-feature {
    font-weight: 600;
    color: var(--dark);
}

.comparison-value {
    text-align: center;
    color: var(--text-light);
}

.comparison-value.highlight {
    background: var(--primary-light);
    color: white;
    margin: -20px 0;
    padding: 20px 0;
    font-weight: 600;
}

/* Pricing Section */
.pricing {
    padding: 80px 0;
    background: white;
}

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

.pricing-card {
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
    transition: all 0.3s;
}

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

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

.pricing-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.pricing-header h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark);
}

.pricing-description {
    color: var(--gray);
    margin-bottom: 24px;
}

.pricing-price {
    margin-bottom: 8px;
}

.price-amount {
    font-size: 56px;
    font-weight: 800;
    color: var(--dark);
}

.price-period {
    font-size: 18px;
    color: var(--gray);
}

.pricing-save {
    color: var(--success);
    font-weight: 600;
    margin-bottom: 24px;
    font-size: 14px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
}

.pricing-features li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-light);
}

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

.pricing-faq {
    text-align: center;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Social Proof */
.social-proof {
    padding: 80px 0;
    background: var(--bg-alt);
}

.early-access-stats {
    text-align: center;
    margin-top: 48px;
}

.stat-large {
    display: inline-block;
}

.stat-number-large {
    font-size: 80px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

.stat-label-large {
    font-size: 18px;
    color: var(--gray);
    font-weight: 500;
}

/* How It Works */
.how-it-works {
    padding: 80px 0;
    background: white;
}

.demo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 48px;
    margin-bottom: 64px;
}

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

.demo-number {
    width: 64px;
    height: 64px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    margin: 0 auto 24px;
}

.demo-item h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark);
}

.demo-item p {
    color: var(--text-light);
}

/* Code Example */
.code-example {
    background: var(--dark);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.code-header {
    background: var(--dark-light);
    padding: 16px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.code-tabs {
    display: flex;
    gap: 16px;
}

.code-tab {
    background: transparent;
    color: var(--gray-light);
    border: none;
    padding: 8px 16px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s;
}

.code-tab:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.code-tab.active {
    background: var(--primary);
    color: white;
}

.code-content {
    padding: 24px;
}

.code-block {
    color: #e2e8f0;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.8;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
}

.cta-box {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-box h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-box > p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-form {
    display: flex;
    gap: 16px;
    max-width: 500px;
    margin: 0 auto 24px;
}

.email-input {
    flex: 1;
    padding: 16px 24px;
    border: none;
    border-radius: var(--radius);
    font-size: 16px;
    background: white;
}

.cta-fine-print {
    font-size: 14px;
    opacity: 0.8;
}

/* Footer */
.footer {
    padding: 64px 0 32px;
    background: var(--dark);
    color: white;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 16px;
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    color: var(--gray-light);
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.2s;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray-light);
    font-size: 14px;
}

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

.footer-links a {
    color: var(--gray-light);
    text-decoration: none;
}

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

/* Download Section */
.download-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.download-header {
    text-align: center;
    margin-bottom: 60px;
}

.download-header h2 {
    font-size: 48px;
    margin-bottom: 16px;
    color: white;
}

.download-header .subtitle {
    font-size: 20px;
    opacity: 0.9;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.download-card {
    background: white;
    color: var(--text);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.download-card.featured {
    border: 3px solid #ffd700;
}

.download-card .badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #ffd700;
    color: var(--dark);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.download-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark);
}

.download-card h3::before {
    content: '🖥️ ';
    margin-right: 8px;
}

.download-card:not(.featured) h3::before {
    content: '🌐 ';
}

.download-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.platform-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    padding: 16px;
    background: var(--bg-alt);
    border-radius: 8px;
}

.platform-info strong {
    color: var(--dark);
    font-size: 16px;
}

.platform-info .version,
.platform-info .size,
.platform-info .status {
    font-size: 14px;
    color: var(--gray);
}

.download-button {
    display: block;
    width: 100%;
    padding: 16px 32px;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    margin: 20px 0;
    transition: all 0.3s;
    text-decoration: none;
    text-align: center;
}

.download-button.primary {
    background: var(--primary);
    color: white;
}

.download-button.primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.download-button.secondary {
    background: var(--gray-light);
    color: var(--gray);
}

.download-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.quick-start {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.quick-start h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--dark);
}

.quick-start ol {
    margin-left: 20px;
    color: var(--text-light);
}

.quick-start li {
    margin-bottom: 8px;
    font-size: 14px;
}

.download-card .note {
    font-size: 13px;
    color: var(--gray);
    font-style: italic;
    margin-top: 16px;
    padding: 12px;
    background: var(--bg-alt);
    border-radius: 8px;
}

.system-requirements {
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: var(--radius-lg);
    margin-bottom: 40px;
}

.system-requirements h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.req-item {
    background: rgba(255,255,255,0.1);
    padding: 16px;
    border-radius: 8px;
}

.req-item strong {
    color: white;
    display: block;
    margin-bottom: 4px;
}

.installation-guide {
    margin-bottom: 40px;
}

.installation-guide h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    color: white;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

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

.step-number-box {
    width: 60px;
    height: 60px;
    background: white;
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 16px;
}

.step-item h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: white;
}

.step-item p {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
}

.troubleshooting {
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: var(--radius-lg);
}

.troubleshooting summary {
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    padding: 10px;
    color: white;
}

.troubleshooting summary:hover {
    opacity: 0.8;
}

.faq-content {
    padding: 20px;
}

.faq-item {
    margin-bottom: 20px;
}

.faq-item strong {
    color: white;
    display: block;
    margin-bottom: 8px;
}

.faq-item p {
    color: rgba(255,255,255,0.8);
    margin-left: 16px;
}

/* Responsive */
@media (max-width: 968px) {
    .hero-title {
        font-size: 48px;
    }

    .section-title {
        font-size: 36px;
    }

    .section-title-large {
        font-size: 40px;
    }

    .solution-steps {
        flex-direction: column;
    }

    .step-arrow {
        transform: rotate(90deg);
    }

    .comparison-header,
    .comparison-row {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .comparison-value {
        text-align: left;
    }

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

    .nav-links {
        gap: 16px;
    }

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

    .download-header h2 {
        font-size: 36px;
    }

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

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

@media (max-width: 640px) {
    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 32px;
    }

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

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

/* ============================================================================
   MODAL & TOAST STYLES (Trial Signup Integration)
   ============================================================================ */

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.modal-overlay.show {
    opacity: 1;
}

/* Modal Container */
.modal-container {
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.show .modal-container {
    transform: scale(1) translateY(0);
}

/* Modal Content */
.modal-content {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Modal Close Button */
.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 32px;
    color: var(--gray);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.modal-close:hover {
    background: var(--bg-alt);
    color: var(--dark);
    transform: rotate(90deg);
}

/* Success Modal */
.success-modal h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 8px;
    text-align: center;
}

.success-subtitle {
    font-size: 18px;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 32px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: white;
}

.success-icon svg {
    stroke-width: 3;
}

/* Error Modal */
.error-modal h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 16px;
    text-align: center;
}

.error-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: white;
}

.error-icon svg {
    stroke-width: 3;
}

.error-message {
    font-size: 16px;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 32px;
    line-height: 1.6;
}

/* License Key Box */
.license-key-box {
    background: var(--bg-alt);
    border: 2px solid var(--primary);
    border-radius: var(--radius);
    padding: 24px;
    margin: 32px 0;
}

.license-key-box label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray);
    margin-bottom: 12px;
    text-align: center;
}

.license-key-display {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    border-radius: 8px;
    padding: 16px;
}

.license-key-display code {
    flex: 1;
    font-family: 'Courier New', monospace;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
    word-break: break-all;
}

.copy-button {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
    white-space: nowrap;
}

.copy-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.copy-button svg {
    flex-shrink: 0;
}

/* Email Notice */
.email-notice {
    background: #eff6ff;
    border-left: 4px solid var(--primary);
    border-radius: 8px;
    padding: 20px;
    margin: 24px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.email-notice svg {
    color: var(--primary);
    margin-bottom: 12px;
}

.email-notice p {
    margin: 0 0 8px 0;
    color: var(--text);
    font-size: 15px;
}

.email-notice .small-text {
    font-size: 13px;
    color: var(--text-light);
}

/* Next Steps */
.next-steps {
    margin: 32px 0;
}

.next-steps h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
}

.next-steps ol {
    margin: 0;
    padding-left: 24px;
}

.next-steps li {
    color: var(--text-light);
    margin-bottom: 12px;
    line-height: 1.6;
}

.next-steps li strong {
    color: var(--dark);
}

.next-steps a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.next-steps a:hover {
    text-decoration: underline;
}

/* Modal Actions */
.modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 32px;
}

.modal-actions .btn-primary-large,
.modal-actions .btn-primary,
.modal-actions .btn-secondary {
    flex: 1;
    text-align: center;
    text-decoration: none;
}

/* Loading Spinner */
.loading-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.6s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

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

.btn-primary-large.loading,
.btn-primary.loading {
    opacity: 0.8;
    cursor: not-allowed;
}

/* Toast Notifications */
.toast {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--dark);
    color: white;
    padding: 16px 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-xl);
    font-weight: 500;
    font-size: 15px;
    z-index: 10001;
    transition: bottom 0.3s ease;
    max-width: 400px;
    text-align: center;
}

.toast.show {
    bottom: 32px;
}

.toast.toast-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.toast.toast-error {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.toast.toast-info {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

/* Responsive Modal Styles */
@media (max-width: 640px) {
    .modal-content {
        padding: 28px 20px;
    }

    .success-modal h2,
    .error-modal h2 {
        font-size: 24px;
    }

    .success-subtitle {
        font-size: 16px;
    }

    .license-key-display {
        flex-direction: column;
    }

    .license-key-display code {
        font-size: 14px;
        text-align: center;
    }

    .copy-button {
        width: 100%;
        justify-content: center;
    }

    .modal-actions {
        flex-direction: column;
    }

    .next-steps ol {
        padding-left: 20px;
    }
}
