/* ===== CSS Variables (GrowthIQ Brand Colors) ===== */
:root {
    /* Primary Colors */
    --primary-purple: #4B2D83;
    --primary-purple-dark: #3A2266;
    --primary-purple-light: #6B4BA3;

    /* Background Colors */
    --bg-gradient-start: #FFFFFF;
    --bg-gradient-end: #FAFAFA;
    --bg-mint: #F0FDF9;
    --bg-white: #FFFFFF;

    /* Text Colors */
    --text-dark: #111827;
    --text-medium: #374151;
    --text-light: #6B7280;
    --text-white: #FFFFFF;

    /* Accent Colors */
    --success-green: #10B981;
    --success-green-light: #D1FAE5;
    --error-red: #EF4444;
    --error-red-light: #FEF2F2;

    /* Border Colors */
    --border-light: #E5E7EB;
    --border-medium: #D1D5DB;
    --border-focus: #4B2D83;
    /* Keep primary focus color */

    /* Shadows – softer, more premium */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-card: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* Spacing - refined and tighter */
    --space-xs: 0.25rem;
    --space-sm: 0.375rem;
    --space-md: 0.625rem;
    --space-lg: 1rem;
    --space-xl: 1.5rem;
    --space-2xl: 2.25rem;
    --space-3xl: 3rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    /* Start button roundness */
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    /* Card corners */
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    /* Support for notched phones */
    padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-dark);
    background: var(--bg-white);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Prevent text size adjust on orientation change */
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* Improve tap targets on touch devices */
@media (hover: none) and (pointer: coarse) {
    .option-card {
        -webkit-tap-highlight-color: transparent;
    }

    .submit-btn {
        -webkit-tap-highlight-color: transparent;
    }

    /* Slightly larger touch targets */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    select {
        min-height: 48px;
    }
}

/* ===== Header ===== */
.header {
    padding: var(--space-lg) var(--space-xl);
    background: transparent;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

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

.logo-placeholder {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary-purple);
}

.yallacompare-logo .logo-placeholder {
    color: var(--text-dark);
}

.logo-divider {
    color: var(--border-medium);
    font-weight: 300;
    font-size: 1.5rem;
}

.logo img {
    width: auto;
    object-fit: contain;
}

.yallacompare-logo img {
    height: 32px;
}

.growthiq-logo img {
    height: 32px;
}

/* ===== Main Content ===== */
.main {
    padding: var(--space-xl);
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
}

.hero {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

/* ===== Left Column - Value Proposition ===== */
.hero-left {
    padding: var(--space-3xl);
    /* Premium Apple-like Gradient: Soft Purple/Blue top-left fading to white */
    background: linear-gradient(135deg, rgba(230, 224, 255, 0.6) 0%, rgba(240, 245, 255, 0.4) 40%, rgba(255, 255, 255, 0.8) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-2xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Add a subtle glow highlight via pseudo-element */
.hero-left::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.8) 0%, transparent 60%);
    opacity: 0.4;
    pointer-events: none;
}

.headline {
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.15;
    color: #111827;
    margin-bottom: var(--space-lg);
    letter-spacing: -0.02em;
}

.headline .highlight {
    color: var(--primary-purple);
    /* Purple highlight */
    display: block;
}

.subheadline {
    font-size: 1rem;
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: var(--space-xl);
}

.requirements {
    background: transparent;
    padding: 0;
    margin-top: var(--space-xl);
}

.requirements-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--space-lg);
}

.requirements-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.requirements-list li {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: 0.75rem 1.25rem;
    background: #FFFFFF;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.05);
    transition: transform var(--transition-fast);
}

.requirements-list li:hover {
    transform: translateX(4px);
}

.check-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #EDE9FE;
    /* Light purple circle */
    border-radius: 50%;
    color: var(--primary-purple);
    flex-shrink: 0;
}

/* ===== Right Column - Form ===== */
.hero-right {
    position: sticky;
    top: var(--space-xl);
}

.form-card {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.form-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--space-lg);
    text-align: left;
    letter-spacing: -0.01em;
}

/* ===== Form Styles ===== */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.375rem;
}

.required {
    color: var(--error-red);
    margin-left: 2px;
}

.optional {
    color: var(--text-light);
    font-weight: 400;
}

.hint {
    color: var(--text-light);
    font-weight: 400;
    font-size: 0.875rem;
}

/* Input & Select Common Styles */
input[type="text"],
input[type="email"],
input[type="tel"],
select,
.phone-input,
.url-input {
    width: 100%;
    /* No padding here for wrapper divs */
}

input[type="text"],
input[type="email"],
input[type="tel"],
select {
    display: block;
    padding: 0.625rem 0.875rem;
    font-size: 0.9rem;
    font-family: inherit;
    color: var(--text-dark);
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    outline: none;
    transition: all var(--transition-fast);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

input[type="text"]:hover,
input[type="email"]:hover,
input[type="tel"]:hover,
select:hover {
    border-color: var(--border-medium);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus {
    border-color: var(--border-focus);
    /* ring property is not standard CSS, using box-shadow for focus ring */
    box-shadow: 0 0 0 3px rgba(49, 28, 135, 0.15);
}

input::placeholder {
    color: var(--text-light);
    opacity: 0.8;
}

/* Custom Dropdown Styling */
select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2' stroke='%236B7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5' /%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.25rem;
    padding-right: 2.5rem;
}

/* Phone Input Wrapper */
.phone-input {
    display: flex;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-white);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: all var(--transition-fast);
}

.phone-input:focus-within {
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px rgba(75, 45, 131, 0.15);
}

.country-code {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 0 1rem;
    background: #F9FAFB;
    border-right: 1px solid var(--border-light);
    font-size: 0.95rem;
    color: var(--text-medium);
    white-space: nowrap;
}

.phone-input input {
    border: none;
    box-shadow: none;
    border-radius: 0;
}

.phone-input input:focus {
    box-shadow: none;
}

/* URL Input Wrapper */
.url-input {
    display: flex;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-white);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: all var(--transition-fast);
}

.url-input:focus-within {
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px rgba(75, 45, 131, 0.15);
}

.url-prefix {
    display: flex;
    align-items: center;
    padding: 0 1rem;
    background: #F9FAFB;
    border-right: 1px solid var(--border-light);
    font-size: 0.95rem;
    color: var(--text-light);
}

.url-input input {
    border: none;
    box-shadow: none;
    border-radius: 0;
}

.url-input input:focus {
    box-shadow: none;
}

/* Custom Option Grid Styling */
.option-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-sm);
}

.option-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: var(--space-md) var(--space-lg);
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: var(--space-sm);
    position: relative;
    overflow: hidden;
}

.option-card:hover {
    border-color: var(--border-medium);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.option-card.selected {
    border-color: var(--primary-purple);
    background: #F5F3FF;
    /* Very light purple bg */
    box-shadow: 0 0 0 2px var(--primary-purple);
}

.option-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F9FAFB;
    border-radius: var(--radius-sm);
    color: var(--text-light);
    transition: all var(--transition-fast);
}

.option-card:hover .option-icon {
    color: var(--primary-purple);
    background: #EDE9FE;
}

.option-card.selected .option-icon {
    color: var(--text-white);
    background: var(--primary-purple);
}

.option-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
}

.option-card.selected .option-label {
    color: var(--primary-purple-dark);
}

/* Checkmark indicator for selected state */
.option-card.selected::after {
    content: '✓';
    position: absolute;
    top: 8px;
    right: 8px;
    width: 20px;
    height: 20px;
    background: var(--primary-purple);
    color: white;
    border-radius: 50%;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Other Input Field */
.other-input {
    width: 100%;
    padding: 0.625rem 0.875rem;
    font-size: 0.9rem;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    outline: none;
    transition: all var(--transition-fast);
}

.other-input:focus {
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(49, 28, 135, 0.1);
}

/* Responsive Grid */
@media (max-width: 480px) {
    .option-grid {
        grid-template-columns: 1fr;
    }

    .option-card {
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
        padding: var(--space-sm) var(--space-md);
    }

    .option-icon {
        width: 32px;
        height: 32px;
        flex-shrink: 0;
    }
}

/* Error Messages */
.error-message {
    display: none;
    font-size: 0.8125rem;
    color: var(--error-red);
    margin-top: var(--space-xs);
    font-weight: 500;
    animation: fadeInError 0.2s ease;
}

@keyframes fadeInError {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

input.error,
select.error {
    border-color: var(--error-red) !important;
    background: var(--error-red-light) !important;
}

input.error:focus,
select.error:focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15) !important;
}

.phone-input.error {
    border-color: var(--error-red) !important;
    background: var(--error-red-light) !important;
}

.phone-input.error:focus-within {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15) !important;
}

/* Option grid error state */
.option-grid.error {
    border: 2px solid var(--error-red);
    border-radius: var(--radius-lg);
    padding: var(--space-sm);
    margin: calc(-1 * var(--space-sm));
    margin-top: var(--space-sm);
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 0.75rem var(--space-lg);
    font-size: 0.9rem;
    font-weight: 600;
    font-family: inherit;
    color: var(--text-white);
    background: var(--primary-purple);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
    box-shadow: 0 4px 6px -1px rgba(49, 28, 135, 0.4);
}

.submit-btn:hover {
    background: var(--primary-purple-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 8px -1px rgba(49, 28, 135, 0.5);
}

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

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.spinner {
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Success Message - Premium Fixed Overlay */
.success-message {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-2xl);
    animation: fadeInOverlay 0.4s ease forwards;
}

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

.success-message .success-content {
    max-width: 400px;
    animation: scaleIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

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

.success-icon {
    margin-bottom: var(--space-xl);
    animation: bounceIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s forwards;
    opacity: 0;
}

@keyframes bounceIn {
    from {
        opacity: 0;
        transform: scale(0);
    }
    50% {
        transform: scale(1.1);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.success-icon svg {
    filter: drop-shadow(0 10px 25px rgba(75, 45, 131, 0.3));
}

.success-message h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--space-sm);
    letter-spacing: -0.02em;
}

.success-message p {
    color: var(--text-medium);
    line-height: 1.6;
    font-size: 1rem;
}

.back-to-form-btn {
    margin-top: var(--space-xl);
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    font-family: inherit;
    color: var(--primary-purple);
    background: transparent;
    border: 1px solid var(--primary-purple);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.back-to-form-btn:hover {
    background: var(--primary-purple);
    color: var(--text-white);
}

/* ===== Footer ===== */
.footer {
    padding: var(--space-xl);
    background: transparent;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-contact,
.footer-links {
    margin-bottom: var(--space-md);
}

.footer-contact a,
.footer-links a {
    color: var(--primary-purple);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.footer-contact a:hover,
.footer-links a:hover {
    color: var(--primary-purple-dark);
}

.footer-divider {
    margin: 0 var(--space-md);
    color: var(--border-medium);
}

.footer-company {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: var(--space-sm);
}

.footer-copyright {
    font-size: 0.8125rem;
    color: var(--text-light);
}

/* ===== Responsive Design ===== */

/* Large Tablets / Small Laptops */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .hero-left {
        padding: var(--space-xl);
        text-align: center;
    }

    .headline {
        font-size: 2.25rem;
    }

    .headline .highlight {
        display: inline;
    }

    .subheadline {
        max-width: 560px;
        margin-left: auto;
        margin-right: auto;
    }

    .requirements {
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }

    .requirements-list li {
        justify-content: flex-start;
    }

    .hero-right {
        position: relative;
        top: 0;
        max-width: 560px;
        margin: 0 auto;
        width: 100%;
    }

    .form-card {
        padding: var(--space-xl);
    }
}

/* Tablets */
@media (max-width: 768px) {
    .header {
        padding: var(--space-md) var(--space-lg);
    }

    .logo img {
        height: 28px;
    }

    .logo-divider {
        font-size: 1.125rem;
    }

    .main {
        padding: var(--space-lg);
        min-height: auto;
        align-items: flex-start;
    }

    .hero-left {
        padding: var(--space-lg);
    }

    .headline {
        font-size: 1.875rem;
        line-height: 1.2;
    }

    .subheadline {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .requirements-title {
        font-size: 0.875rem;
    }

    .requirements-list li {
        padding: 0.625rem 1rem;
        font-size: 0.85rem;
    }

    .form-card {
        padding: var(--space-lg);
    }

    .form-title {
        font-size: 1.25rem;
        margin-bottom: var(--space-md);
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    /* Ensure proper touch targets - minimum 44px */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    select {
        padding: 0.75rem;
        font-size: 16px; /* Prevents iOS zoom on focus */
    }

    .phone-input .country-code {
        padding: 0 0.75rem;
        font-size: 0.875rem;
    }

    .option-card {
        padding: var(--space-sm) var(--space-md);
        min-height: 64px;
    }

    .option-icon {
        width: 36px;
        height: 36px;
    }

    .option-label {
        font-size: 0.8rem;
    }

    .submit-btn {
        padding: 0.75rem var(--space-lg);
        font-size: 0.9rem;
        min-height: 48px;
    }

    /* Success message mobile optimization */
    .success-message {
        padding: var(--space-lg);
    }

    .success-message h3 {
        font-size: 1.5rem;
    }

    .success-message p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .success-icon svg {
        width: 64px;
        height: 64px;
    }

    .footer {
        padding: var(--space-lg);
    }

    .footer-links,
    .footer-contact {
        font-size: 0.875rem;
    }
}

/* Mobile Phones */
@media (max-width: 480px) {
    .header {
        padding: var(--space-sm) var(--space-md);
    }

    .logo-container {
        gap: var(--space-sm);
    }

    .logo img {
        height: 24px;
    }

    .logo-divider {
        font-size: 0.875rem;
        margin: 0 var(--space-xs);
    }

    .main {
        padding: var(--space-sm);
    }

    .hero {
        gap: var(--space-lg);
    }

    .hero-left {
        padding: var(--space-md);
        border-radius: var(--radius-lg);
    }

    .headline {
        font-size: 1.5rem;
        line-height: 1.2;
        letter-spacing: -0.02em;
    }

    .subheadline {
        font-size: 0.85rem;
        margin-bottom: var(--space-lg);
    }

    .requirements {
        margin-top: var(--space-md);
    }

    .requirements-title {
        font-size: 0.8rem;
        margin-bottom: var(--space-sm);
    }

    .requirements-list {
        gap: var(--space-xs);
    }

    .requirements-list li {
        padding: 0.5rem 0.875rem;
        font-size: 0.8rem;
        border-radius: var(--radius-md);
    }

    .check-icon {
        width: 18px;
        height: 18px;
    }

    .check-icon svg {
        width: 12px;
        height: 12px;
    }

    .form-card {
        padding: var(--space-md);
        border-radius: var(--radius-lg);
    }

    .form-title {
        font-size: 1.125rem;
        margin-bottom: var(--space-md);
    }

    .form-group {
        margin-bottom: var(--space-sm);
    }

    .form-group label {
        font-size: 0.8rem;
        margin-bottom: 4px;
    }

    input[type="text"],
    input[type="email"],
    input[type="tel"],
    select {
        padding: 0.625rem 0.75rem;
        font-size: 16px;
        border-radius: var(--radius-sm);
    }

    .phone-input,
    .url-input {
        border-radius: var(--radius-sm);
    }

    .country-code,
    .url-prefix {
        font-size: 0.8rem;
        padding: 0 0.625rem;
    }

    .option-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xs);
    }

    .option-card {
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
        padding: var(--space-sm) var(--space-md);
        gap: var(--space-sm);
        min-height: 52px;
    }

    .option-icon {
        width: 32px;
        height: 32px;
        flex-shrink: 0;
    }

    .option-icon svg {
        width: 16px;
        height: 16px;
    }

    .option-label {
        font-size: 0.8rem;
    }

    .option-card.selected::after {
        width: 16px;
        height: 16px;
        font-size: 9px;
        top: 4px;
        right: 4px;
    }

    .other-input {
        padding: 0.625rem 0.75rem;
        font-size: 16px;
    }

    .submit-btn {
        padding: 0.75rem;
        font-size: 0.875rem;
        margin-top: var(--space-md);
        border-radius: var(--radius-sm);
        min-height: 44px;
    }

    /* Success message mobile */
    .success-message {
        padding: var(--space-md);
    }

    .success-message .success-content {
        max-width: 100%;
        padding: 0 var(--space-xs);
    }

    .success-icon {
        margin-bottom: var(--space-md);
    }

    .success-icon svg {
        width: 56px;
        height: 56px;
    }

    .success-message h3 {
        font-size: 1.25rem;
        margin-bottom: var(--space-xs);
    }

    .success-message p {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .footer {
        padding: var(--space-md) var(--space-sm);
    }

    .footer-links {
        display: flex;
        justify-content: center;
        gap: var(--space-md);
        margin-bottom: var(--space-sm);
    }

    .footer-links .footer-divider {
        display: none;
    }

    .footer-links a {
        font-size: 0.8rem;
    }

    .footer-contact {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: var(--space-xs);
    }

    .footer-contact .footer-divider {
        display: none;
    }

    .footer-contact a {
        font-size: 0.8rem;
    }

    .footer-company {
        font-size: 0.75rem;
        line-height: 1.4;
        margin-top: var(--space-xs);
    }

    .footer-copyright {
        font-size: 0.7rem;
    }
}

/* Extra small phones */
@media (max-width: 360px) {
    .header {
        padding: var(--space-xs) var(--space-sm);
    }

    .logo img {
        height: 20px;
    }

    .main {
        padding: var(--space-xs);
    }

    .hero-left {
        padding: var(--space-sm);
    }

    .headline {
        font-size: 1.25rem;
    }

    .subheadline {
        font-size: 0.8rem;
    }

    .form-card {
        padding: var(--space-sm);
    }

    .form-title {
        font-size: 1rem;
    }
}

/* ===== Animations ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.hero-left,
.hero-right {
    animation: fadeIn 0.6s ease forwards;
}

.hero-right {
    animation-delay: 0.2s;
}

/* Subtle hover animations for requirements */
.requirements-list li {
    animation: fadeIn 0.4s ease forwards;
    opacity: 0;
}

.requirements-list li:nth-child(1) {
    animation-delay: 0.3s;
}

.requirements-list li:nth-child(2) {
    animation-delay: 0.4s;
}

.requirements-list li:nth-child(3) {
    animation-delay: 0.5s;
}

.requirements-list li:nth-child(4) {
    animation-delay: 0.6s;
}