/* style.css v2 - Enhanced Creative UI */
:root {
    /* Light Mode Variables */
    --bg-primary: #ffffff;
    --bg-secondary: #fdfdfd;
    --text-primary: #1d1d1f;
    --text-secondary: #86868b;
    --accent: #0071e3;
    --accent-hover: #0077ed;
    --accent-glow: rgba(0, 113, 227, 0.4);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.7);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
    --error: #ff3b30;
    --success: #34c759;
    --border: #eaeaea;
    --blob-1: #ffd6ff;
    --blob-2: #d6eaff;
    --blob-3: #ffebd6;
}



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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Mesh Gradient Background */
.mesh-bg {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: -1;
    overflow: hidden;
    background-color: var(--bg-primary);
}

.color-blob {
    position: absolute;
    filter: blur(100px);
    border-radius: 50%;
    opacity: 0.4;
    animation: float 20s infinite alternate ease-in-out;
}

.blob-1 { width: 60vw; height: 60vw; background: var(--blob-1); top: -20%; left: -10%; animation-delay: 0s; }
.blob-2 { width: 50vw; height: 50vw; background: var(--blob-2); bottom: -10%; right: -10%; animation-delay: -5s; }
.blob-3 { width: 40vw; height: 40vw; background: var(--blob-3); top: 30%; left: 40%; animation-delay: -10s; }

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(5%, 10%) scale(1.1); }
}

.container { max-width: 1000px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.full-width { grid-column: 1 / -1; }

/* Typography */
h1, h2, h3, h4 { font-weight: 600; letter-spacing: -0.02em; color: var(--text-primary); }
.section-title { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 1rem; }
.subtitle { font-size: 1.2rem; color: var(--text-secondary); margin-bottom: 2rem; }

/* Navbar */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; height: 70px;
    background: var(--glass-bg);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000; display: flex; align-items: center;
    transition: background 0.3s ease;
}

.nav-content { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.logo { font-size: 1.5rem; font-weight: 700; color: var(--text-primary); text-decoration: none; letter-spacing: -0.02em; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { color: var(--text-primary); text-decoration: none; font-size: 0.95rem; font-weight: 500; transition: color 0.2s ease; }
.nav-links a:hover { color: var(--accent); }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 12px 24px; border-radius: 980px; font-size: 1rem; font-weight: 500;
    text-decoration: none; cursor: pointer; transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    border: none; outline: none; position: relative; overflow: hidden;
}
.btn-primary { background-color: var(--accent); color: #ffffff !important; }
.btn-primary:hover { background-color: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 4px 14px var(--accent-glow); }
.btn-large { padding: 16px 32px; font-size: 1.15rem; }
.btn-block { width: 100%; padding: 18px; font-size: 1.15rem; }
.btn-nav { padding: 8px 16px; font-size: 0.9rem; }

/* Hero Section */
.hero { padding: 180px 0 100px; position: relative; overflow: visible; z-index: 1; }
.hero-container { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.hero-text-content { flex: 1; max-width: 550px; text-align: left; }
.hero-visual { flex: 1; position: relative; display: flex; justify-content: center; align-items: center; }

.badge { display: inline-block; padding: 8px 16px; background: var(--accent-glow); color: var(--accent); border-radius: 20px; font-size: 0.85rem; font-weight: 600; margin-bottom: 24px; border: 1px solid var(--glass-border); }

.hero-title { font-size: clamp(3rem, 5vw, 4.5rem); line-height: 1.1; margin-bottom: 24px; color: var(--text-primary); }
.text-gradient { background: linear-gradient(to right, #0071e3, #42a1ff, #0071e3); background-size: 200% auto; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.animated-gradient { animation: shine 3s linear infinite; }
@keyframes shine { to { background-position: 200% center; } }

.hero-subtitle { font-size: clamp(1.1rem, 2vw, 1.25rem); color: var(--text-secondary); margin-bottom: 40px; }
.hero-actions { display: flex; gap: 16px; justify-content: flex-start; }

/* Visual Side Animations */
.glow-orb { position: absolute; border-radius: 50%; filter: blur(60px); z-index: -1; opacity: 0.6; animation: pulse 6s infinite alternate; }
.orb-1 { width: 300px; height: 300px; background: #0071e3; top: 10%; right: 20%; }
.orb-2 { width: 250px; height: 250px; background: #9900ff; bottom: 0; left: 10%; animation-delay: -3s; }

.hero-image-wrapper { position: relative; z-index: 2; border-radius: 24px; box-shadow: 0 30px 60px rgba(0,0,0,0.2); border: 1px solid var(--glass-border); background: var(--bg-secondary); }
.hero-image { width: 100%; height: auto; border-radius: 24px; display: block; }
.float-animation { animation: floating 6s ease-in-out infinite; }
@keyframes floating { 0% { transform: translateY(0px); } 50% { transform: translateY(-20px); } 100% { transform: translateY(0px); } }
@keyframes pulse { 0% { transform: scale(1); opacity: 0.5; } 100% { transform: scale(1.2); opacity: 0.8; } }

/* Floating Badges */
.floating-badge { position: absolute; padding: 12px 20px; border-radius: 16px; font-weight: 600; font-size: 0.9rem; display: flex; align-items: center; gap: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); animation: floating 5s ease-in-out infinite alternate; z-index: 3; }
.badge-1 { top: 10%; left: -10%; animation-delay: -1s; }
.badge-2 { bottom: 15%; right: -5%; animation-delay: -2s; }
.icon { font-size: 1.2rem; }

/* Glass Cards */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: saturate(180%) blur(30px);
    -webkit-backdrop-filter: saturate(180%) blur(30px);
    border: 1px solid var(--glass-border);
    border-radius: 24px; padding: 40px;
    box-shadow: var(--glass-shadow);
}
.glass-panel {
    background: var(--glass-bg); backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
}

/* Services */
.services { padding: 100px 0; }
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-top: 60px; }
.hover-lift { transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease; }
.hover-lift:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.12); }
.card-icon { font-size: 3rem; margin-bottom: 20px; }

/* Form Section */
.form-section { padding: 100px 0 140px; }
.form-section-title { font-size: 1.4rem; margin: 40px 0 20px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.helper-text { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 16px; }

/* Floating Labels */
.floating-group { position: relative; margin-bottom: 10px; }
.floating-input {
    width: 100%; padding: 24px 16px 10px;
    border-radius: 12px; border: 1px solid var(--border);
    background-color: rgba(255, 255, 255, 0.8); color: var(--text-primary);
    font-family: inherit; font-size: 1rem;
    transition: all 0.2s ease; outline: none;
}
.floating-input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-glow); background-color: transparent; }
.floating-label {
    position: absolute; left: 16px; top: 17px;
    font-size: 1rem; color: var(--text-secondary);
    pointer-events: none; transition: all 0.2s ease; transform-origin: left top;
}
.floating-input:focus ~ .floating-label,
.floating-input:not(:placeholder-shown) ~ .floating-label {
    transform: translateY(-10px) scale(0.75); color: var(--accent); font-weight: 500;
}
.floating-input:-webkit-autofill ~ .floating-label {
    transform: translateY(-10px) scale(0.75);
}

/* Static Form Elements */
.static-label { display: block; font-size: 0.95rem; font-weight: 500; margin-bottom: 8px; color: var(--text-secondary); }
.custom-select {
    width: 100%; padding: 16px; border-radius: 12px;
    border: 1px solid var(--border); background-color: rgba(255, 255, 255, 0.8);
    color: var(--text-primary); font-family: inherit; font-size: 1rem;
    appearance: none; cursor: pointer; outline: none; transition: all 0.2s ease;
}
.custom-select:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-glow); }

/* Custom Radio & Checkbox */
.radio-options { display: flex; gap: 24px; margin-top: 8px; }
.radio-label, .checkbox-label { display: flex; align-items: center; cursor: pointer; font-size: 1rem; position: relative; }
.radio-label input, .checkbox-label input { position: absolute; opacity: 0; cursor: pointer; }
.radio-custom, .checkbox-custom {
    height: 22px; width: 22px; border: 2px solid var(--border); border-radius: 50%;
    margin-right: 12px; display: flex; justify-content: center; align-items: center;
    transition: all 0.2s ease;
}
.checkbox-custom { border-radius: 6px; }
.radio-label:hover input ~ .radio-custom, .checkbox-label:hover input ~ .checkbox-custom { border-color: var(--accent); }
.radio-label input:checked ~ .radio-custom, .checkbox-label input:checked ~ .checkbox-custom { background-color: var(--accent); border-color: var(--accent); }
.radio-custom::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: white; transform: scale(0); transition: transform 0.2s ease; }
.radio-label input:checked ~ .radio-custom::after { transform: scale(1); }
.checkbox-custom::after {
    content: ""; width: 6px; height: 12px; border: solid white;
    border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform 0.2s ease; margin-bottom: 3px;
}
.checkbox-label input:checked ~ .checkbox-custom::after { transform: rotate(45deg) scale(1); }

/* Consent Area */
.consent-group { background: rgba(134, 134, 139, 0.05); padding: 24px; border-radius: 16px; border: 1px solid var(--border); }
.consent-text { margin-top: 16px; font-size: 0.85rem; color: var(--text-secondary); display: flex; flex-direction: column; gap: 12px; }

/* File Upload Drag & Drop */
.upload-zone {
    border: 2px dashed var(--border); border-radius: 16px; padding: 40px 20px;
    text-align: center; cursor: pointer; transition: all 0.3s ease;
    background: rgba(134, 134, 139, 0.02); position: relative;
}
.upload-zone:hover, .upload-zone.dragover {
    border-color: var(--accent); background: var(--accent-glow);
}
.upload-icon { font-size: 3rem; margin-bottom: 16px; pointer-events: none; }
.upload-prompt { font-size: 1.1rem; font-weight: 500; pointer-events: none; }
.upload-trigger { color: var(--accent); cursor: pointer; }
.upload-status { margin-top: 8px; font-size: 0.9rem; color: var(--text-secondary); pointer-events: none; }
.upload-limit { margin-top: 4px; font-size: 0.8rem; color: var(--text-secondary); opacity: 0.7; pointer-events: none; }
.hidden-file-input { position: absolute; width: 100%; height: 100%; top: 0; left: 0; opacity: 0; cursor: pointer; }

/* Validation */
.required { color: var(--error); }
.error-message { color: var(--error); font-size: 0.8rem; margin-top: 4px; display: block; min-height: 16px; font-weight: 500; }
.form-group.has-error .floating-input, .form-group.has-error .custom-select, .form-group.has-error .upload-zone { border-color: var(--error); }
.form-group.has-error .floating-label { color: var(--error); }
.hp-field { display: none; }

/* Spinner & Feedback */
.spinner { width: 20px; height: 20px; border: 2px solid rgba(255,255,255,0.3); border-radius: 50%; border-top-color: #fff; animation: spin 1s infinite linear; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.hidden { display: none !important; }
.form-feedback { margin-top: 24px; padding: 16px; border-radius: 12px; text-align: center; font-weight: 500; animation: fadeUp 0.3s ease; }
.form-feedback.success { background-color: rgba(52, 199, 89, 0.1); color: var(--success); border: 1px solid rgba(52, 199, 89, 0.2); }
.form-feedback.error { background-color: rgba(255, 59, 48, 0.1); color: var(--error); border: 1px solid rgba(255, 59, 48, 0.2); }

/* Footer */
.footer { padding: 40px 0; }
.footer-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.footer p { color: var(--text-secondary); font-size: 0.9rem; margin-top: 4px; }

/* Animations */
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.fade-in-up { opacity: 0; transform: translateY(30px); animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.fade-in { opacity: 0; animation: fadeUp 1s ease forwards; }
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }

/* File List UI */
.file-list { display: flex; flex-direction: column; gap: 10px; margin-top: 15px; }
.file-item { display: flex; flex-direction: column; gap: 8px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05); padding: 12px 16px; border-radius: 8px; animation: fadeUp 0.3s ease forwards; }
.file-info { display: flex; justify-content: space-between; align-items: center; }
.file-name { font-size: 0.9rem; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 85%; }
.file-remove { background: none; border: none; color: #ff4d4f; cursor: pointer; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; padding: 4px; border-radius: 50%; transition: background 0.2s; }
.file-remove:hover { background: rgba(255, 77, 79, 0.1); }
.file-progress-bar { height: 6px; background: rgba(255,255,255,0.1); border-radius: 3px; overflow: hidden; }
.file-progress-fill { height: 100%; width: 0%; background: var(--primary); transition: width 0.4s ease, background 0.3s ease; }
.file-progress-fill.completed { background: #4caf50; }

/* Responsive */
@media (max-width: 900px) {
    .hero-container { flex-direction: column; text-align: center; }
    .hero-text-content { text-align: center; max-width: 100%; }
    .hero-actions { justify-content: center; }
    .badge-1 { left: 0; }
    .badge-2 { right: 0; }
}

@media (max-width: 768px) {
    .form-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .hero { padding: 140px 0 60px; }
    .form-wrapper { padding: 24px 16px; }
}
