:root {
    /* Colors - Trust focused palette (Dark Theme Default) */
    --bg-color: #020617;
    --card-bg: #0f172a;
    --primary-color: #f8fafc;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --border-color: #334155;

    --accent-color: #60a5fa;
    /* Lighter blue for better contrast on dark */
    --accent-hover: #3b82f6;

    --icon-bg: rgba(59, 130, 246, 0.15);

    --error-color: #ef4444;
    --success-color: #22c55e;

    /* Custom Dark Mode Inputs: Light BG for Black Text support */
    --input-bg: #f8fafc;
    --input-contrast-text: rgba(8, 14, 51, 0.8);

    /* Typography */
    --font-family: 'Inter', system-ui, -apple-system, sans-serif;

    /* Spacing */
    --container-width: 1200px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 3rem;
    --spacing-xl: 2rem;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.5);

    /* Radius */
    --radius-md: 0.75rem;
    --radius-lg: 1.5rem;
}

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

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
    width: 100%;
}

/* Header */
.site-header {
    background: var(--card-bg);
    padding: var(--spacing-xs) 0;
    /* Reduced from sm */
    position: relative;
    z-index: 10;
}

/* Fix interactivity overlap */
.main-content {
    /* Let clicks pass through empty areas of header overlap */
    pointer-events: none;
}

.main-content .container {
    /* Also let clicks pass through container padding/gap */
    pointer-events: none;
}

/* Re-enable interactivity for actual content */
.main-content .container>* {
    pointer-events: auto;
}

/* Ensure grid layout wrapper also passes clicks if it overlaps */
.grid-layout {
    pointer-events: none;
}

.grid-layout>* {
    pointer-events: auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-primary);
}

.logo-text {
    font-size: 0.70rem;
    font-weight: 700;
    white-space: nowrap;
    text-transform: uppercase;
    color: var(--accent-color);
}

.logo-text-mobile {
    display: none;
}

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

.telegram-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--icon-bg);
    color: var(--accent-color);
    transition: all 0.2s ease;
    text-decoration: none;
    margin-left: auto;
    /* Push to right if needed, though flex container justifies space between */
}

.telegram-btn:hover {
    background-color: var(--accent-color);
    color: white;
    transform: translateY(-2px);
}

.telegram-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Main Layout */
.main-content {
    flex: 1;
    display: flex;
    align-items: flex-start;
    /* Changed from center to allow precise top alignment */
    padding-top: 0;
    /* Removing padding to allow full overlap control */
    padding-bottom: 2rem;
    /* Add clear gap before footer */
    margin-top: -3.5rem;
    /* Pull content up to overlap header (~header height) */
    position: relative;
    z-index: 2;
    /* Ensure above header */
}

.grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: stretch;
    /* Stretch items to match height */
}

/* Hide mobile hero content by default */
.mobile-hero-content {
    display: none;
}

/* Hero Section */
.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
    letter-spacing: -0.02em;
    animation: fadeInUp 0.8s ease-out;
}

.hero-section {
    margin-top: calc(5rem - 15px);
    /* Lifted by 15px as requested */
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    /* Distribute content uniformly */
}

.highlight {
    color: var(--accent-color);
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--accent-color);
    opacity: 0.2;
    border-radius: 2px;
}

.hero-description {
    font-size: 1.35rem;
    /* Increased font size */
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    /* Increased spacing */
    max-width: 520px;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.trust-features {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    /* Reverted */
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
}

.feature-icon {
    font-size: 1.5rem;
    background: var(--icon-bg);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.feature-text h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

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

/* Form Section */
.registration-card {
    background: var(--card-bg);
    padding: 2rem 2rem 1.25rem 2rem;
    /* Reduced bottom padding */
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-2xl);
    border: 1px solid var(--border-color);
    animation: fadeInUp 0.8s ease-out 0.3s backwards;
    position: relative;
    /* Margin top can be 0 or small. */
    margin-top: 1rem;
}

.card-header {
    text-align: center;
    margin-bottom: 1rem;
}

.card-header h2 {
    font-size: 1.75rem;
    /* Reverted */
    margin-bottom: 0.5rem;
    /* Reverted */
}

.card-header p {
    color: var(--text-secondary);
    font-size: 1rem;
    /* Reverted/Adjusted */
}

.form-group {
    margin-bottom: 1rem;
    /* Reverted */
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    /* Reverted */
    font-weight: 500;
    font-size: 0.95rem;
    /* Reverted */
}

.tooltip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: var(--text-secondary);
    color: white;
    border-radius: 50%;
    font-size: 0.75rem;
    margin-left: 0.5rem;
    cursor: help;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.6rem 1rem;
    /* Reverted */
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    /* Reverted */
    transition: border-color 0.2s, box-shadow 0.2s;
    background-color: var(--input-bg);
    color: var(--input-contrast-text);
}


/* Enforce high contrast for placeholders */


/* Enforce variable colors for placeholders */
.form-group input::placeholder {
    color: var(--input-contrast-text);
    opacity: 0.7;
}

.form-group select option {
    background-color: var(--input-bg);
    color: var(--input-contrast-text);
}

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

.input-hint {
    font-size: 0.8rem;
    /* Reverted */
    color: var(--text-secondary);
    margin-top: 0.25rem;
    /* Reverted */
    line-height: 1.4;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    /* Reverted */
    margin-top: 1rem;
    /* Kept margin-top */
}

.checkbox-group input {
    width: auto;
    margin-top: 0.3rem;
}

.checkbox-group label {
    font-weight: 400;
    font-size: 0.9rem;
    /* Reverted */
    color: var(--text-secondary);
    line-height: 1.4;
    margin-bottom: 0;
}

.checkbox-group a {
    color: var(--accent-color);
    text-decoration: none;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

.submit-btn {
    width: 100%;
    padding: 0.75rem;
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    margin-top: 0;
    /* Removed extra margin */
}

.submit-btn:hover {
    background-color: var(--accent-hover);
}

.submit-btn:active {
    transform: translateY(1px);
}

.card-footer {
    margin-top: var(--spacing-md);
    /* Reverted */
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.card-footer a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
}

/* Footer */
.site-footer {
    margin-top: auto;
    padding: var(--spacing-xs) 0;
    /* Minimized padding */
    border-top: 1px solid var(--border-color);
    background: var(--card-bg);
    color: var(--text-secondary);
    font-size: 0.8rem;
    /* Smaller size */
}

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

.footer-links {
    display: flex;
    gap: var(--spacing-md);
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

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

/* Responsive styles moved to mobile.css */

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Background Quotes */
.background-quotes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.quote {
    position: absolute;
    font-family: 'Caveat', cursive;
    font-size: 2.5rem;
    color: var(--text-primary);
    opacity: 0.05;
    user-select: none;
    white-space: nowrap;
}

/* Artistic positioning */
.quote.q1 {
    top: 15%;
    left: 5%;
    transform: rotate(-10deg);
    font-size: 3rem;
}

.quote.q2 {
    top: 25%;
    right: 10%;
    transform: rotate(5deg);
}

.quote.q3 {
    bottom: 20%;
    left: 15%;
    transform: rotate(15deg);
    font-size: 3.5rem;
}

.quote.q4 {
    bottom: 30%;
    right: 5%;
    transform: rotate(-5deg);
}

.quote.q5 {
    top: 50%;
    left: 45%;
    transform: rotate(2deg);
    opacity: 0.03;
    /* More subtle for center */
}


.quote.q7 {
    bottom: 10%;
    left: 40%;
    transform: rotate(8deg);
    font-size: 2.2rem;
}


/* Ensure registration card is above quotes */
.container {
    position: relative;
    z-index: 1;
}

/* Additional specific adjustments for main content to constrain quotes */
.main-content {
    overflow: hidden;
    /* Prevent scrollbars from sticking out quotes */
}

/* Leaderboard Styles */
.leaderboard-hero {
    text-align: center;
    /* Use margin instead of padding so the element box doesn't overlap header */
    margin-top: 4rem;
    padding-top: 0;
    margin-bottom: 3rem;
    pointer-events: auto;
}

.leaderboard-hero .hero-description {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.center-text {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.leaderboard-container {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    overflow-x: auto;
    /* Scrollable on mobile */
    margin-bottom: 4rem;
}

.leaderboard-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.leaderboard-table th,
.leaderboard-table td {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.leaderboard-table th {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: rgba(255, 255, 255, 0.02);
}

.leaderboard-table tbody tr:last-child td {
    border-bottom: none;
}

.leaderboard-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.rank-cell {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-secondary);
    width: 60px;
    text-align: center;
}

.startup-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.revenue-cell {
    font-family: monospace;
    font-weight: 700;
    color: var(--success-color);
    font-size: 1.1rem;
}

.mrr-cell {
    font-family: monospace;
    color: var(--text-secondary);
}

.nav-btn {
    padding: 0.5rem 1.25rem;
    background-color: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.2s;
    margin-left: var(--spacing-md);
}


.nav-btn:hover {
    background-color: var(--accent-hover);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.login-btn {
    padding: 0.5rem 1.25rem;
    border: 1px solid var(--border-color);
    background-color: transparent;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
}


.login-btn:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    background-color: rgba(96, 165, 250, 0.05);
}

.nav-actions .nav-btn {
    margin-left: 0;
}


/* Desktop Project List Styles */
.desktop-projects-container {
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.desktop-header-row {
    display: grid;
    /* Grid order: Rank, Founder, Revenue, MRR, Chart, Spacer, Logo, Project */
    grid-template-columns: 60px 1fr 1.6fr 1.3fr 240px 1fr 50px 2.5fr;
    gap: 1rem;
    padding: 0.75rem 1.5rem;
    margin-bottom: 0.5rem;
    border-radius: var(--radius-md);
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(148, 163, 184, 0.05);
}

.header-cell {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
}

.project-col,
.startup-cell {
    grid-column: 8;
}

.logo-col,
.logo-cell {
    grid-column: 7;
    display: flex;
    justify-content: center;
}

.desktop-projects-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.desktop-project-row {
    display: grid;
    /* Grid order: Rank, Founder, Revenue, MRR, Chart, Spacer, Logo, Project */
    grid-template-columns: 60px 1fr 1.6fr 1.3fr 240px 1fr 50px 2.5fr;
    gap: 1rem;
    padding: 1rem 1.5rem;
    align-items: center;
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(148, 163, 184, 0.1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.desktop-project-row:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
    border-color: rgba(96, 165, 250, 0.3);
    /* Accent color border on hover */
    background: rgba(15, 23, 42, 0.8);
}

/* Rank Badge */
.rank-badge {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 8px;
    background: rgba(148, 163, 184, 0.1);
    color: var(--text-secondary);
}

.rank-badge.gold {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1a1a1a;
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.2);
}

.rank-badge.silver {
    background: linear-gradient(135deg, #e2e8f0 0%, #94a3b8 100%);
    color: #1a1a1a;
    box-shadow: 0 2px 8px rgba(148, 163, 184, 0.2);
}

.rank-badge.bronze {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(217, 119, 6, 0.2);
}

/* Cell Specifics */
.startup-cell {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1.05rem;
}

.founder-cell {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.revenue-cell {
    font-family: 'Inter', sans-serif;
    /* Cleaner than monospace for this aesthetic */
    font-weight: 700;
    color: var(--success-color);
    font-size: 1rem;
    letter-spacing: -0.01em;
}

.mrr-cell {
    font-family: 'Inter', sans-serif;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
}

.chart-cell {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    opacity: 0.8;
}

.logo-col {
    visibility: hidden;
    /* Hide text "Logo" in header if preferred, or keep it */
}

.logo-cell {
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    background-color: var(--input-bg);
    border: 1px solid var(--border-color);
}

/* Loading State */
.loading-state {
    text-align: center;
    padding: 3rem;
    color: var(--text-secondary);
    background: rgba(15, 23, 42, 0.3);
    border-radius: 16px;
}

/* Responsive adjustments for smaller desktops */
@media (max-width: 1024px) {

    .desktop-header-row,
    .desktop-project-row {
        /* Grid order: Rank, Logo, Founder, Revenue, MRR, Chart, Project */
        grid-template-columns: 50px 40px 1fr 1fr 0.8fr 180px 1.2fr;
        gap: 0.75rem;
        padding: 0.75rem 1rem;
    }
}

/* ============================================
   PRICING PAGE STYLES
   ============================================ */

.pricing-page {
    margin-top: 0;
    padding-top: 1rem;
    /* Reduced from 2rem */
    min-height: calc(100vh - 80px);
    /* Ensure it takes full height but fits */
    display: flex;
    flex-direction: column;
}

.pricing-hero {
    text-align: center;
    margin-top: 1rem;
    /* Reduced from 3rem */
    margin-bottom: 1.5rem;
    /* Reduced from 2.5rem */
}

.pricing-hero .hero-title {
    font-size: 2.25rem;
    /* Reduced from 2.75rem */
    margin-bottom: 0.5rem;
    /* Reduced from 1rem */
}

.pricing-hero .hero-description {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1rem;
    /* Reduced from 1.1rem */
}

/* Billing Toggle */
.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    /* Reduced from 3rem */
}

.toggle-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.toggle-label[data-period="monthly"].active,
.toggle-label[data-period="yearly"].active {
    color: var(--text-primary);
    font-weight: 600;
}

.discount-badge {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
}

.toggle-switch {
    position: relative;
    width: 56px;
    height: 28px;
    cursor: pointer;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    inset: 0;
    background: var(--border-color);
    border-radius: 28px;
    transition: background 0.3s;
}

.toggle-slider::before {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    left: 3px;
    top: 3px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s;
}

.toggle-switch input:checked+.toggle-slider {
    background: var(--accent-color);
}

.toggle-switch input:checked+.toggle-slider::before {
    transform: translateX(28px);
}

/* Pricing Cards Grid */
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    /* Reduced from 2rem */
    max-width: 900px;
    margin: 0 auto 1.5rem;
    /* Reduced from 3rem */
}

/* Pricing Card */
.pricing-card {
    position: relative;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 24px;
    padding: 1.25rem;
    /* Reduced from 2.5rem 2rem */
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-4px);
    /* Reduced hover lift slightly */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(96, 165, 250, 0.3);
}

.pricing-card.premium {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.8) 100%);
    border-color: rgba(251, 191, 36, 0.3);
}

.pricing-card.premium:hover {
    border-color: rgba(251, 191, 36, 0.6);
    box-shadow: 0 20px 40px rgba(251, 191, 36, 0.1), 0 0 60px rgba(251, 191, 36, 0.05);
}

/* Card Badge */
.card-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: white;
    font-size: 0.7rem;
    /* Reduced font size */
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    /* Reduced padding */
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.premium-badge {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1a1a1a;
}

/* Plan Name */
.plan-name {
    font-size: 1.35rem;
    /* Reduced from 1.75rem */
    font-weight: 700;
    margin-bottom: 0.75rem;
    /* Reduced from 1.5rem */
    color: var(--text-primary);
}

/* Plan Price */
.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 0;
    /* Reduced from 0.5rem */
}

.price-amount {
    font-size: 2rem;
    /* Reduced from 3rem */
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.price-currency {
    font-size: 1.1rem;
    /* Reduced from 1.5rem */
    font-weight: 600;
    color: var(--text-secondary);
}

.price-period {
    font-size: 0.9rem;
    /* Reduced from 1rem */
    color: var(--text-secondary);
    margin-left: 0.25rem;
}

.yearly-savings {
    font-size: 0.85rem;
    /* Reduced from 0.9rem */
    color: var(--success-color);
    margin-bottom: 0.25rem;
    /* Reduced from 1.5rem */
    font-weight: 500;
    min-height: 1.3em;
    /* Reserve space to prevent layout jump if hidden/shown */
}

/* Plan Features */
.plan-features {
    list-style: none;
    text-align: left;
    margin: 0.5rem 0 1rem;
    /* Reduced vertical margins */
    padding: 0;
    flex-grow: 1;
    /* Allow features to take available space */
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.3rem 0;
    /* Reduced from 0.6rem */
    color: var(--text-secondary);
    font-size: 0.9rem;
    /* Reduced from 0.95rem */
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

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

.check-icon {
    width: 18px;
    /* Reduced from 20px */
    height: 18px;
    flex-shrink: 0;
    color: var(--success-color);
    margin-top: 3px;
}

/* Buy Button */
.buy-btn {
    width: 100%;
    padding: 0.6rem 1.25rem;
    /* Reduced from 1rem 2rem */
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    /* Reduced from 1rem */
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: auto;
    /* Push to bottom if container grows */
}

.buy-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(96, 165, 250, 0.3);
}

.premium-btn {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1a1a1a;
}

.premium-btn:hover {
    box-shadow: 0 8px 20px rgba(251, 191, 36, 0.4);
    background: linear-gradient(135deg, #fcd34d 0%, #fbbf24 100%);
}

/* Delivery Info */
.delivery-info {
    display: flex;
    align-items: center;
    /* Changed from flex-start to center for compactness */
    gap: 1rem;
    max-width: 700px;
    margin: 0 auto 1rem;
    /* Reduced margin */
    padding: 0.75rem 1.5rem;
    /* Reduced padding */
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 12px;
    /* Slightly smaller radius */
}

.info-icon {
    font-size: 1.5rem;
    /* Reduced from 2rem */
    flex-shrink: 0;
}

.info-content h3 {
    font-size: 0.95rem;
    /* Reduced from 1rem */
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.info-content p {
    font-size: 0.85rem;
    /* Reduced from 0.9rem */
    color: var(--text-secondary);
    line-height: 1.4;
    margin: 0;
    /* Remove default margins if any */
}

/* Payment Notice */
.payment-notice {
    text-align: center;
    padding: 0.5rem;
    /* Reduced from 1rem */
    margin-bottom: 1rem;
    /* Reduced from 2rem */
    margin-top: auto;
    /* Push to bottom */
}

.payment-notice p {
    font-size: 0.8rem;
    /* Reduced from 0.85rem */
    color: var(--text-secondary);
}

.payment-notice strong {
    color: var(--accent-color);
}