/**
 * SAAS Deals Extension - Custom Styles
 * Custom CSS for enhancing Bootstrap 5 styles
 */

:root {
    --main-color: #EB2262;  /* Brand pink color */
    --secondary-background: #FEF4F7;
}

/* Typography */
h1, h2 {
    font-family: 'REM', sans-serif;
    font-weight: 600;
}

/* General Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Text Colors */
.text-main {
    color: var(--main-color) !important;
}

/* Override Bootstrap bg-primary */
.bg-primary {
    background-color: var(--main-color) !important;
}

/* Navigation */
.navbar {
    padding: 2rem 0;
    background: transparent;
    width: 100%;
}

.navbar-brand img {
    max-height: 40px;
}

.logo-text {
    font-family: 'REM', sans-serif;
    font-weight: 600;
    font-style: italic;
    font-size: 2rem;
    letter-spacing: -0.5px;
    color: #333;
}

.tagline {
    font-weight: 600;
    font-size: 0.9rem;
    color: #666;
}

/* Navigation Dot Separator */
.separator-dot {
    color: var(--main-color);
    opacity: 0.6;
    font-size: 1.5rem;
    line-height: 1;
    vertical-align: middle;
}

/* Button Styles */
.btn-cta {
    background-color: var(--main-color);
    border-color: var(--main-color);
    color: #fff;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-cta:hover,
.btn-cta:focus {
    background-color: #d41e57;
    border-color: #d41e57;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.hero {
    min-height: calc(100vh - 122px);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero .subtitle {
    color: var(--main-color);
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 3rem;
    line-height: 1.2;
}

/* Platform Logos */
.platforms {
    background: var(--secondary-background);
}
.platform-logos {
    padding: 2rem 0;
}

.platform-logo {
    max-height: 45px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    width: auto;
}

.platform-logo:hover {
    opacity: 1;
}

/* Platform Swiper for Mobile */
.platform-logos-mobile {
    padding: 1rem 0;
    position: relative;
}

.platform-swiper {
    width: 100%;
    margin: 0 auto;
}

.swiper-wrapper {
    align-items: center;
}

.platform-swiper .swiper-slide {
    text-align: center;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
}

/* Swiper Pagination */
.platform-swiper .swiper-pagination {
    position: relative;
    bottom: auto;
    left: auto;
    margin-top: 2rem;
}

.platform-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    margin: 0 6px;
    background: var(--main-color);
    opacity: 0.3;
    transition: all 0.3s ease;
    cursor: pointer;
}

.platform-swiper .swiper-pagination-bullet:hover {
    opacity: 0.7;
}

.platform-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    transform: scale(1.2);
}

@media (max-width: 1199.98px) {
    .platform-logo {
        max-height: 45px;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .hero .subtitle {
        font-size: 1rem;
    }
}

/* Why Section */
.why-section {
    background-color: #f8f9fa;
}

.pronunciation {
    font-family: monospace;
    font-size: 1.2rem;
    color: #333;
}

.definition-card {
    background: #fff;
    padding: 2rem;
    border-radius: 1rem;
    height: 100%;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
}

.definition-number {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--main-color);
}

.number-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: var(--main-color);
    color: white;
    border-radius: 50%;
    font-size: 0.9rem;
    margin-left: 0.5rem;
    font-weight: bold;
}

.definition-explanation {
    color: #666;
    line-height: 1.6;
}

.definition-explanation::before {
    content: "→";
    color: var(--main-color);
    margin-right: 0.5rem;
    font-weight: bold;
}

.rocket {
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

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

/* Features Section */
.feature-icon {
    font-size: 2rem;
    color: #0d6efd;
}

.card {
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

/* Step Numbers */
.step-number {
    color: var(--main-color);
    display: inline-block;
    margin-right: 0.5rem;
    font-weight: 600;
}

/* Underline Effect */
.underline {
    position: relative;
}

.underline:before {
    background: var(--main-color);
    bottom: 4px;
    content: "";
    height: 6px;
    left: 0;
    position: absolute;
    right: 0;
    opacity: 0.5;
}

/* Utility Classes */
.py-cta-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

/* Footer */
.footer {
    font-size: 0.9rem;
}

.footer a {
    color: #6c757d;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer a:hover {
    color: #0d6efd;
    opacity: 1 !important;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero {
        padding-top: 0;
        text-align: center;
    }
    
    .platform-logo {
        max-height: 40px;
    }
}
