/* Global Reset and Foundation */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Responsive Foundation */
html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Global Checkbox Reset */
input[type="checkbox"] {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    position: absolute !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    outline: none !important;
    background: none !important;
    box-shadow: none !important;
}

/* Form Page Specific Styles */
body.form-page {
    height: auto !important;
    overflow: visible !important;
    overflow-x: hidden;
}

.form-page {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    min-height: 100vh;
    height: auto;
    overflow-x: hidden;
    position: relative;
}

.form-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    z-index: -1;
}

/* Header Styles */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.back-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #64ffda;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(100, 255, 218, 0.3);
    border-radius: 8px;
}

.back-btn:hover {
    background: rgba(100, 255, 218, 0.1);
    transform: translateX(-5px);
}

/* Form Hero Section */
.form-hero {
    text-align: center;
    margin-bottom: 3rem;
}

.form-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    background: linear-gradient(135deg, #64ffda 0%, #ffffff 50%, #64ffda 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.form-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Form Styles */
.website-form {
    max-width: 1000px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.form-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.form-section:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(100, 255, 218, 0.3);
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #64ffda;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #64ffda, #ffffff);
    border-radius: 2px;
}

/* Input Styles */
.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.input-group {
    position: relative;
}

.input-group label {
    display: block;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.input-group label .required {
    color: #ff4757;
    font-weight: 700;
    margin-left: 2px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper input,
.input-wrapper select {
    width: 100%;
    padding: 1rem 3rem 1rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: #ffffff;
    font-size: 1rem;
    min-height: 44px; /* Touch-friendly minimum height */
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.input-wrapper select {
    cursor: pointer;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364ffda' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
}

.input-wrapper select option {
    background: #1a1a2e;
    color: #ffffff;
    padding: 0.5rem;
    border: none;
}

.input-wrapper select option:hover,
.input-wrapper select option:checked {
    background: #64ffda;
    color: #000000;
}

.input-wrapper input:focus,
.input-wrapper select:focus {
    outline: none;
    border-color: #64ffda;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 20px rgba(100, 255, 218, 0.3);
}

.input-wrapper input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Custom Input Container Styles */
.custom-input-container {
    margin-top: 1rem;
    animation: slideDown 0.3s ease-out;
}

.custom-input {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(100, 255, 218, 0.3);
    border-radius: 12px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.custom-input:focus {
    outline: none;
    border-color: #64ffda;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 20px rgba(100, 255, 218, 0.3);
}

.custom-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Comments Textarea Styles */
.comments-textarea {
    width: 100%;
    padding: 1rem 3rem 1rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: #ffffff;
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    min-height: 120px;
    transition: all 0.3s ease;
}

.comments-textarea:focus {
    outline: none;
    border-color: #64ffda;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 20px rgba(100, 255, 218, 0.3);
}

.comments-textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

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



/* Domain Suggestions */
.domain-suggestions {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(100, 255, 218, 0.05);
    border: 1px solid rgba(100, 255, 218, 0.2);
    border-radius: 12px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(100, 255, 218, 0.1);
}

.domain-suggestions.show {
    opacity: 1;
    transform: translateY(0);
}

.domain-suggestions h4 {
    color: #64ffda;
    margin-bottom: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.domain-suggestions h4::before {
    content: '🌐';
    font-size: 1.2rem;
}

.suggestions-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.domain-suggestion {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-weight: 500;
    text-align: center;
    backdrop-filter: blur(5px);
}

.domain-suggestion::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.domain-suggestion:hover::before {
    left: 100%;
}

.domain-suggestion:hover {
    background: rgba(100, 255, 218, 0.2);
    border-color: #64ffda;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(100, 255, 218, 0.3);
}

.domain-suggestion.available {
    border-color: #4ade80;
    background: rgba(74, 222, 128, 0.15);
    animation: availablePulse 2s infinite;
}

.domain-suggestion.available::after {
    content: '✓';
    position: absolute;
    top: 4px;
    right: 8px;
    color: #4ade80;
    font-weight: bold;
    font-size: 0.8rem;
}

.domain-suggestion.unavailable {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.15);
    opacity: 0.7;
    cursor: not-allowed;
}

.domain-suggestion.unavailable::after {
    content: '✗';
    position: absolute;
    top: 4px;
    right: 8px;
    color: #ef4444;
    font-weight: bold;
    font-size: 0.8rem;
}

.domain-suggestion.selected {
    border-color: #64ffda;
    background: rgba(100, 255, 218, 0.3);
    box-shadow: 0 0 20px rgba(100, 255, 218, 0.4);
    transform: scale(1.02);
}

.domain-suggestion.selected::after {
    content: '🎯';
    position: absolute;
    top: 4px;
    right: 8px;
    font-size: 0.8rem;
}

.availability-notice {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
    padding: 0.5rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    text-align: center;
    transition: all 0.3s ease;
}

@keyframes availablePulse {
    0%, 100% { box-shadow: 0 0 5px rgba(74, 222, 128, 0.3); }
    50% { box-shadow: 0 0 15px rgba(74, 222, 128, 0.6); }
}

@keyframes domainSelected {
    0% { transform: scale(1.02); }
    50% { transform: scale(1.1); box-shadow: 0 0 30px rgba(100, 255, 218, 0.6); }
    100% { transform: scale(1.02); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Website Type Cards */
.type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.type-card {
    position: relative;
    cursor: pointer;
    display: block;
    transition: transform 0.3s ease;
}

.type-card:hover {
    transform: translateY(-5px);
}

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

.card-content {
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 200px;
}

.card-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(100, 255, 218, 0.15), transparent);
    transition: left 0.6s ease;
}

.card-content::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, transparent, rgba(100, 255, 218, 0.3), transparent);
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.type-card:hover .card-content::before {
    left: 100%;
}

.type-card:hover .card-content {
    border-color: rgba(100, 255, 218, 0.5);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 40px rgba(100, 255, 218, 0.2);
}

.type-card input[type="radio"]:checked + .card-content {
    border-color: #64ffda;
    background: rgba(100, 255, 218, 0.15);
    box-shadow: 0 0 40px rgba(100, 255, 218, 0.4);
    transform: scale(1.02);
}

.type-card input[type="radio"]:checked + .card-content::after {
    opacity: 1;
}

.card-content h4 {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 2;
}

.card-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
    position: relative;
    z-index: 2;
    flex-grow: 1;
}

.card-content .price {
    color: #64ffda;
    font-size: 1.6rem;
    font-weight: 800;
    position: relative;
    z-index: 2;
    text-shadow: 0 0 10px rgba(100, 255, 218, 0.3);
}

.type-card input[type="radio"]:checked + .card-content .price {
    animation: priceGlow 2s infinite;
}

@keyframes priceGlow {
    0%, 100% { text-shadow: 0 0 10px rgba(100, 255, 218, 0.3); }
    50% { text-shadow: 0 0 20px rgba(100, 255, 218, 0.8); }
}

/* Features Section */
.features-section {
    margin-top: 2rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(100, 255, 218, 0.3);
}

.feature-item input[type="checkbox"] {
    display: none !important;
    opacity: 0 !important;
    position: absolute !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    outline: none !important;
    visibility: hidden !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.feature-item input[type="checkbox"]:checked + .checkmark {
    background: #64ffda;
    border-color: #64ffda;
}

.feature-item input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #000000;
    font-weight: bold;
    font-size: 14px;
}

/* Service item checkbox styles */
.service-item input[type="checkbox"]:checked + .checkmark {
    background: #64ffda;
    border-color: #64ffda;
}

.service-item input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #000000;
    font-weight: bold;
    font-size: 14px;
}

/* Language item checkbox styles */
.language-item input[type="checkbox"]:checked + .checkmark {
    background: #64ffda;
    border-color: #64ffda;
}

.language-item input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #000000;
    font-weight: bold;
    font-size: 14px;
}

.feature-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.feature-name {
    color: #ffffff;
    font-weight: 500;
}

.feature-price {
    color: #64ffda;
    font-weight: 600;
}

/* Email and Services Sections */
.email-grid,
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.email-item,
.service-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.email-item:hover,
.service-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(100, 255, 218, 0.3);
}

.email-name,
.service-info {
    color: #ffffff;
    font-weight: 500;
}

.service-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.service-price {
    color: #64ffda;
    font-weight: 600;
}

/* Language Options */
.language-options {
    margin-top: 1.5rem;
}

.language-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.language-counter {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.language-counter label {
    color: #ffffff;
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: block;
}

.language-counter input {
    width: 100px;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: #ffffff;
}

/* Email Input System */
.email-input-container {
    margin-top: 1rem;
}

.section-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.email-input-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.email-input-wrapper input {
    flex: 1;
    min-width: 0;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.email-input-wrapper input:focus {
    outline: none;
    border-color: #64ffda;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(100, 255, 218, 0.1);
}

.email-input-wrapper input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.domain-suffix {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    white-space: nowrap;
}

.add-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: linear-gradient(135deg, #64ffda, #00bcd4);
    border: none;
    border-radius: 8px;
    color: #1a1a2e;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    margin: 1rem 0;
    width: 100%;
}

.add-btn:hover {
    background: linear-gradient(135deg, #4fd3b8, #00acc1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(100, 255, 218, 0.3);
}

.added-emails {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.email-tag {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1rem;
    background: rgba(100, 255, 218, 0.1);
    border: 1px solid rgba(100, 255, 218, 0.3);
    border-radius: 8px;
    color: #64ffda;
}

.email-tag .remove-btn {
    background: none;
    border: none;
    color: #ff6b6b;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.email-tag .remove-btn:hover {
    background: rgba(255, 107, 107, 0.2);
}

/* Date Input Styling */
.input-wrapper input[type="date"] {
    color-scheme: dark;
    position: relative;
    accent-color: #64ffda;
    cursor: pointer;
    width: 100%;
}

.input-wrapper input[type="date"]::-webkit-calendar-picker-indicator {
    display: none;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.input-wrapper input[type="date"]::-webkit-calendar-picker-indicator:hover {
    background: rgba(100, 255, 218, 0.2);
    transform: scale(1.1);
}

.input-wrapper input[type="date"]::-webkit-datetime-edit {
    color: #ffffff;
}

.input-wrapper input[type="date"]::-webkit-datetime-edit-fields-wrapper {
    color: #ffffff;
}

.input-wrapper input[type="date"]::-webkit-datetime-edit-text {
    color: rgba(255, 255, 255, 0.7);
}

.input-wrapper input[type="date"]::-webkit-datetime-edit-month-field,
.input-wrapper input[type="date"]::-webkit-datetime-edit-day-field,
.input-wrapper input[type="date"]::-webkit-datetime-edit-year-field {
    color: #ffffff;
}

/* Date Picker Popup Styling - Use native browser icon */

/* Override browser default date picker colors */
input[type="date"] {
    accent-color: #64ffda !important;
    color-scheme: dark !important;
}

/* More specific date input targeting */
.input-wrapper input[type="date"],
input[type="date"] {
    accent-color: #64ffda !important;
    color-scheme: dark !important;
}

/* For Firefox */
input[type="date"]::-moz-calendar-picker-indicator {
    filter: hue-rotate(90deg) saturate(1.2);
}

/* Additional WebKit overrides - Hide date picker icon */
input[type="date"]::-webkit-calendar-picker-indicator {
    display: none !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
}

/* Force green accent color on all browsers */
:root {
    --date-picker-accent: #64ffda;
}

input[type="date"] {
    accent-color: var(--date-picker-accent) !important;
}

/* Timeline & Budget */
.timeline-budget-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.budget-display {
    background: rgba(100, 255, 218, 0.05);
    border: 1px solid rgba(100, 255, 218, 0.2);
    border-radius: 15px;
    padding: 2rem;
}

.budget-display h4 {
    color: #64ffda;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
}

.budget-breakdown {
    space-y: 1rem;
}

.budget-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.budget-line.discount {
    color: #64ffda;
    font-weight: 600;
    background: rgba(100, 255, 218, 0.1);
    margin: 0.5rem -1rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(100, 255, 218, 0.3);
}

.budget-line.total {
    border-top: 2px solid #64ffda;
    border-bottom: none;
    font-weight: 700;
    font-size: 1.2rem;
    color: #64ffda;
    margin-top: 1rem;
    padding-top: 1rem;
}

.date-notice {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #ef4444;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.date-notice.show {
    opacity: 1;
}

/* Submit Section */
.submit-section {
    text-align: center;
    background: rgba(100, 255, 218, 0.05);
    border: 2px solid rgba(100, 255, 218, 0.2);
}

.submit-form-btn {
    background: linear-gradient(135deg, #64ffda 0%, #4ade80 100%);
    color: #000000;
    border: none;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    min-height: 48px; /* Touch-friendly minimum height */
    min-width: 120px; /* Minimum width for touch targets */
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 10px 30px rgba(100, 255, 218, 0.3);
}

.submit-form-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(100, 255, 218, 0.4);
}

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

.submit-note {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 1rem;
    font-size: 0.9rem;
}

/* Responsive Design */

/* Tablet Styles (768px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .website-form {
        padding: 2.5rem 2rem;
        max-width: 900px;
    }
    
    .form-section {
        padding: 1.8rem;
    }
    
    .input-row {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    
    .type-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .timeline-budget-row {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid,
    .email-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Styles (max-width: 768px) */
@media (max-width: 768px) {
    /* Ensure proper scrolling on mobile */
    body {
        overflow-y: auto !important;
        height: auto !important;
        min-height: 100vh;
    }
    
    .form-page {
        overflow-y: auto;
        height: auto;
        min-height: 100vh;
    }
    
    .website-form {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
        max-width: calc(100vw - 2rem);
        box-sizing: border-box;
    }
    
    .form-section {
        padding: 1.5rem;
        box-sizing: border-box;
    }
    
    .input-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .type-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .timeline-budget-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .features-grid,
    .email-grid,
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .input-wrapper input,
    .input-wrapper select {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 1.2rem 1rem;
    }
    
    /* Email input system mobile improvements */
    .email-input-wrapper {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }
    
    .email-input-wrapper input {
        width: 100%;
        min-width: auto;
        font-size: 16px;
        padding: 1.2rem 1rem;
    }
    
    .domain-suffix {
        text-align: center;
        font-size: 1rem;
        padding: 0.5rem;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 6px;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .submit-form-btn {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        display: flex;
    }
    
    .save-effect {
        right: 10px;
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    /* Prevent horizontal scroll */
    * {
        max-width: 100%;
        box-sizing: border-box;
    }
    
    html, body {
        overflow-x: hidden !important;
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    /* Prevent horizontal scroll */
    * {
        max-width: 100%;
        box-sizing: border-box;
    }
    
    html, body {
        overflow-x: hidden !important;
        width: 100%;
        max-width: 100%;
    }
    
    /* Ensure proper scrolling on small mobile */
    body {
        overflow-y: auto !important;
        height: auto !important;
        min-height: 100vh;
    }
    
    .form-page {
        overflow-y: auto;
        height: auto;
        min-height: 100vh;
    }
    
    .header {
        padding: 1rem 0;
    }
    
    .form-title {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .form-subtitle {
        font-size: 1rem;
        line-height: 1.4;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
    
    .website-form {
        padding: 1.5rem 1rem;
        margin: 0 0.5rem;
        border-radius: 15px;
    }
    
    .form-section {
        padding: 1rem;
        margin-bottom: 2rem;
        border-radius: 12px;
    }
    
    .section-title {
        font-size: 1.5rem;
        line-height: 1.3;
        margin-bottom: 1.5rem;
    }
    
    .input-wrapper input,
    .input-wrapper select {
        padding: 1rem;
        font-size: 16px; /* Prevents zoom on iOS */
        min-height: 48px;
    }
    
    /* Email input system for very small screens */
    .email-input-wrapper {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }
    
    .email-input-wrapper input {
        width: 100%;
        min-width: auto;
        font-size: 16px;
        padding: 1rem;
        min-height: 48px;
    }
    
    .domain-suffix {
        text-align: center;
        font-size: 0.9rem;
        padding: 0.75rem;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 6px;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .submit-form-btn {
        width: 100%;
        padding: 1.5rem 2rem;
        font-size: 1.1rem;
        min-height: 52px;
    }
    
    .type-card {
        padding: 1.5rem 1rem;
        min-height: 60px;
    }
    
    .feature-item,
    .service-item,
    .language-item {
        padding: 1rem;
        min-height: 48px;
    }
    
    .save-effect {
        position: static;
        margin-top: 0.5rem;
        transform: none;
        display: block;
        text-align: center;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

.slide-up {
    animation: slideUp 0.6s ease forwards;
}

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

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

/* Loading States */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid rgba(100, 255, 218, 0.3);
    border-top: 2px solid #64ffda;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Form Page Container Override - Enable Scrolling */
.form-page .container {
    min-height: auto;
    height: auto;
    justify-content: flex-start;
    gap: 2rem;
    padding-bottom: 4rem;
}