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

:root {
    --primary-color: #4584EE;
    --primary-dark: #3670d9;
    --secondary-color: #FFF1EE;
    --accent-color: #F5C3B7;
    --text-color: #1a1a1a;
    --text-light: #666;
    --background-color: #FFFFFF;
    --background-light: #f8f9fa;
    --border-color: #e0e0e0;
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --max-width: 1250px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 400;
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Prevent iOS input zoom */
@media (max-width: 767px) {
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    select,
    textarea {
        font-size: 16px !important;
    }
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    padding: 16px 0;
    background-color: var(--background-color);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
}

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

.logo img {
    height: 50px;
    width: auto;
    transition: var(--transition);
}

.logo img:hover {
    transform: scale(1.02);
}

@media (max-width: 767px) {
    .header {
        padding: 12px 0;
    }

    .logo img {
        height: 40px;
    }
}

/* Hero Section - New Layout */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 80px 0 120px;
    position: relative;
    overflow: visible;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 80px;
    align-items: start;
    position: relative;
    z-index: 1;
}

/* Hero Left Content */
.hero-left {
    animation: fadeInUp 0.8s ease-out;
}

.hero-header {
    margin-bottom: 40px;
}

.hero-title {
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 400;
    opacity: 0.95;
    line-height: 1.4;
}

/* Quick Features */
.hero-quick-features {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 40px;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 500;
    white-space: nowrap;
}

.feature-icon {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

/* Benefits in Hero */
.hero-benefits-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.hero-benefits-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hero-benefits-cards .benefit-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 20px;
    border-radius: 14px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.hero-benefits-cards .benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.hero-benefits-cards .benefit-card:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.15) 100%);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateX(12px) translateY(-4px);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15);
}

.hero-benefits-cards .benefit-card:hover::before {
    opacity: 1;
}

.hero-benefits-cards .benefit-icon {
    font-size: 36px;
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s ease;
}

.hero-benefits-cards .benefit-card:hover .benefit-icon {
    transform: scale(1.1) rotate(-5deg);
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.hero-benefits-cards .benefit-content {
    flex: 1;
}

.hero-benefits-cards .benefit-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
    color: white;
    letter-spacing: -0.01em;
}

.hero-benefits-cards .benefit-content p {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.95;
    color: white;
}

/* Hero Right - Video Overlapping */
.hero-right {
    position: relative;
    animation: fadeInRight 0.8s ease-out 0.3s both;
}

.video-container-hero {
    position: sticky;
    top: 90px;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 9 / 16;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.video-container-hero video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(69, 132, 238, 0.15) 0%, rgba(54, 112, 217, 0.15) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(1px);
}

.video-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.play-button {
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-button:hover {
    transform: scale(1.1);
}

.play-button:active {
    transform: scale(0.95);
}

.play-button svg {
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
}

/* Hero Benefits Section */
.hero-benefits {
    margin-top: -100px;
    padding: 0 0 80px;
    position: relative;
    z-index: 5;
}

.hero-benefits .section-title {
    color: white;
    text-align: center;
    margin-bottom: 50px;
    font-size: 42px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* Responsive Tablet */
@media (max-width: 1024px) {
    .hero {
        padding: 60px 0 80px;
    }

    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .hero-quick-features {
        margin-bottom: 40px;
    }

    .hero-benefits-title {
        font-size: 28px;
    }

    .video-container-hero {
        position: relative;
        top: auto;
        max-width: 380px;
        margin: 0 auto;
        box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    }

    .hero-benefits-title {
        font-size: 24px;
        margin-bottom: 18px;
    }

    .hero-benefits-cards {
        gap: 14px;
    }

    .hero-benefits-cards .benefit-card {
        padding: 18px;
    }

    .hero-benefits-cards .benefit-icon {
        font-size: 32px;
        width: 52px;
        height: 52px;
        border-radius: 10px;
    }
}

/* Responsive Mobile */
@media (max-width: 767px) {
    .hero {
        padding: 40px 0 60px;
    }

    .hero-wrapper {
        gap: 40px;
    }

    .hero-header {
        margin-bottom: 30px;
    }

    .hero-title {
        font-size: 36px;
        margin-bottom: 16px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-quick-features {
        margin-bottom: 35px;
        gap: 12px;
        flex-direction: column;
    }

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

    .feature-icon {
        width: 28px;
        height: 28px;
        font-size: 16px;
    }

    .hero-benefits-title {
        font-size: 22px;
        margin-bottom: 16px;
    }

    .hero-benefits-cards {
        gap: 12px;
    }

    .hero-benefits-cards .benefit-card {
        padding: 16px;
        gap: 16px;
    }

    .hero-benefits-cards .benefit-icon {
        font-size: 30px;
        width: 48px;
        height: 48px;
        border-radius: 10px;
    }

    .hero-benefits-cards .benefit-content h3 {
        font-size: 16px;
        margin-bottom: 4px;
    }

    .hero-benefits-cards .benefit-content p {
        font-size: 13px;
        line-height: 1.5;
    }

    .video-container-hero {
        max-width: 320px;
        border-radius: 24px;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    }

    .play-button svg {
        width: 60px;
        height: 60px;
    }
}

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

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Old Video Section - Removed (video now in hero) */

/* Benefits Grid (now used in hero-benefits) */
.section-title {
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: -0.02em;
    color: var(--text-color);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

@media (max-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 767px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 10px;
    }
}

.benefit-card {
    background: var(--background-color);
    padding: 48px 32px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    transform: scaleX(0);
    transition: var(--transition);
}

.benefit-card:hover::before {
    transform: scaleX(1);
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.benefit-icon {
    font-size: 56px;
    margin-bottom: 24px;
    display: inline-block;
    transition: var(--transition);
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1);
}

.benefit-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-color);
}

.benefit-card p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.7;
}

@media (max-width: 767px) {
    .benefit-card {
        padding: 36px 24px;
    }

    .benefit-icon {
        font-size: 48px;
        margin-bottom: 20px;
    }

    .benefit-card h3 {
        font-size: 20px;
    }

    .benefit-card p {
        font-size: 15px;
    }
}

/* Checkout Section */
.checkout-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--secondary-color) 0%, rgba(255,241,238,0.3) 100%);
}

.checkout-wrapper {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .checkout-section {
        padding: 80px 0;
    }

    .checkout-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 20px;
    }
}

@media (max-width: 767px) {
    .checkout-section {
        padding: 60px 0;
    }

    .checkout-wrapper {
        padding: 0 10px;
        gap: 32px;
    }
}

/* Pricing Info */
.pricing-info h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-color);
    letter-spacing: -0.01em;
}

.pricing-card {
    background: var(--background-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 100px;
    transition: var(--transition);
}

.pricing-card:hover {
    box-shadow: 0 8px 40px rgba(69, 132, 238, 0.2);
}

.pricing-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 36px 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pricing-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
}

.pricing-header h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.pricing-subtitle {
    font-size: 16px;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.pricing-body {
    padding: 40px 32px;
}

.price {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 2px solid var(--border-color);
}

.price-amount {
    font-size: 52px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    letter-spacing: -0.02em;
}

.price-period {
    font-size: 18px;
    color: var(--text-light);
    margin-left: 4px;
    font-weight: 500;
}

.pricing-features {
    list-style: none;
}

.pricing-features li {
    padding: 14px 0;
    font-size: 16px;
    color: var(--text-color);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.pricing-features li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.pricing-note {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    font-size: 14px;
    color: var(--text-light);
    font-style: italic;
}

@media (max-width: 1024px) {
    .pricing-card {
        position: static;
    }

    .pricing-info h2 {
        font-size: 32px;
    }
}

@media (max-width: 767px) {
    .pricing-info h2 {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .pricing-header {
        padding: 28px 24px;
    }

    .pricing-header h3 {
        font-size: 24px;
    }

    .pricing-body {
        padding: 32px 24px;
    }

    .price-amount {
        font-size: 44px;
    }

    .pricing-features li {
        font-size: 15px;
        padding: 12px 0;
    }
}

/* Checkout Form */
.checkout-form {
    background: var(--background-color);
    padding: 48px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.checkout-form h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--text-color);
    letter-spacing: -0.01em;
}

.form-section {
    margin-bottom: 40px;
}

.form-section:last-of-type {
    margin-bottom: 32px;
}

.form-section h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-section h3::before {
    content: '';
    width: 4px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 2px;
}

.form-group {
    margin-bottom: 20px;
}

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

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
    background-color: var(--background-color);
}

.form-group input:hover {
    border-color: #ccc;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(69, 132, 238, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 16px;
}

@media (max-width: 1024px) {
    .checkout-form {
        padding: 40px;
    }

    .checkout-form h2 {
        font-size: 32px;
    }
}

@media (max-width: 767px) {
    .checkout-form {
        padding: 32px 24px;
    }

    .checkout-form h2 {
        font-size: 28px;
        margin-bottom: 28px;
    }

    .form-section {
        margin-bottom: 32px;
    }

    .form-section h3 {
        font-size: 16px;
    }

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

    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group input[type="tel"] {
        padding: 12px 14px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

/* Payment Methods */
.payment-methods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.payment-method {
    background: var(--background-color);
    border: 2px solid var(--border-color);
    padding: 24px 20px;
    border-radius: var(--border-radius-sm);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.payment-method::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.payment-icon {
    font-size: 36px;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-logo {
    height: 36px;
    width: auto;
    object-fit: contain;
}

.payment-text {
    position: relative;
    z-index: 2;
    color: var(--text-color);
    transition: var(--transition);
}

.payment-method:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.payment-method.active {
    border-color: var(--primary-color);
}

.payment-method.active::after {
    opacity: 1;
}

.payment-method.active .payment-text {
    color: white;
}

.payment-method.active .payment-icon {
    color: white;
}

@media (max-width: 767px) {
    .payment-methods {
        gap: 12px;
    }

    .payment-method {
        padding: 20px 16px;
    }

    .payment-icon {
        font-size: 32px;
    }

    .payment-logo {
        height: 32px;
    }
}

/* Checkbox Group */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: var(--background-light);
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.checkbox-group:hover {
    background: #f0f0f0;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 3px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary-color);
    flex-shrink: 0;
}

.checkbox-group label {
    margin-bottom: 0;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-color);
    font-weight: 500;
}

.checkbox-group a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

@media (max-width: 767px) {
    .checkbox-group {
        padding: 14px 12px;
    }

    .checkbox-group label {
        font-size: 13px;
    }
}

/* Submit Button */
.btn-submit {
    width: 100%;
    padding: 18px 32px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    border-radius: var(--border-radius-sm);
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
    margin-top: 12px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(69, 132, 238, 0.3);
}

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

.btn-submit:hover::before {
    left: 100%;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(69, 132, 238, 0.4);
}

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

.btn-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.form-notice {
    margin-top: 24px;
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.7;
    text-align: center;
    padding: 16px;
    background: var(--background-light);
    border-radius: var(--border-radius-sm);
}

@media (max-width: 767px) {
    .btn-submit {
        padding: 16px 28px;
        font-size: 17px;
    }

    .form-notice {
        font-size: 12px;
        padding: 14px 12px;
    }
}

/* Footer */
.footer {
    background: var(--text-color);
    padding: 48px 0;
    text-align: center;
}

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

.footer-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    text-decoration: underline;
}

@media (max-width: 767px) {
    .footer {
        padding: 36px 20px;
    }

    .footer-links {
        gap: 24px;
        font-size: 13px;
    }
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-overlay p {
    color: white;
    font-size: 18px;
    margin-top: 20px;
}

.loading-spinner {
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

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

/* Form Validation */
.form-group input.error {
    border-color: #dc3545;
    background-color: #fff5f5;
}

.form-group input.error:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.error-message {
    color: #dc3545;
    font-size: 13px;
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.error-message::before {
    content: '⚠';
    font-size: 14px;
}

/* Success Message */
.success-message {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 16px 20px;
    border-radius: var(--border-radius-sm);
    margin-bottom: 24px;
    text-align: center;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    animation: slideDown 0.3s ease-out;
}

.error-alert {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 16px 20px;
    border-radius: var(--border-radius-sm);
    margin-bottom: 24px;
    text-align: center;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    animation: slideDown 0.3s ease-out;
}

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

@media (max-width: 767px) {
    .success-message,
    .error-alert {
        padding: 14px 16px;
        font-size: 14px;
    }
}

/* Success Page */
.success-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.success-content {
    max-width: 700px;
    text-align: center;
    background: white;
    padding: 60px 40px;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.success-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    font-size: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    animation: scaleIn 0.5s ease-out;
}

.success-content h1 {
    font-size: 42px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 16px;
}

.success-subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 50px;
}

.success-info {
    margin: 50px 0;
    text-align: left;
}

.success-info h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 30px;
    text-align: center;
}

.success-steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.success-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.step-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    font-size: 24px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 8px;
}

.step-content p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.6;
}

.success-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.btn-primary,
.btn-secondary {
    padding: 16px 32px;
    border-radius: var(--border-radius-sm);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(69, 132, 238, 0.4);
}

.btn-secondary {
    background: var(--background-light);
    color: var(--text-color);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    background: white;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

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

@media (max-width: 767px) {
    .success-content {
        padding: 40px 24px;
    }

    .success-content h1 {
        font-size: 32px;
    }

    .success-subtitle {
        font-size: 16px;
        margin-bottom: 40px;
    }

    .success-icon {
        width: 80px;
        height: 80px;
        font-size: 48px;
    }

    .success-info h2 {
        font-size: 24px;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .step-content h3 {
        font-size: 18px;
    }

    .step-content p {
        font-size: 14px;
    }

    .success-actions {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }
}
