:root {
    --primary-color: #0a2463;
    --secondary-color: #3e92cc;
    --accent-color: #ffd166;
    --error-color: #ef476f;
    --text-color: #333333;
    --light-text: #ffffff;
    --background-color: #f8f9fa;
    --card-bg: #ffffff;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --diamond-color: rgba(255, 209, 102, 0.6);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    background-color: var(--background-color);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Luxury Loader */
.luxury-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0a2463;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease-out;
}

.brand-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.logo-diamond {
    width: 100px;
    height: 100px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: diamond-float 3s ease-in-out infinite;
}

.diamond-core {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #ffd166, #ffb347);
    transform: rotate(45deg);
    position: relative;
    z-index: 2;
    box-shadow: 0 0 30px rgba(255, 209, 102, 0.6);
}

.diamond-shine {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transform: rotate(45deg);
    animation: diamond-rotate 8s linear infinite;
    z-index: 1;
}

.brand-name {
    display: flex;
    gap: 0.5rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 3.5rem;
    color: white;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.brand-name span {
    display: inline-block;
    transform-origin: bottom center;
    opacity: 0;
}

.letter-b {
    animation: letter-drop 0.8s ease-out forwards, letter-color 3s infinite;
    animation-delay: 0.2s;
}

.letter-v {
    animation: letter-drop 0.8s ease-out forwards, letter-color 3s infinite;
    animation-delay: 0.4s;
}

.letter-m {
    animation: letter-drop 0.8s ease-out forwards, letter-color 3s infinite;
    animation-delay: 0.6s;
}

.letter-k {
    animation: letter-drop 0.8s ease-out forwards, letter-color 3s infinite;
    animation-delay: 0.8s;
}

.loading-bar {
    width: 250px;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.loading-progress {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #ffd166, #ffb347);
    animation: loading-fill 2.5s ease-in-out infinite;
}

/* Animations */
@keyframes diamond-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes diamond-rotate {
    0% {
        transform: rotate(45deg);
    }
    100% {
        transform: rotate(405deg);
    }
}

@keyframes letter-drop {
    0% {
        transform: translateY(-100px) rotate(-20deg);
        opacity: 0;
    }
    50% {
        transform: translateY(10px) rotate(10deg);
    }
    100% {
        transform: translateY(0) rotate(0);
        opacity: 1;
    }
}

@keyframes letter-color {
    0%, 100% {
        color: white;
        text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
    }
    50% {
        color: #ffd166;
        text-shadow: 0 0 20px rgba(255, 209, 102, 0.8);
    }
}

@keyframes loading-fill {
    0% {
        width: 0%;
        left: 0;
    }
    50% {
        width: 100%;
        left: 0;
    }
    100% {
        width: 0%;
        left: 100%;
    }
}

/* Container */
.container {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.container.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Header */
.refund-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--light-text);
    padding: 5rem 2rem 4rem;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.refund-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="10" height="10" fill="rgba(255,255,255,0.05)"/></svg>');
    opacity: 0.3;
}

.header-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-container {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
    position: relative;
}

.logo-shine {
    position: absolute;
    top: -15px;
    left: -15px;
    width: calc(100% + 30px);
    height: calc(100% + 30px);
    border: 2px solid var(--accent-color);
    transform: rotate(45deg);
    opacity: 0.5;
    animation: shine-rotate 15s linear infinite;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--light-text);
    margin-bottom: 0;
    text-shadow: 0 0 10px rgba(255, 209, 102, 0.5);
}

.logo-subtitle {
    font-size: 1rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-top: -10px;
    opacity: 0.8;
}

.title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.title-accent {
    color: var(--accent-color);
}

.header-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.5rem 0;
}

.deco-line {
    width: 80px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.5);
}

.deco-diamond {
    width: 10px;
    height: 10px;
    background-color: var(--accent-color);
    transform: rotate(45deg);
    margin: 0 20px;
}

/* Main Content */
.refund-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
    position: relative;
}

.floating-diamonds {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.diamond-small {
    position: absolute;
    width: 15px;
    height: 15px;
    background-color: var(--diamond-color);
    transform: rotate(45deg);
    opacity: 0;
    animation: float-diamond 15s infinite linear;
}

.diamond-1 {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.diamond-2 {
    top: 60%;
    left: 80%;
    animation-delay: 5s;
}

.diamond-3 {
    top: 30%;
    left: 70%;
    animation-delay: 10s;
}

@keyframes float-diamond {
    0% {
        transform: rotate(45deg) translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: rotate(45deg) translateY(-100px) translateX(50px);
        opacity: 0;
    }
}

/* Policy Sections */
.policy-section {
    background-color: var(--card-bg);
    border-radius: 8px;
    box-shadow: 0 10px 30px var(--shadow-color);
    padding: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.policy-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent-color), var(--secondary-color));
}

.policy-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.section-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-left: 15px;
}

.section-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(10, 36, 99, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.policy-section p {
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

/* Refund Grid */
.refund-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.refund-card {
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.refund-card.non-refundable::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(239, 71, 111, 0.03), rgba(239, 71, 111, 0.1));
    z-index: 0;
}

.refund-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.card-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(10, 36, 99, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary-color);
    font-size: 1.8rem;
    position: relative;
    z-index: 1;
}

.non-refundable .card-icon {
    background-color: rgba(239, 71, 111, 0.1);
    color: var(--error-color);
}

.refund-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    position: relative;
    z-index: 1;
}

.non-refundable h4 {
    color: var(--error-color);
}

.refund-card p {
    font-size: 1rem;
    color: var(--text-color);
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.refund-badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background-color: var(--error-color);
    color: white;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 1.5rem;
    position: relative;
    z-index: 1;
}

/* Notice Box */
.notice-box {
    background-color: rgba(255, 209, 102, 0.1);
    border-left: 4px solid var(--accent-color);
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    margin: 2rem 0;
}

.notice-icon {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-right: 1rem;
}

.notice-box p {
    margin-bottom: 0;
}

/* Signature Box */
.signature-box {
    margin-top: 3rem;
    text-align: right;
}

.signature-line {
    width: 250px;
    height: 1px;
    background-color: var(--text-color);
    margin-left: auto;
    margin-bottom: 0.5rem;
}

.signature-label {
    font-style: italic;
    opacity: 0.7;
}


/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes shine-rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .refund-header {
        padding: 3rem 1.5rem;
    }
    
    .title {
        font-size: 2.2rem;
    }
    
    .policy-section {
        padding: 1.5rem;
    }
    
    .refund-grid {
        grid-template-columns: 1fr;
    }
    
    .signature-line {
        width: 150px;
    }
}