/* 
  L-Summary: Landing Page Design System (Updated with Waitlist)
  Theme: Dark Premium / Modern SaaS / Glassmorphism
*/

:root {
    --bg-color: #050505;
    --surface-color: #121212;
    --primary-gradient: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
    --primary-blue: #3B82F6;
    --primary-purple: #8B5CF6;
    --text-main: #FFFFFF;
    --text-muted: #A1A1AA;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Button & UI Components */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 99px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.btn-outline {
    border: 1px solid var(--glass-border);
    color: white;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-share {
    background: #0077B5; /* LinkedIn Color */
    color: white;
    border: none;
}

/* Header */
header {
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

/* Header minimalist layout */
.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

@media (max-width: 768px) {
    header {
        padding: 0.5rem 0;
    }
    .nav-content {
        height: auto;
        padding: 1rem 0;
    }
}

/* Language Dropdown Premium Styling */
.lang-dropdown {
    position: relative;
    z-index: 1001;
}

.lang-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 0.5rem 0.9rem;
    border-radius: 99px;
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all 0.2s ease;
}

.lang-dropdown-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.lang-dropdown-content {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 0.5rem;
    min-width: 180px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lang-dropdown-content.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.lang-dropdown-content .lang-btn {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.75rem 1rem;
    background: none;
    border: none;
    color: var(--text-muted);
    text-align: left;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lang-dropdown-content .lang-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

.lang-dropdown-content .lang-btn.active {
    color: var(--primary-blue);
    background: rgba(59, 130, 246, 0.08);
}


.logo {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.5px;
}

/* Hero Section */
.hero {
    padding: 10rem 0 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    z-index: -1;
}

h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.hero-visual {
    margin-top: 4rem;
    border-radius: 24px;
    padding: 10px;
    background: var(--glass-border);
    border: 1px solid var(--glass-border);
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.video-wrapper {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
}

.hero-visual video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain; /* Ensures the whole screen recording is visible */
}

.video-overlay-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    background: radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    z-index: 2;
}

/* Installation Guide */
.installation-guide {
    text-align: left;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 24px;
    margin: 2rem 0;
}

.installation-guide h4 {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    color: #fff;
}

.step-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.step-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.step-item:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 28px;
    height: 28px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

.step-content {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.6;
}

.step-content strong {
    display: block;
    margin-bottom: 0.25rem;
    color: #fff;
}

.code-hint {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    font-family: monospace;
    font-size: 0.85rem;
    color: var(--primary-blue);
    word-break: break-all;
}

/* Features Section */
.features {
    padding: 8rem 0;
    background: rgba(0, 0, 0, 0.2);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

/* Waitlist Section */
.waitlist-section {
    padding: 10rem 0;
}

.waitlist-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    padding: 5rem 4rem;
    border-radius: 48px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    transition: all 0.5s ease;
}

.waitlist-form {
    display: flex;
    gap: 0.75rem;
    max-width: 550px;
    margin: 2.5rem auto 0;
    align-items: center;
}

.waitlist-form input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 1rem 1.5rem;
    border-radius: 99px;
    color: white;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    min-width: 250px;
}

.waitlist-form input:focus {
    border-color: var(--primary-blue);
    background: rgba(255, 255, 255, 0.08);
}

/* Verification Box (Reward) */
.verification-box {
    margin-top: 5rem;
    padding: 3.5rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(37, 99, 235, 0.03));
    border: 1px solid rgba(59, 130, 246, 0.4);
    border-radius: 32px;
    text-align: left;
    display: none;
    animation: slideUp 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    position: relative;
    overflow: hidden;
}

.verification-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-blue), transparent);
}

.verification-box h4 {
    margin-bottom: 2rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.3rem;
}

.verification-box .notice-text {
    font-size: 1rem;
    line-height: 1.9;
    margin-bottom: 3rem;
    color: var(--text-muted);
}

.link-input-group {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

.link-input-group input {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    padding: 1.5rem 1.75rem;
    border-radius: 20px;
    color: white;
    font-size: 1.1rem;
    outline: none;
    transition: all 0.3s ease;
}

.link-input-group input:focus {
    border-color: var(--primary-blue);
    background: rgba(0, 0, 0, 0.3);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.confirm-btn {
    width: 100%;
    padding: 1.1rem;
    background: linear-gradient(135deg, var(--primary-blue), #2563eb);
    border: none;
    border-radius: 16px;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.2);
}

.confirm-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(59, 130, 246, 0.3);
    filter: brightness(1.1);
}

.confirm-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: var(--text-muted);
}

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

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

/* Features Table */
.features {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    letter-spacing: -1px;
}

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

.feature-card {
    background: var(--surface-color);
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--primary-blue);
    transform: translateY(-5px);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(37, 99, 235, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    position: relative;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(-5deg);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(37, 99, 235, 0.15));
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 12px 24px rgba(59, 130, 246, 0.2);
}

/* Pricing Card */
.pricing-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}
.pricing {
    padding: 7rem 0;
    position: relative;
}

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

.pricing-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 2.5rem 2rem;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    position: relative;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.save-badge {
    background: #10b981;
    color: white;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.2rem 0.6rem;
    border-radius: 99px;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.monthly-equiv {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 0.25rem;
}

.pricing-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Pro Card Wrapper for Gradient Border */
.pricing-card-wrapper.popular {
    padding: 2px;
    border-radius: 26px;
    background: linear-gradient(135deg, var(--primary-blue), #8b5cf6, #3b82f6);
    background-size: 200% 200%;
    animation: gradientMove 6s ease infinite;
    position: relative;
    transition: all 0.4s ease;
}

.pricing-card-wrapper.popular:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.3);
}

.pricing-card-wrapper.popular .pricing-card {
    background: rgba(10, 10, 15, 0.9);
    border: none;
    height: 100%; /* Fill the wrapper */
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--primary-blue), #8b5cf6);
    color: white;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.4rem 1.2rem;
    border-radius: 99px;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
    z-index: 10;
}

.pricing-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: white;
}

.price-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.price-row {
    display: flex;
    align-items: baseline;
    gap: 0.3rem;
}

.price {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 10px 30px rgba(255,255,255,0.1);
}


.period {
    font-size: 1.1rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: lowercase;
    opacity: 0.8;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.pricing-features li {
    margin-bottom: 1rem;
    color: #e2e8f0;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Footer */
footer {
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--glass-border);
    margin-top: 5rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
}

.footer-links h5 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

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

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

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

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
}

/* Toast Notifications (Premium Glassmorphism) */
#toast-container {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    pointer-events: none;
}

.toast {
    background: rgba(18, 18, 18, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    padding: 1.25rem 2rem;
    border-radius: 12px;
    color: white;
    font-size: 0.95rem;
    font-weight: 500;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    pointer-events: auto;
    animation: toastIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards,
               toastOut 0.4s 4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 320px;
    border-left: 4px solid var(--primary-blue);
}

.toast.error {
    border-left-color: #EF4444;
}

.toast-icon {
    font-size: 1.25rem;
}

@keyframes toastIn {
    from { opacity: 0; transform: translateX(30px) scale(0.95); }
    to { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes toastOut {
    from { opacity: 1; transform: translateX(0) scale(1); }
    to { opacity: 0; transform: translateX(30px) scale(0.95); }
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 768px) {
    /* Hero */
    .hero {
        padding: 8rem 0 3rem;
    }

    h1 {
        font-size: 2.2rem;
        letter-spacing: -1px;
        line-height: 1.25;
    }

    .hero p {
        font-size: 1.1rem;
        padding: 0 0.5rem;
    }

    /* Waitlist Form */
    .waitlist-form {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 100%;
    }

    .waitlist-form input {
        width: 100%;
        min-width: 0;
        text-align: center;
    }

    .waitlist-form .btn {
        width: 100%;
        padding: 1rem;
    }

    /* Features & Pricing */
    .feature-grid, .pricing-columns {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

    .waitlist-card {
        padding: 3rem 1.5rem;
        border-radius: 32px;
    }

    /* Navigation */
    header nav {
        display: flex;
        flex-direction: column;
        width: 100%;
        align-items: center;
        gap: 1.5rem;
        padding-bottom: 0.5rem;
    }

    header nav a:not(.btn) {
        display: none; /* Hide anchor links on mobile header to save space */
    }

    .lang-selector {
        margin-right: 0;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.25rem;
    }

    /* Steps (Fix for overlapping numbers) */
    .step-item {
        gap: 0.75rem;
    }

    .step-number {
        width: 24px;
        height: 24px;
        font-size: 0.75rem;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        gap: 3rem;
        text-align: center;
    }

    /* Toasts */
    #toast-container {
        top: auto;
        bottom: 1.5rem;
        right: 1.5rem;
        left: 1.5rem;
    }

    .toast {
        min-width: 0;
        width: 100%;
        padding: 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }

    .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
}
