/* Color Palette & Custom Variables */
:root {
    --primary-color: #8B0032; /* Burgundy */
    --secondary-color: #5d0022; /* Darker burgundy */
    --accent-color: #D4AF37; /* Gold */
    --text-color: #333333;
    --bg-light: #F8F9FA;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    overflow-x: hidden;
}

/* Typography Customization */
h1, h2, h3, h4, h5, h6 {
    letter-spacing: -0.03em;
}

/* Custom Logo CSS to match graphic */
.brand-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
}
.brand-logo-top {
    color: var(--accent-color);
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}
.brand-logo-bottom {
    background-color: var(--primary-color);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.25em;
    padding: 3px 20px;
    margin-top: 2px;
    text-transform: uppercase;
    border-radius: 2px;
}

.gradient-text {
    background: linear-gradient(45deg, var(--accent-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Navbar */
.transition-nav {
    transition: all 0.3s ease-in-out;
    padding: 1.5rem 0;
}
.navbar.bg-dark {
    padding: 0.8rem 0 !important;
    background-color: #1A1A2E !important;
}
.navbar-nav .nav-link {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85) !important;
    position: relative;
    margin: 0 10px;
}
.navbar-nav .nav-link:hover {
    color: #fff !important;
}
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 5px;
    left: 8px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}
.navbar-nav .nav-link:not(.btn):hover::after {
    width: 80%;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border: none;
    box-shadow: 0 4px 15px rgba(139, 0, 50, 0.3);
    transition: all 0.3s ease;
    color: #fff;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 0, 50, 0.5);
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    color: #fff;
}

.btn-outline-light:hover {
    color: var(--primary-color);
}

.pulse-btn {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(212, 175, 55, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #1A1A2E 0%, #0F0F1A 100%);
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(139, 0, 50, 0.15) 0%, transparent 60%);
    border-radius: 50%;
    z-index: 0;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 60%);
    border-radius: 50%;
    z-index: 0;
}
.hero-text {
    z-index: 1;
    position: relative;
}
.hero p {
    font-size: 1.15rem;
    line-height: 1.7;
}

/* Hero Image & Glassmorphism */
.hero-image-wrapper {
    position: relative;
    z-index: 1;
    perspective: 1000px;
}
.hero-img {
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: rotateY(-8deg) rotateX(5deg);
    transition: transform 0.5s ease;
    box-shadow: -20px 20px 50px rgba(0,0,0,0.5) !important;
}
.hero-image-wrapper:hover .hero-img {
    transform: rotateY(0deg) rotateX(0deg);
}
.glass-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 20px;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    animation: float 4s ease-in-out infinite;
}
.floating-card-1 {
    top: 10%;
    left: -30px;
    animation-delay: 0s;
}
.floating-card-2 {
    bottom: 15%;
    right: -30px;
    animation-delay: 2s;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Features Section */
.feature-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}
.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}
.icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}
.feature-card:hover .icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

/* CTA / Form Section */
.cta-section {
    background: #1A1A2E;
    overflow: hidden;
}
.signup-card {
    border: 1px solid rgba(0, 0, 0, 0.05);
}
.form-control-lg {
    font-size: 1rem;
    padding: 1rem 1.25rem;
    border-radius: 10px;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
}
.form-control-lg:focus {
    box-shadow: 0 0 0 0.25rem rgba(142, 45, 226, 0.25);
    border-color: var(--secondary-color);
}
.signup-btn {
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    background-size: 200% auto;
    transition: background-position 0.5s;
    border: none;
    color: white;
}
.signup-btn:hover {
    background-position: right center;
    transform: none;
    color: white;
}

/* Decorative Blobs for CTA */
.blob-1 {
    position: absolute;
    width: 400px;
    height: 400px;
    background: var(--primary-color);
    filter: blur(100px);
    opacity: 0.3;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    border-radius: 50%;
    z-index: 1;
}
.blob-2 {
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--accent-color);
    filter: blur(100px);
    opacity: 0.3;
    bottom: -100px;
    right: 0;
    border-radius: 50%;
    z-index: 1;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .hero {
        padding-top: 120px;
        text-align: center;
        padding-bottom: 60px;
    }
    .hero .btn {
        margin-bottom: 1rem;
        margin-right: 0 !important;
        width: 100%;
    }
    .glass-card {
        display: none;
    }
    
    .navbar.bg-dark {
        background-color: #1A1A2E !important;
    }
    .navbar-collapse {
        background-color: #1A1A2E;
        padding: 1rem;
        border-radius: 10px;
        margin-top: 10px;
    }
}
