/* CSS Variables - uBillz Brand Colors */
:root {
    --primary: #3a9d9b;
    --primary-dark: #2d7a78;
    --primary-light: #5bbfbd;
    --secondary: #7b6b9e;
    --accent-green: #4a9b7f;
    --accent-pink: #d4a5a5;
    --background-start: #a8d5d8;
    --background-mid: #8bb8c4;
    --background-end: #7b8fb0;
    --surface: rgba(255, 255, 255, 0.95);
    --surface-secondary: rgba(255, 255, 255, 0.85);
    --surface-hover: rgba(255, 255, 255, 1);
    --border: rgba(255, 255, 255, 0.3);
    --text: #2d3748;
    --text-secondary: #4a5568;
    --text-muted: #718096;
    --text-light: #ffffff;
    --success: #4a9b7f;
    --warning: #e6a756;
    --error: #d4a5a5;
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --gradient: linear-gradient(135deg, var(--background-start) 0%, var(--background-mid) 50%, var(--background-end) 100%);
    --gradient-hero: linear-gradient(180deg, #a8d5d8 0%, #8bb8c4 40%, #7b8fb0 100%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--gradient-hero);
    background-attachment: fixed;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* iOS Safari background-attachment fix */
@supports (-webkit-touch-callout: none) {
    body {
        background-attachment: scroll;
    }
}

/* Modal scroll trap */
body.modal-open {
    overflow: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: var(--accent-green);
    color: white;
    box-shadow: 0 4px 14px rgba(74, 155, 127, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 155, 127, 0.5);
    background: #3d8a6f;
}

.btn-secondary {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    box-shadow: var(--card-shadow);
}

.btn-secondary:hover {
    background: var(--surface-hover);
    transform: translateY(-2px);
}

.btn:focus-visible {
    outline: 3px solid var(--primary-light);
    outline-offset: 3px;
}

.btn-primary:focus-visible {
    outline-color: var(--accent-green);
}

.btn-secondary:focus-visible {
    outline-color: var(--primary);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(168, 213, 216, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 20px;
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.25);
}

.logo-image {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

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

.nav-links a:not(.btn) {
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-links a:not(.btn):hover {
    color: var(--text);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    cursor: pointer;
    padding: 8px;
}

/* Hero Section */
.hero,
.features,
.privacy,
.download {
    scroll-margin-top: 88px;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.badge svg {
    flex-shrink: 0;
}

.badge-link {
    color: var(--accent-green);
    text-decoration: none;
    font-weight: 600;
    margin-left: 4px;
    transition: color 0.2s ease;
    text-decoration: underline;
}

.badge-link:hover {
    color: #3d8a6f;
    text-decoration: none;
}

.badge svg {
    stroke: var(--accent-green);
}

.hero h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    color: var(--text);
}

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

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
}

.stat {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    padding: 16px 24px;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    min-width: 140px;
    text-align: center;
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-dark);
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
}


/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.phone-mockup {
    position: relative;
    z-index: 2;
}

.phone-frame {
    width: 280px;
    overflow: hidden;
}

.phone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 28px;
    background: #1a1a1a;
    border-radius: 20px;
    z-index: 10;
}

.phone-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    border-radius: 34px;
    display: block;
}

.phone-home-indicator {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: #fff;
    border-radius: 2px;
    opacity: 0.8;
    z-index: 10;
}

.app-header {
    margin-bottom: 16px;
}

.app-greeting {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
}


.app-summary {
    background: rgba(45, 122, 120, 0.7);
    border-radius: 24px;
    padding: 16px 24px;
    margin-bottom: 12px;
    text-align: center;
}


.summary-amount {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: white;
}

.summary-amount::before {
    content: 'Your Payments: ';
}

/* Payment stats in phone */
.app-stats {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.app-upcoming {
    background: var(--surface);
    border-radius: 20px;
    padding: 20px 16px;
    box-shadow: var(--card-shadow);
}

.upcoming-title {
    display: block;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text);
}

.upcoming-date {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.upcoming-subtitle {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.bill-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.bill-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.bill-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    flex-shrink: 0;
}

.bill-icon.rent {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.bill-icon.electric {
    background: linear-gradient(135deg, #10b981, #059669);
}

.bill-icon.internet {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.bill-info {
    flex: 1;
    min-width: 0;
}

.bill-name {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.bill-date {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
}

.bill-amount {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

/* Payment badges in phone mockup */
.payment-badges {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

.payment-badge {
    flex: 1;
    padding: 12px;
    border-radius: 12px;
    text-align: center;
}

.payment-badge.paid {
    background: var(--accent-green);
    color: white;
}

.payment-badge.unpaid {
    background: var(--accent-pink);
    color: var(--text);
}

.payment-badge-label {
    display: block;
    font-size: 12px;
    opacity: 0.9;
}

.payment-badge-amount {
    display: block;
    font-size: 18px;
    font-weight: 700;
}

/* Floating Cards */
.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    box-shadow: var(--card-shadow);
    animation: float 3s ease-in-out infinite;
}

.floating-card svg {
    stroke: var(--accent-green);
}

.card-1 {
    top: 70px;
    right: -48px;
    animation-delay: 0s;
}

.card-2 {
    bottom: 110px;
    left: -45px;
    animation-delay: 1.5s;
}

.card-2 svg {
    stroke: var(--primary);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Section Styles */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 64px;
}

.section-badge {
    display: inline-block;
    padding: 6px 14px;
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-green);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: var(--card-shadow);
}

.section-header h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    color: var(--text);
}

.section-header p {
    font-size: 18px;
    color: var(--text-secondary);
}

/* Features Section */
.features {
    padding: 120px 0;
    background: linear-gradient(180deg, #7b8fb0 0%, #6b7fa0 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.3s ease;
    box-shadow: var(--card-shadow);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--background-start) 0%, var(--background-mid) 100%);
    border-radius: 14px;
    margin-bottom: 20px;
}

.feature-icon svg {
    stroke: var(--primary-dark);
}

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

.feature-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Privacy Section */
.privacy {
    padding: 120px 0;
    background: linear-gradient(180deg, #6b7fa0 0%, #5b6f90 100%);
}

.privacy-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.privacy-content .section-badge {
    display: inline-block;
}

.privacy-content h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    color: var(--text);
}

.privacy-content > p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.privacy-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.privacy-list li {
    display: flex;
    gap: 16px;
    background: var(--surface);
    padding: 20px;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
}

.privacy-list svg {
    flex-shrink: 0;
    stroke: var(--accent-green);
    margin-top: 2px;
}

.privacy-list strong {
    display: block;
    font-size: 16px;
    margin-bottom: 4px;
    color: var(--text);
}

.privacy-list span {
    font-size: 14px;
    color: var(--text-secondary);
}

.privacy-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.shield-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shield-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

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

.shield-icon {
    width: 180px;
    height: 180px;
    stroke: var(--accent-green);
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 10px 30px rgba(74, 155, 127, 0.3));
}

/* Download Section */
.download {
    padding: 120px 0;
    background: linear-gradient(180deg, #5b6f90 0%, #4b5f80 100%);
}

.download-card {
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 32px;
    padding: 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.download-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(168, 213, 216, 0.3) 0%, transparent 70%);
    pointer-events: none;
}

.download-content {
    position: relative;
    z-index: 1;
}

.download-content h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text);
}

.download-content > p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto 40px;
}

.store-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
}

.store-button {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: var(--text);
    color: white;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.store-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.store-button svg {
    width: 28px;
    height: 28px;
}

.store-button.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.store-button.disabled:hover {
    box-shadow: none;
    transform: none;
}

.store-label {
    display: block;
    font-size: 11px;
    opacity: 0.7;
    text-align: left;
}

.store-name {
    display: block;
    font-size: 18px;
    font-weight: 600;
    text-align: left;
}

.coming-soon-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-muted);
}

.coming-soon-note svg {
    stroke: var(--text-muted);
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    background: #3b4b60;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    color: white;
}

.footer-brand p {
    margin-top: 16px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 280px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.footer-column a {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .hero h1 {
        font-size: 44px;
    }

    .hero-description {
        margin: 0 auto 32px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-visual {
        order: -1;
    }

    .floating-card {
        display: none;
    }

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

    .privacy-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .privacy-visual {
        order: -1;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .footer-brand {
        text-align: center;
    }

    .footer-brand p {
        margin: 16px auto 0;
    }
}

@media (max-width: 768px) {
    .nav-links {
        opacity: 0;
        transform: translateY(-10px);
        pointer-events: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(168, 213, 216, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        transition: all 0.25s ease;
    }
    
    .nav-links.active {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .mobile-menu-btn {
        display: block;
    }
    
    body {
        background-attachment: scroll;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-lg {
        width: 100%;
        max-width: 300px;
    }

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

    .stat {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    .phone-frame {
        width: 240px;
        height: 500px;
    }

    .section-header h2,
    .privacy-content h2,
    .download-content h2 {
        font-size: 32px;
    }

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

    .feature-card {
        padding: 24px;
    }

    .download-card {
        padding: 48px 24px;
    }

    .store-buttons {
        flex-direction: column;
        align-items: center;
    }

    .store-button {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

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

    .footer-column {
        margin-bottom: 24px;
    }
}

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

    .hero h1 {
        font-size: 32px;
    }

    .badge {
        font-size: 12px;
        padding: 6px 12px;
    }

    .stat-number {
        font-size: 24px;
    }

    .phone-frame {
        width: 220px;
        height: 460px;
    }

    .app-summary {
        padding: 12px 16px;
    }

    .summary-amount {
        font-size: 18px;
    }

    .modal-content {
        padding: 32px 24px;
        margin: 16px;
        width: calc(100% - 32px);
    }

    .modal-header h2 {
        font-size: 24px;
    }

    .modal-icon {
        width: 56px;
        height: 56px;
    }
}

/* Pre-registration Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: var(--surface);
    border-radius: 20px;
    padding: 40px;
    max-width: 480px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    animation: slideUp 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--surface-secondary);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text-secondary);
}

.modal-close:hover {
    background: var(--surface-hover);
    color: var(--text);
    transform: scale(1.1);
}

.modal-header {
    text-align: center;
    margin-bottom: 32px;
}

.modal-icon {
    width: 64px;
    height: 64px;
    background: var(--accent-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
}

.modal-header h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text);
}

.modal-header p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
}

.prereg-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: var(--text);
    font-size: 14px;
}

.form-group input[type="email"],
.form-group input[type="text"] {
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 16px;
    font-family: inherit;
    background: var(--surface);
    color: var(--text);
    transition: all 0.2s ease;
}

.form-group input:focus-visible {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(58, 157, 155, 0.1);
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.platform-options {
    display: flex;
    gap: 12px;
}

.platform-option {
    flex: 1;
    cursor: pointer;
}

.platform-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.platform-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 16px;
    border: 2px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
    transition: all 0.2s ease;
    text-align: center;
}

.platform-card svg {
    width: 32px;
    height: 32px;
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

.platform-card span {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

.platform-option input[type="radio"]:checked + .platform-card {
    border-color: var(--primary);
    background: rgba(58, 157, 155, 0.05);
}

.platform-option input[type="radio"]:checked + .platform-card svg,
.platform-option input[type="radio"]:checked + .platform-card span {
    color: var(--primary);
}

.platform-card:hover {
    border-color: var(--primary-light);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
    font-size: 16px;
}

.form-note {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-muted);
    text-align: center;
    justify-content: center;
}

.form-note svg {
    flex-shrink: 0;
}

.form-error {
    color: var(--error);
    font-size: 12px;
    display: none;
}

.form-error.show {
    display: block;
}

.form-group.error input {
    border-color: var(--error);
}

.success-message {
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--accent-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: white;
}

.success-message h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text);
}

.success-message p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

/* Mobile responsiveness for modal */
@media (max-width: 768px) {
    .modal-content {
        padding: 32px 24px;
        margin: 16px;
        width: calc(100% - 32px);
    }

    .modal-header h2 {
        font-size: 24px;
    }

    .modal-icon {
        width: 56px;
        height: 56px;
    }

    .platform-options {
        flex-direction: column;
    }

    .platform-card {
        padding: 16px 12px;
    }
}
