/* style.css */
:root {
    /* Premium Color Palette */
    --primary: #0056b3;
    --primary-hover: #004494;
    --primary-light: #e6f0fa;
    --text-main: #1a1f36;
    --text-muted: #4f566b;
    --bg-main: #f7f9fc;
    --bg-white: #ffffff;
    --success: #00a389;
    --success-light: #e6f6f4;
    
    /* Effects */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.05), 0 4px 6px -2px rgba(0,0,0,0.025);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.05), 0 10px 10px -5px rgba(0,0,0,0.02);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    
    /* Typography */
    --font-family: 'Inter', system-ui, -apple-system, sans-serif;
    
    /* Layout */
    --border-radius: 16px;
    --border-radius-sm: 8px;
    --container-width: 1100px;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}
.text-center { text-align: center; }
.text-blue { color: var(--primary); }
.text-success { color: var(--success); }
.mb-4 { margin-bottom: 2rem; }
.my-4 { margin-top: 2rem; margin-bottom: 2rem; }
.mt-4 { margin-top: 2rem; }
.mb-3 { margin-bottom: 1.5rem; }
.hidden { display: none !important; }

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}
.section-title {
    font-size: 2.25rem;
    margin-bottom: 3rem;
    color: var(--text-main);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    text-align: center;
    border: none;
}
.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 86, 179, 0.3);
}
.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 86, 179, 0.4);
}
.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-outline:hover {
    background-color: var(--primary-light);
}
.btn-large {
    padding: 18px 36px;
    font-size: 1.125rem;
}
.btn-block {
    display: block;
    width: 100%;
}
.btn-group-vertical {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Navbar */
.navbar {
    padding: 24px 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 100;
}
.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.01em;
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(135deg, #ffffff 0%, #f0f5fa 100%);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 100%;
    background: radial-gradient(circle, rgba(0,86,179,0.05) 0%, rgba(255,255,255,0) 70%);
    z-index: 0;
}
.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.hero-title {
    font-size: 3rem;
    margin-bottom: 24px;
    background: linear-gradient(90deg, #1a1f36, #0056b3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    font-weight: 500;
}
.hero-text {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}
.hero .btn {
    margin: 32px 0;
}
.hero-indicators {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.indicator {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main);
}
.indicator i {
    color: var(--success);
    width: 20px;
    height: 20px;
}

/* Hero Image with Premium feel */
.hero-image-wrapper {
    position: relative;
    border-radius: var(--border-radius);
    padding: 12px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-lg);
    transform: perspective(1000px) rotateY(-5deg);
    transition: var(--transition);
}
.hero-image-wrapper:hover {
    transform: perspective(1000px) rotateY(0deg) translateY(-10px);
}
.hero-image {
    width: 100%;
    height: auto;
    border-radius: calc(var(--border-radius) - 8px);
    display: block;
    object-fit: cover;
}

/* Benefits Section */
.benefits {
    padding: 100px 0;
    background-color: #1a1f36;
    color: white;
}
.benefits .section-title {
    color: white;
}
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
}
.glass-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--border-radius);
    padding: 40px 24px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}
.glass-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 255, 255, 0.4);
}
.card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    margin-bottom: 24px;
}
.card-icon i {
    width: 32px;
    height: 32px;
}
.card-title {
    font-size: 1.25rem;
    font-weight: 600;
}

/* How it works */
.how-it-works {
    padding: 100px 0;
    background-color: var(--bg-white);
}
.steps-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}
.step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
}
.step-number {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 auto 20px;
    box-shadow: 0 4px 10px rgba(0, 86, 179, 0.3);
}
.step-text {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-main);
    padding: 0 16px;
}
.step-connector {
    flex: 1;
    height: 2px;
    background: #e2e8f0;
    margin-top: 24px;
    position: relative;
    z-index: 1;
    max-width: 100px;
}

/* Form Section */
.form-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f0f5fa 0%, #ffffff 100%);
}
.form-container {
    max-width: 600px;
}
.glass-panel {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 48px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0,0,0,0.05);
}
.form-title {
    font-size: 2rem;
    margin-bottom: 8px;
    text-align: center;
}
.form-subtitle {
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 40px;
}

.form-group {
    margin-bottom: 24px;
}
.form-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 16px;
}
label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.95rem;
}
input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d1d5db;
    border-radius: var(--border-radius-sm);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background-color: #f9fafb;
}
input:focus {
    outline: none;
    border-color: var(--primary);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 4px var(--primary-light);
}

/* Dynamic Screens */
.screen-transition {
    animation: fadeIn 0.5s ease-out forwards;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--bg-main);
}
.text-success .icon-wrapper {
    background: var(--success-light);
}
.icon-wrapper i {
    width: 40px;
    height: 40px;
}
.screen-title {
    font-size: 1.75rem;
    margin-bottom: 16px;
    line-height: 1.3;
}
.screen-text {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Offer Details */
.offer-details {
    background: var(--bg-main);
    border: 1px solid #e2e8f0;
    border-radius: var(--border-radius-sm);
    padding: 24px;
    text-align: left;
}
.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
}
.detail-item:last-child {
    border-bottom: none;
}
.detail-label {
    color: var(--text-muted);
}
.detail-value {
    font-weight: 600;
    color: var(--text-main);
}

/* Spinner */
.spinner-container {
    display: flex;
    justify-content: center;
    align-items: center;
}
.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid var(--primary-light);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Footer */
.footer {
    background-color: #1a1f36;
    color: white;
    padding: 60px 0;
}
.footer p {
    margin-bottom: 8px;
    opacity: 0.9;
}
.footer .copyright {
    opacity: 0.6;
    font-size: 0.9rem;
    margin-top: 24px;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-image-wrapper {
        max-width: 600px;
        margin: 0 auto;
    }
}
@media (max-width: 768px) {
    .hero {
        padding: 120px 0 60px;
    }
    .steps-container {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }
    .step-connector {
        display: none;
    }
    .step {
        width: 100%;
        max-width: 300px;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .glass-panel {
        padding: 32px 24px;
    }
}
