/* Base Styles & Reset */
:root {
    --dark-navy: #1A1A2E;
    --navy: #16213E;
    --blue: #0F3460;
    --red: #E94560;
    --white: #ffffff;
    --gray: #a3a3a3;
    --light-gray: #f0f0f0;
    --gradient: linear-gradient(135deg, var(--red) 0%, var(--blue) 100%);
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.2);
    --glow: 0 0 20px rgba(233, 69, 96, 0.6);
    --border-radius: 8px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--white);
    background-color: var(--dark-navy);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Layout Structure - Unique Side Navigation Layout */
.main-container {
    display: flex;
    min-height: 100vh;
}

.side-nav {
    width: 250px;
    background-color: var(--navy);
    padding: 30px 20px;
    position: fixed;
    height: 100vh;
    z-index: 100;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.content {
    flex: 1;
    margin-left: 250px;
    overflow-x: hidden;
}

@media (max-width: 992px) {
    .side-nav {
        transform: translateX(-100%);
        width: 240px;
    }
    
    .side-nav.active {
        transform: translateX(0);
        box-shadow: var(--shadow-lg);
    }
    
    .content {
        margin-left: 0;
    }
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--white);
}

h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    line-height: 1.1;
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 30px;
    text-align: center;
}

h2 span {
    color: var(--red);
}

h3 {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
}

p {
    margin-bottom: 20px;
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: rgba(255, 255, 255, 0.8);
}

a {
    text-decoration: none;
    color: var(--white);
    transition: all 0.3s ease;
}

/* Section Styling */
section {
    padding: 100px 5%;
    position: relative;
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

/* Navigation */
.nav-logo {
    display: flex;
    align-items: center;
    margin-bottom: 50px;
}

.logo-svg {
    margin-right: 15px;
}

.nav-logo span {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    white-space: nowrap;
}

.nav-links {
    flex: 1;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-links li {
    margin-bottom: 10px;
}

.nav-links a {
    display: block;
    padding: 12px 15px;
    border-radius: var(--border-radius);
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    background-color: rgba(233, 69, 96, 0.15);
    color: var(--red);
}

.nav-links a.active {
    background-color: rgba(233, 69, 96, 0.2);
    color: var(--red);
    font-weight: 600;
}

.nav-links a.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background-color: var(--red);
    border-radius: 0 4px 4px 0;
}

.nav-cta {
    margin-top: 40px;
}

.nav-cta .btn {
    width: 100%;
    text-align: center;
}

.mobile-toggle {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    width: 40px;
    height: 40px;
    background: var(--navy);
    border-radius: 4px;
    cursor: pointer;
    z-index: 110;
    padding: 10px;
}

.mobile-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--white);
    margin: 4px 0;
    transition: all 0.3s ease;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 992px) {
    .mobile-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--red);
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    border: 2px solid var(--red);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--red);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-glow {
    background-color: var(--red);
    color: var(--white);
    box-shadow: var(--glow);
    animation: pulse 2s infinite;
}

.btn-glow:hover {
    transform: translateY(-3px) scale(1.05);
}

.btn-xl {
    padding: 15px 40px;
    font-size: 1.1rem;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(233, 69, 96, 0.6);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(233, 69, 96, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(233, 69, 96, 0);
    }
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 0;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(22, 33, 62, 0.95) 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(233, 69, 96, 0.1), transparent 60%);
    z-index: 0;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(15, 52, 96, 0.3), transparent 70%);
    z-index: 0;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    position: relative;
    z-index: 1;
    padding-right: 50px;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.visual-container {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

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

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        padding-top: 100px;
        text-align: center;
    }
    
    .hero-content {
        padding-right: 0;
        padding-bottom: 40px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
}

/* Features Section */
.features-section {
    background-color: var(--navy);
    position: relative;
    z-index: 1;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: rgba(15, 52, 96, 0.5);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: rgba(233, 69, 96, 0.3);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--red);
}

.feature-card p {
    font-size: 0.95rem;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.7);
}

/* Gallery Section */
.gallery-section {
    background-color: var(--dark-navy);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(to top, rgba(15, 52, 96, 0.9), transparent);
    text-align: center;
}

.gallery-overlay span {
    font-weight: 600;
    font-size: 0.9rem;
}

.gallery-cta {
    text-align: center;
    margin-top: 40px;
}

/* How It Works Section */
.how-section {
    background-color: var(--navy);
    position: relative;
    overflow: hidden;
}

.how-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(233, 69, 96, 0.2), transparent 70%);
}

.steps-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.steps-container::after {
    content: '';
    position: absolute;
    top: 30px;
    left: 25px;
    width: 2px;
    height: calc(100% - 60px);
    background-color: rgba(233, 69, 96, 0.3);
    z-index: 0;
}

.step-item {
    display: flex;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.step-item:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--red);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    margin-right: 25px;
    flex-shrink: 0;
    box-shadow: var(--glow);
}

.step-content {
    flex: 1;
}

.step-content h3 {
    margin-bottom: 10px;
    color: var(--white);
}

.step-content p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

@media (max-width: 576px) {
    .steps-container::after {
        left: 20px;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        margin-right: 20px;
    }
}

/* Pricing Section */
.pricing-section {
    background-color: var(--dark-navy);
    position: relative;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.pricing-card {
    background-color: rgba(15, 52, 96, 0.3);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.card-header {
    padding: 30px 25px;
    text-align: center;
    position: relative;
    background-color: rgba(15, 52, 96, 0.6);
}

.premium .card-header {
    background: linear-gradient(135deg, rgba(233, 69, 96, 0.2), rgba(15, 52, 96, 0.6));
}

.most-popular {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--red);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.card-header h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--white);
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.price span {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.7;
}

.card-header p {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 0;
}

.features-list {
    list-style: none;
    padding: 30px 25px;
}

.features-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.95rem;
    position: relative;
    padding-left: 25px;
    color: rgba(255, 255, 255, 0.8);
}

.features-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--red);
    font-weight: 700;
}

.features-list li:last-child {
    border-bottom: none;
}

.pricing-card .btn {
    display: block;
    margin: 0 25px 25px;
}

.premium {
    transform: scale(1.05);
    z-index: 2;
    box-shadow: var(--shadow-md);
}

.premium .btn-glow {
    box-shadow: var(--glow);
}

@media (max-width: 992px) {
    .premium {
        transform: scale(1);
    }
}

/* Testimonials Section */
.testimonials-section {
    background-color: var(--navy);
    position: relative;
}

.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: rgba(15, 52, 96, 0.5);
    padding: 25px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: rgba(233, 69, 96, 0.3);
}

.rating {
    color: gold;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 15px;
}

.user {
    font-weight: 600;
    color: var(--white);
}

/* Final CTA Section */
.final-cta {
    background: linear-gradient(135deg, var(--red) 0%, var(--blue) 100%);
    text-align: center;
    padding: 80px 5%;
}

.final-cta h2 {
    margin-bottom: 15px;
    color: var(--white);
}

.final-cta p {
    max-width: 700px;
    margin: 0 auto 30px;
    color: rgba(255, 255, 255, 0.9);
}

/* Footer */
footer {
    background-color: var(--dark-navy);
    padding: 70px 5% 30px;
    margin-left: 250px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo span {
    margin-left: 10px;
    font-weight: 600;
    font-size: 1.2rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
}

.link-group h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.link-group ul {
    list-style: none;
}

.link-group li {
    margin-bottom: 12px;
}

.link-group a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.link-group a:hover {
    color: var(--red);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0;
}

@media (max-width: 992px) {
    footer {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
    }
    
    .footer-links {
        margin-top: 30px;
        gap: 30px;
    }
    
    .link-group {
        width: 100%;
    }
}

/* Responsive Design Additional Fixes */
@media (max-width: 576px) {
    section {
        padding: 80px 5%;
    }
    
    .hero-section {
        padding-top: 80px;
        padding-bottom: 60px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.7rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .btn-xl {
        padding: 12px 30px;
        font-size: 1rem;
    }
}
