/* ===================================================================
   FLOTILLA TRACKER - ENHANCED BEAUTIFUL DESIGN
   Outstanding modern styling with animations and gradients
   =================================================================== */

/* ===================================================================
   ENHANCED COLOR PALETTE & ANIMATIONS
   =================================================================== */
:root {
    /* Enhanced Color Palette */
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --success-gradient: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --warning-gradient: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    
    /* Glass Morphism */
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
    
    /* Enhanced Shadows */
    --shadow-glow: 0 0 40px rgba(102, 126, 234, 0.3);
    --shadow-lift: 0 20px 40px rgba(0, 0, 0, 0.1);
    --shadow-float: 0 10px 30px rgba(0, 0, 0, 0.15);
    
    /* Animation Variables */
    --animation-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --animation-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===================================================================
   ENHANCED BODY & BASE STYLES
   =================================================================== */
body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-attachment: fixed;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(120, 219, 226, 0.3) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* ===================================================================
   STUNNING HEADER DESIGN
   =================================================================== */
.header {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--glass-shadow);
    transition: all 0.3s var(--animation-smooth);
}

.header:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.nav-container {
    position: relative;
    z-index: 1000;
}

.brand-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    font-size: 1.5rem;
    text-shadow: 0 0 20px rgba(102, 126, 234, 0.5);
}

.nav-link {
    position: relative;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s var(--animation-bounce);
    color: white;
    font-weight: 500;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-gradient);
    border-radius: 50px;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s var(--animation-bounce);
    z-index: -1;
}

.nav-link:hover::before,
.nav-link.active::before {
    opacity: 1;
    transform: scale(1);
}

.nav-link:hover,
.nav-link.active {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

/* ===================================================================
   GORGEOUS MAIN CONTENT STYLING
   =================================================================== */
.main-content {
    background: transparent;
    position: relative;
    z-index: 1;
    margin-top: var(--nav-height);
}

/* ===================================================================
   STUNNING HERO SECTIONS
   =================================================================== */
.hero-section,
.page-hero,
.legal-hero {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    margin: 2rem;
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s var(--animation-smooth);
}

.hero-section::before,
.page-hero::before,
.legal-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, rgba(255, 255, 255, 0.1), transparent 30%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

.hero-title,
.page-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.5);
    animation: glow 3s ease-in-out infinite alternate;
}

.hero-subtitle {
    display: block;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 400;
    margin-top: 1rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description,
.page-description {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 3rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* ===================================================================
   BEAUTIFUL CARD DESIGNS
   =================================================================== */
.feature-card,
.tech-card,
.contact-option,
.commitment-card,
.service-card,
.info-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 2.5rem;
    transition: all 0.4s var(--animation-bounce);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.feature-card::before,
.tech-card::before,
.contact-option::before,
.commitment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-gradient);
    opacity: 0;
    transition: all 0.4s var(--animation-smooth);
    z-index: -1;
}

.feature-card:hover,
.tech-card:hover,
.contact-option:hover,
.commitment-card:hover {
    transform: translateY(-15px) rotateX(5deg);
    box-shadow: var(--shadow-lift), var(--shadow-glow);
    color: white;
}

.feature-card:hover::before,
.tech-card:hover::before,
.contact-option:hover::before,
.commitment-card:hover::before {
    opacity: 0.9;
}

/* ===================================================================
   STUNNING ICONS
   =================================================================== */
.feature-icon,
.tech-icon,
.option-icon,
.commitment-icon,
.hero-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2rem;
    color: white;
    position: relative;
    transition: all 0.4s var(--animation-bounce);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.feature-icon::before,
.tech-icon::before,
.option-icon::before,
.commitment-icon::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: conic-gradient(#667eea, #764ba2, #667eea);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.4s var(--animation-smooth);
    z-index: -1;
}

.feature-card:hover .feature-icon,
.tech-card:hover .tech-icon,
.contact-option:hover .option-icon,
.commitment-card:hover .commitment-icon {
    transform: scale(1.2) rotateY(360deg);
    box-shadow: var(--shadow-glow);
}

.feature-card:hover .feature-icon::before,
.tech-card:hover .tech-icon::before,
.contact-option:hover .option-icon::before,
.commitment-card:hover .commitment-icon::before {
    opacity: 1;
    animation: rotate 2s linear infinite;
}

/* ===================================================================
   BEAUTIFUL BUTTONS
   =================================================================== */
.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--animation-bounce);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: all 0.6s var(--animation-smooth);
}

.btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.6);
}

.btn:hover::before {
    left: 100%;
}

/* ===================================================================
   STUNNING SECTIONS
   =================================================================== */
.features-section,
.technology-section,
.values-section,
.team-section,
.contact-options-section,
.legal-content {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border-radius: 30px;
    margin: 3rem 2rem;
    padding: 4rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    animation: fadeInUp 1s var(--animation-smooth);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

/* ===================================================================
   GORGEOUS GRIDS
   =================================================================== */
.features-grid,
.technology-grid,
.contact-options-grid,
.commitment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* ===================================================================
   BEAUTIFUL FORMS
   =================================================================== */
.contact-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-input,
.form-select,
.form-textarea {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 1rem 1.5rem;
    color: white;
    font-size: 1rem;
    transition: all 0.3s var(--animation-smooth);
    backdrop-filter: blur(10px);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: rgba(102, 126, 234, 0.8);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.4);
    transform: translateY(-2px);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-label {
    color: white;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* ===================================================================
   STUNNING FOOTER
   =================================================================== */
.footer {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 4rem;
    position: relative;
}

.footer-brand-link {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    font-size: 1.5rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s var(--animation-smooth);
    position: relative;
}

.footer-link::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: width 0.3s var(--animation-smooth);
}

.footer-link:hover {
    color: white;
    transform: translateX(5px);
}

.footer-link:hover::before {
    width: 100%;
}

/* ===================================================================
   SOCIAL LINKS STYLING
   =================================================================== */
.social-link {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.4s var(--animation-bounce);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-gradient);
    opacity: 0;
    transition: all 0.3s var(--animation-smooth);
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-glow);
}

.social-link:hover::before {
    opacity: 1;
}

.social-link:hover i {
    position: relative;
    z-index: 1;
}

/* ===================================================================
   BEAUTIFUL ANIMATIONS
   =================================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes glow {
    from {
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    }
    to {
        text-shadow: 0 0 30px rgba(255, 255, 255, 0.8), 0 0 40px rgba(102, 126, 234, 0.6);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* ===================================================================
   RESPONSIVE ENHANCEMENTS
   =================================================================== */
@media (max-width: 768px) {
    .hero-section,
    .page-hero,
    .legal-hero,
    .features-section,
    .technology-section {
        margin: 1rem;
        padding: 2rem 1rem;
    }
    
    .features-grid,
    .technology-grid,
    .contact-options-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card,
    .tech-card,
    .contact-option {
        padding: 1.5rem;
    }
}

/* ===================================================================
   SPECIAL EFFECTS
   =================================================================== */
.container {
    position: relative;
}

.container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s var(--animation-smooth);
}

.container:hover::before {
    opacity: 1;
}

/* ===================================================================
   LOADING ANIMATIONS
   =================================================================== */
.page-load-animation {
    animation: fadeInUp 0.8s var(--animation-smooth);
}

.stagger-animation > * {
    animation: fadeInUp 0.6s var(--animation-smooth);
    animation-fill-mode: both;
}

.stagger-animation > *:nth-child(1) { animation-delay: 0.1s; }
.stagger-animation > *:nth-child(2) { animation-delay: 0.2s; }
.stagger-animation > *:nth-child(3) { animation-delay: 0.3s; }
.stagger-animation > *:nth-child(4) { animation-delay: 0.4s; }

/* ===================================================================
   ENHANCED LEGAL PAGES STYLING
   =================================================================== */
.legal-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.legal-toc {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.legal-main {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.legal-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.section-number {
    color: var(--primary-color);
    font-weight: 800;
    margin-right: 1rem;
}

@media (max-width: 1024px) {
    .legal-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .legal-toc {
        position: static;
    }
}

/* ===================================================================
   BREADCRUMB STYLING
   =================================================================== */
.breadcrumb {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-block;
}

.breadcrumb-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
}

.breadcrumb-item {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.breadcrumb-item:not(:last-child)::after {
    content: '›';
    margin-left: 0.5rem;
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s var(--animation-smooth);
}

.breadcrumb-item a:hover {
    color: white;
}

.breadcrumb-item.active {
    color: white;
    font-weight: 500;
}
