/* Import modern fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* Global Styles */
:root {
    --primary-dark: #0F163E;
    --primary-orange: #F59830;
    --accent-red: #FF5252;
    --text-light: #FFFFFF;
    --text-dark: #333333;
    --text-primary-light: #0A0E2E;
    --text-secondary-light: #2A2F4F;
    --text-primary-dark: #FFFFFF;
    --text-secondary-dark: rgba(255, 255, 255, 0.92);
    --accent-orange: #F59830;
    --accent-orange-light: #FFB164;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--primary-dark);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark p,
.section-orange h1,
.section-orange h2,
.section-orange h3,
.section-orange p {
    color: var(--text-light);
}

/* Base button styles */
.button,
button,
.btn,
.cta-button,
.get-started-btn,
a[href*="get-started"],
a[href*="apple.com"] {
    color: #FFFFFF;
    background-color: var(--accent-orange);
    border: 2px solid var(--accent-orange);
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    text-align: center;
    box-shadow: 0 4px 15px rgba(245, 152, 48, 0.2);
}

/* Button hover states */
.button:hover,
button:hover,
.btn:hover,
.cta-button:hover,
.get-started-btn:hover,
a[href*="get-started"]:hover,
a[href*="apple.com"]:hover {
    background-color: var(--accent-orange);
    border-color: var(--accent-orange);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 152, 48, 0.3);
}

/* Hero section buttons */
.hero .button,
.hero button,
.hero .btn,
.hero .cta-button,
.hero .get-started-btn,
.hero a[href*="get-started"],
.hero a[href*="apple.com"] {
    padding: 16px 36px;
    font-size: 20px;
    margin-top: 20px;
    min-width: 200px;
    color: #FFFFFF;
    border-color: var(--accent-orange);
}

/* Secondary buttons */
.button.secondary,
.btn.secondary {
    background-color: transparent;
    border: 2px solid #FFFFFF;
    color: #FFFFFF;
}

.button.secondary:hover,
.btn.secondary:hover {
    background-color: #FFFFFF;
    color: var(--primary-dark);
    border-color: #FFFFFF;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .button,
    button,
    .btn,
    .cta-button,
    .get-started-btn,
    a[href*="get-started"],
    a[href*="apple.com"] {
        padding: 12px 28px;
        font-size: 16px;
    }
    
    .hero .button,
    .hero button,
    .hero .btn,
    .hero .cta-button,
    .hero .get-started-btn,
    .hero a[href*="get-started"],
    .hero a[href*="apple.com"] {
        padding: 14px 32px;
        font-size: 18px;
        min-width: 180px;
    }
}

/* Price card buttons */
.price-card .cta-button {
    width: 100%;
    margin-top: 20px;
    color: #FFFFFF;
    background-color: var(--accent-orange);
    border: 2px solid var(--accent-orange);
}

.price-card .cta-button:hover {
    background-color: transparent;
    color: var(--accent-orange);
}

/* Navigation buttons */
.navbar .cta-button {
    color: #FFFFFF;
    background-color: var(--accent-orange);
    border: 2px solid var(--accent-orange);
    padding: 8px 20px;
    font-size: 15px;
}

.navbar .cta-button:hover {
    background-color: transparent;
    color: var(--accent-orange);
}

/* Form buttons */
button[type="submit"] {
    color: #FFFFFF;
    background-color: var(--accent-orange);
    border: 2px solid var(--accent-orange);
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    cursor: pointer;
}

button[type="submit"]:hover {
    background-color: transparent;
    color: var(--accent-orange);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 152, 48, 0.25);
}

/* Get Started button */
.get-started-btn,
.download-btn {
    color: #FFFFFF;
    background-color: var(--accent-orange);
    border: 2px solid var(--accent-orange);
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    text-align: center;
    box-shadow: 0 4px 15px rgba(245, 152, 48, 0.2);
}

.get-started-btn:hover,
.download-btn:hover {
    background-color: var(--accent-orange);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 152, 48, 0.3);
}

/* Hero section specific styling */
.hero .get-started-btn,
.hero .download-btn {
    font-size: 20px;
    padding: 16px 36px;
    margin-top: 20px;
    min-width: 200px;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .get-started-btn,
    .download-btn {
        padding: 12px 28px;
        font-size: 16px;
    }
    
    .hero .get-started-btn,
    .hero .download-btn {
        font-size: 18px;
        padding: 14px 32px;
        min-width: 180px;
    }
}

/* Section Styles */
.section-dark {
    background: var(--primary-dark);
    position: relative;
    padding: 6rem 0;
    color: var(--text-light);
}

.section-dark h1, 
.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark p,
.section-dark span {
    color: var(--text-light);
}

.section-dark p {
    opacity: 0.92;
}

.section-dark .price {
    color: var(--text-light);
}

.section-dark .price-amount {
    color: var(--text-light);
}

.section-dark .price-period {
    color: var(--text-light);
    opacity: 0.8;
}

.section-dark .feature-list {
    color: var(--text-light);
}

.section-dark .feature-item {
    color: var(--text-light);
    opacity: 0.92;
}

/* Ensure buttons and interactive elements are visible */
.section-dark .cta-button {
    color: #FFFFFF;
    border-color: #FFFFFF;
    background: transparent;
}

.section-dark .cta-button:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Add subtle text shadows for better readability on dark backgrounds */
.section-dark h1,
.section-dark h2 {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.section-light {
    background: var(--text-light);
    position: relative;
    padding: 6rem 0;
    color: var(--text-primary-light);
}

.section-light h1,
.section-light h2 {
    color: var(--text-primary-light);
    text-shadow: 0 2px 4px rgba(10, 14, 46, 0.08);
    letter-spacing: -0.02em;
}

.section-light h3,
.section-light h4 {
    color: var(--accent-orange);
}

.section-light p {
    color: var(--text-secondary-light);
    line-height: 1.6;
}

.section-orange {
    background: linear-gradient(135deg, var(--primary-orange) 0%, #FF7B35 100%);
    position: relative;
    padding: 6rem 0;
    color: var(--text-primary-dark);
}

.section-orange h1,
.section-orange h2 {
    color: var(--text-primary-dark);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    letter-spacing: -0.02em;
}

.section-orange p {
    color: var(--text-secondary-dark);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    line-height: 1.6;
}

.content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* Pan Animation */
.pan-animation {
    position: relative;
    overflow: hidden;
}

.pan-animation::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 50%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.section-image {
    max-width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.section-image:hover {
    transform: scale(1.05);
}

/* Text Styles */
.text-content {
    flex: 1;
    color: var(--text-light);
}

.text-content h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.text-content h2,
.text-content h3,
.text-content h4,
.text-content p {
    color: var(--text-light);
}

.text-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.section-dark .text-content p,
.section-orange .text-content p {
    color: var(--text-light);
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* Hero Section */
.section-dark.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(15, 22, 62, 0.8), rgba(15, 22, 62, 0.9)),
                url('../images/heroLayout.png') center/cover;
    background-size: cover;
    background-position: center;
    margin-top: 70px;
    padding: 0;
}

.hero .content {
    flex-direction: column;
    text-align: center;
    padding: 0 20px;
}

.hero .text-content {
    max-width: 800px;
    text-align: center;
}

.hero h1 {
    font-size: 56px;
    line-height: 1.2;
    margin-bottom: 30px;
    color: var(--text-light);
}

.section-dark.hero .text-content p {
    color: var(--text-light);
    opacity: 0.9;
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Header Styles */
header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: var(--primary-dark);
    color: var(--text-light);
}

header * {
    background-color: var(--primary-dark);
    color: var(--text-light);
}

.mobile-header {
    display: none;
    padding: 15px 20px;
    align-items: center;
    gap: 15px;
}

.menu-toggle {
    position: relative;
    width: 30px;
    height: 30px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle .bar {
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--text-light);
    margin: 6px 0;
    transition: 0.4s;
    position: absolute;
}

.menu-toggle .bar:nth-child(1) {
    top: 5px;
}

.menu-toggle .bar:nth-child(2) {
    top: 15px;
}

.menu-toggle .bar:nth-child(3) {
    top: 25px;
}

.menu-toggle.active .bar:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

.mobile-logo {
    display: flex;
    align-items: center;
}

.mobile-logo img {
    height: 40px;
    width: auto;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 48px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-left ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 32px;
}

.nav-stack ul li a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s ease;
    padding: 8px 0;
}

.nav-stack ul li a:hover,
.nav-stack ul li a.active {
    color: var(--primary-orange);
}

.nav-right {
    display: flex;
    align-items: center;
}

.auth-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.auth-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
}

.auth-links a:hover {
    color: var(--primary-orange);
}

.auth-links a.sign-up {
    background: var(--primary-orange);
    padding: 8px 16px;
    border-radius: 4px;
}

.auth-links a.sign-up:hover {
    background: #e08620;
    color: var(--text-light);
}

.nav-stack {
    background-color: var(--primary-dark);
    color: var(--text-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    max-width: 1440px;
    margin: 0 auto;
}

.nav-stack * {
    background-color: var(--primary-dark);
    color: var(--text-light);
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: -280px;
    height: 100vh;
    width: 280px;
    background-color: var(--primary-dark);
    padding: 80px 20px 20px;
    box-shadow: 2px 0 5px rgba(0,0,0,0.2);
    transition: left 0.3s ease-in-out;
    z-index: 1000;
}

.mobile-nav.active {
    left: 0;
    display: block;
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav ul li {
    margin-bottom: 15px;
}

.mobile-nav ul li a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-nav ul li a:hover,
.mobile-nav ul li a.active {
    color: var(--primary-orange);
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}

.mobile-nav.active + .menu-overlay {
    display: block;
}

@media (max-width: 768px) {
    .nav-stack {
        display: none;
    }

    .mobile-header {
        display: flex;
        background-color: var(--primary-dark);
    }

    .menu-toggle {
        display: block;
    }
}

@media (min-width: 769px) {
    .mobile-header {
        display: none;
    }

    .nav-stack {
        display: flex;
    }
}

/* Title Styling */
.text-content h1, 
.section-title {
    font-family: 'Outfit', sans-serif;
}

/* Description Styling */
.text-content p,
.section-description {
    font-family: 'Inter', sans-serif;
    max-width: 70%;
}

/* Hero Section */
.section-dark.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(15, 22, 62, 0.8), rgba(15, 22, 62, 0.9)),
                url('../images/heroLayout.png') center/cover;
    background-size: cover;
    background-position: center;
    margin-top: 70px;
    padding: 0;
}

.hero .content {
    flex-direction: column;
    text-align: center;
    padding: 0 20px;
}

.hero .text-content {
    max-width: 800px;
    text-align: center;
}

.hero h1 {
    font-size: 56px;
    line-height: 1.2;
    margin-bottom: 30px;
    color: var(--text-light);
}

.section-dark.hero .text-content p {
    color: var(--text-light);
    opacity: 0.9;
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Button Styles */
.hero .cta-button,
.hero a[href*="apple.com"] {
    color: #FFFFFF;
    background-color: var(--accent-orange);
    border: none;
    padding: 16px 36px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 20px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    text-align: center;
    box-shadow: 0 4px 15px rgba(245, 152, 48, 0.2);
    margin-top: 20px;
    min-width: 200px;
}

.hero .cta-button:hover,
.hero a[href*="apple.com"]:hover {
    background-color: var(--accent-orange);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 152, 48, 0.3);
}

/* Regular CTA buttons outside hero */
.cta-button {
    color: #FFFFFF;
    background-color: var(--accent-orange);
    border: none;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    text-align: center;
    box-shadow: 0 4px 15px rgba(245, 152, 48, 0.2);
}

.cta-button:hover {
    background-color: var(--accent-orange);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 152, 48, 0.3);
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .hero .cta-button,
    .hero a[href*="apple.com"] {
        padding: 14px 32px;
        font-size: 18px;
        min-width: 180px;
    }
    
    .cta-button {
        padding: 12px 28px;
        font-size: 16px;
    }
}

/* Section Styles Update */
.section-light, .section-orange {
    padding: 100px 50px;
}

.section-light .content, .section-orange .content {
    gap: 60px;
}

.text-content h1 {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.text-content p {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 30px;
}

/* Orange section specific styles */
.section-orange .text-content p {
    color: var(--text-light);
}

/* Pan Animation */
.pan-animation {
    position: relative;
    overflow: hidden;
}

.pan-animation img.section-image {
    max-width: 40%;
    height: auto;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 0.5s ease;
}

/* Specific styling for images in the .section-dark class */
.section-dark img.section-image {
    max-width: 30%; /* Adjust as needed */
    height: auto;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 0.5s ease;
}

.pan-animation:hover img.section-image {
    transform: scale(1.3);
}

/* Section Styles */
.section-dark {
    background-color: var(--primary-dark);
}

.section-orange {
    background-color: var(--primary-orange);
}

.section-light {
    background-color: var(--text-light);
}

.content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.text-content {
    max-width: 600px;
    color: var(--text-light);
}

.text-content button {
    background-color: var(--primary-orange); 
    color: #FFFFFF;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
}

.shadow-box {
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    background-color: var(--text-light);
}

/* Footer Styles */
footer {
    background-color: var(--primary-dark);
    color: var(--text-light);
    text-align: center;
    padding: 20px 30px;
}

footer a {
    text-decoration: underline;
    margin: 0 10px;
}

footer .socials {
    display: flex;
    justify-content: center; /* Center social icons horizontally */
    margin-top: 10px; /* Space between other footer elements and social icons */
    max-height: 20px;
}

footer .socials a {
    margin: 0 10px; /* Space between social icons */
    color: var(--text-light); /* Color of social icons */
    font-size: 24px; /* Size of social icons */
    text-decoration: none; /* Remove underline from links */
}

.content {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Adjust based on layout preference */
    gap: 20px;
}

.socials {
    list-style: flex;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
}

.socials li {
    margin-left: 15px;
}

.socials a {
    color: var(--text-light);
    text-decoration: none;
}

/* Mobile-specific adjustments */
@media (max-width: 768px) {
    .text-content {
        text-align: center; /* Center align text on mobile */
        padding: 10px; /* Adjust padding for mobile if needed */
    }

    .text-content h1 {
        font-size: 24px; /* Adjust header size for mobile */
        margin-bottom: 10px; /* Space between h1 and p */
    }

    .text-content p {
        font-size: 18px; /* Adjust font size for mobile */
        margin: 0 auto; /* Center paragraph block */
        max-width: 90%; /* Ensure the paragraph does not stretch too wide */
    }
}

@media (max-width: 768px) {
    .section-image {
        width: 80%; /* Adjust width for smaller screens */
        max-width: 100%;
        transform: scale(1.1); /* Adjust scaling for smaller screens */
        transition: transform 0.5s ease;
    }

    .section-dark img.section-image {
        max-height: 30% !important; /* Adjust max-width for section-dark images on smaller screens */
        height: auto;
        object-fit: cover;
        transform: scale(1.1); /* Adjust scaling for section-dark images on smaller screens */
        transition: transform 0.5s ease;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    header .nav-stack {
        display: none;
    }

    .content {
        flex-direction: column;
        text-align: center;
    }

    .content img.section-image {
        max-width: 80%;
        margin-bottom: 20px;
    }

    .text-content h1 {
        font-size: 28px;
    }

    .text-content p {
        font-size: 20px;
    }

    .text-content button {
        width: 80%;
        background-color: var(--primary-orange);
    }
}

.page-content {
    position: relative;
    min-height: 100vh;
}

/* Path stays at the very back */
.running-path {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.running-path path {
    stroke-dasharray: 4000;
    stroke-dashoffset: 4000;
    animation: drawPath 4s ease-out forwards;
}

/* Section-specific path colors */
.section-dark .running-path path {
    stroke: #F59830;
    opacity: 0.6;
}

.section-light .running-path path {
    stroke: #0A0E2E;
    opacity: 0.4;
}

.section-orange .running-path path {
    stroke: #FFFFFF;
    opacity: 0.6;
}

.runner-dot {
    fill: #F59830;
    filter: drop-shadow(0 0 3px rgba(245, 152, 48, 0.6));
}

.section-light .runner-dot {
    fill: #0A0E2E;
    filter: drop-shadow(0 0 3px rgba(10, 14, 46, 0.6));
}

.section-orange .runner-dot {
    fill: #FFFFFF;
    filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.6));
}

@keyframes drawPath {
    to {
        stroke-dashoffset: 0;
    }
}

/* Content layers */
.section-dark,
.section-light,
.section-orange {
    position: relative;
    z-index: 1;
    background-color: var(--bg-color);
}

/* All content stays above the path */
header,
.content,
.text-content,
.section-image,
footer {
    position: relative;
    z-index: 2;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 20s infinite;
}

.shape:nth-child(1) {
    width: 300px;
    height: 300px;
    top: -150px;
    left: -150px;
    animation-delay: -5s;
}

.shape:nth-child(2) {
    width: 200px;
    height: 200px;
    top: 50%;
    right: -100px;
    animation-delay: -10s;
}

.shape:nth-child(3) {
    width: 150px;
    height: 150px;
    bottom: -75px;
    left: 50%;
    animation-delay: -15s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(50px, 50px) rotate(90deg);
    }
    50% {
        transform: translate(0, 100px) rotate(180deg);
    }
    75% {
        transform: translate(-50px, 50px) rotate(270deg);
    }
}

.content {
    position: relative;
    z-index: 1;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--accent-red) 100%);
    color: #FFFFFF;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.btn:hover::before {
    left: 100%;
}

/* Section Styles */
.section-dark {
    background: var(--primary-dark);
    position: relative;
    padding: 6rem 0;
}

.section-dark.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(15, 22, 62, 0.7), rgba(15, 22, 62, 0.7)),
                url('../images/heroLayout.png') center/cover;
}

.section-orange {
    background: var(--primary-orange);
    position: relative;
    padding: 6rem 0;
}

.content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Card Styles */
.card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    transition: transform 0.3s ease;
}

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

/* Footer Styles */
footer {
    background-color: var(--primary-dark);
    color: var(--text-light);
    text-align: center;
    padding: 20px 30px;
}

footer a {
    text-decoration: underline;
    margin: 0 10px;
}

footer .socials {
    display: flex;
    justify-content: center; /* Center social icons horizontally */
    margin-top: 10px; /* Space between other footer elements and social icons */
    max-height: 20px;
}

footer .socials a {
    margin: 0 10px; /* Space between social icons */
    color: var(--text-light); /* Color of social icons */
    font-size: 24px; /* Size of social icons */
    text-decoration: none; /* Remove underline from links */
}

.content {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Adjust based on layout preference */
    gap: 20px;
}

.socials {
    list-style: flex;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
}

.socials li {
    margin-left: 15px;
}

.socials a {
    color: var(--text-light);
    text-decoration: none;
}

/* Mobile-specific adjustments */
@media (max-width: 768px) {
    .text-content {
        text-align: center; /* Center align text on mobile */
        padding: 10px; /* Adjust padding for mobile if needed */
    }

    .text-content h1 {
        font-size: 24px; /* Adjust header size for mobile */
        margin-bottom: 10px; /* Space between h1 and p */
    }

    .text-content p {
        font-size: 18px; /* Adjust font size for mobile */
        margin: 0 auto; /* Center paragraph block */
        max-width: 90%; /* Ensure the paragraph does not stretch too wide */
    }
}

@media (max-width: 768px) {
    .section-image {
        width: 80%; /* Adjust width for smaller screens */
        max-width: 100%;
        transform: scale(1.1); /* Adjust scaling for smaller screens */
        transition: transform 0.5s ease;
    }

    .section-dark img.section-image {
        max-height: 30% !important; /* Adjust max-width for section-dark images on smaller screens */
        height: auto;
        object-fit: cover;
        transform: scale(1.1); /* Adjust scaling for section-dark images on smaller screens */
        transition: transform 0.5s ease;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    header .nav-stack {
        display: none;
    }

    .content {
        flex-direction: column;
        text-align: center;
    }

    .content img.section-image {
        max-width: 80%;
        margin-bottom: 20px;
    }

    .text-content h1 {
        font-size: 28px;
    }

    .text-content p {
        font-size: 20px;
    }

    .text-content button {
        width: 80%;
        background-color: var(--primary-orange);
    }
}

/* Section-specific text colors */
.section-dark {
    color: #FFFFFF;
}

.section-dark h1 {
    color: #FFFFFF;
}

.section-dark p {
    color: rgba(255, 255, 255, 0.9);
}

.section-light {
    color: #0A0E2E;
}

.section-light h1 {
    color: #0A0E2E;
}

.section-light p {
    color: #333333;
}

.section-orange {
    color: #FFFFFF;
}

.section-orange h1 {
    color: #FFFFFF;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.section-orange p {
    color: rgba(255, 255, 255, 0.9);
}

/* Add subtle text shadows for better readability */
.section-dark h1,
.section-orange h1 {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.section-light h1 {
    text-shadow: 0 2px 4px rgba(10, 14, 46, 0.1);
}

/* Ensure CTA buttons are visible */
.section-dark .cta-button,
.section-orange .cta-button {
    color: #FFFFFF;
    border-color: #FFFFFF;
}

.section-light .cta-button {
    color: #0A0E2E;
    border-color: #0A0E2E;
}

/* Interactive elements */
.section-dark .cta-button,
.section-orange .cta-button {
    color: var(--text-primary-dark);
    border: 2px solid var(--text-primary-dark);
    background: transparent;
    transition: all 0.3s ease;
}

.section-dark .cta-button:hover,
.section-orange .cta-button:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.section-light .cta-button {
    color: rgba(255, 255, 255, 0.92);
    border: 2px solid #ff7b35;
    background: transparent;
    transition: all 0.3s ease;
}

.section-light .cta-button:hover {
    background: rgba(10, 14, 46, 0.05);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(10, 14, 46, 0.1);
}

/* Links styling */
.section-dark a:not(.cta-button),
.section-orange a:not(.cta-button) {
    color: var(--accent-orange-light);
    text-decoration: none;
    transition: all 0.2s ease;
}

.section-light a:not(.cta-button) {
    color: var(--accent-orange);
    text-decoration: none;
    transition: all 0.2s ease;
}

a:not(.cta-button):hover {
    opacity: 0.85;
    text-decoration: underline;
}

/* Base text colors for transparent sections */
.text-content {
    color: var(--text-light);
}

.text-content h1,
.text-content h2,
.text-content h3,
.text-content h4,
.text-content p {
    color: var(--text-light);
}

/* Price cards with transparent backgrounds */
.price-card {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

.price-card h3,
.price-card .price,
.price-card .price-amount,
.price-card .price-period,
.price-card .feature-list,
.price-card .feature-item {
    color: var(--text-light);
}

/* Navigation and header text */
.navbar {
    background: transparent;
}

.navbar .nav-link,
.navbar .navbar-brand {
    color: var(--text-light);
}

.navbar .nav-link:hover {
    color: var(--accent-orange);
}

/* Hero section text */
.hero-content {
    color: var(--text-light);
}

.hero-content h1,
.hero-content h2,
.hero-content p {
    color: var(--text-light);
}

/* Feature cards with transparent backgrounds */
.feature-card {
    background: rgba(255, 255, 255, 0.1);
}

.feature-card h3,
.feature-card p {
    color: var(--text-light);
}

/* Testimonial sections */
.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
}

.testimonial-card p,
.testimonial-card .author,
.testimonial-card .position {
    color: var(--text-light);
}

/* Footer with transparent background */
footer {
    background: transparent;
    color: var(--text-light);
}

footer h4,
footer p,
footer a {
    color: var(--text-light);
}

footer a:hover {
    color: var(--accent-orange);
}

/* Call to action sections */
.cta-section {
    background: transparent;
}

.cta-section h2,
.cta-section p {
    color: var(--text-light);
}

/* Form elements on dark backgrounds */
input,
textarea,
select {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

input::placeholder,
textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* Primary action buttons */
.cta-button,
.get-started-btn,
a[href*="get-started"] {
    color: #FFFFFF;
    background-color: var(--accent-orange);
    border: none;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    text-align: center;
    box-shadow: 0 4px 15px rgba(245, 152, 48, 0.2);
}

.cta-button:hover,
.get-started-btn:hover,
a[href*="get-started"]:hover {
    background-color: var(--accent-orange);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 152, 48, 0.3);
}

/* Hero section buttons */
.hero .cta-button,
.hero .get-started-btn,
.hero a[href*="get-started"] {
    padding: 16px 36px;
    font-size: 20px;
    margin-top: 20px;
    min-width: 200px;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .cta-button,
    .get-started-btn,
    a[href*="get-started"] {
        padding: 12px 28px;
        font-size: 16px;
    }
    
    .hero .cta-button,
    .hero .get-started-btn,
    .hero a[href*="get-started"] {
        padding: 14px 32px;
        font-size: 18px;
        min-width: 180px;
    }
}

/* Animated Metrics Overlay Styles */
.metrics-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    pointer-events: none;
    overflow: hidden;
}

.metrics-container {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 120px;
    transform: translateY(-50%);
    background: linear-gradient(90deg, 
        rgba(10, 14, 46, 0.8) 0%,
        rgba(10, 14, 46, 0.6) 50%,
        rgba(10, 14, 46, 0.4) 100%
    );
    display: flex;
    align-items: center;
}

.heart-rate-icon {
    position: absolute;
    left: 20px;
    width: 40px;
    height: 40px;
    background: var(--accent-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 1.5s infinite;
}

.metrics-graph {
    position: relative;
    width: calc(100% - 80px);
    height: 80px;
    margin-left: 80px;
    display: flex;
    align-items: center;
}

.graph-line {
    position: absolute;
    width: 100%;
    height: 2px;
    background: rgba(245, 152, 48, 0.3);
}

.graph-line.heart-rate {
    top: 20%;
    animation: graphMove 15s linear infinite;
}

.graph-line.elevation {
    top: 50%;
    animation: graphMove 20s linear infinite;
}

.graph-line.pace {
    top: 80%;
    animation: graphMove 18s linear infinite;
}

.metric-label {
    position: absolute;
    left: -60px;
    font-size: 12px;
    color: #FFFFFF;
    opacity: 0.8;
}

.heart-rate .metric-label { top: 20%; }
.elevation .metric-label { top: 50%; }
.pace .metric-label { top: 80%; }

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@keyframes graphMove {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Heart Rate Metric Styles */
.metrics-container {
    position: absolute;
    bottom: 10%;
    left: 0;
    width: 100%;
    height: 60px;
    pointer-events: none;
    overflow: hidden;
}

.metric.heart-rate {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 20px;
}

.heart-icon {
    position: relative;
    width: 40px;
    height: 40px;
    background: rgba(245, 152, 48, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: heartbeat 1s ease-in-out infinite;
}

.heart-rate-value {
    color: #F59830;
    font-weight: 600;
    font-size: 16px;
    margin-left: 10px;
    text-shadow: 0 0 10px rgba(245, 152, 48, 0.3);
}

.heart-rate-line {
    position: absolute;
    left: 80px;
    right: 20px;
    height: 2px;
    background: #F59830;
    transform-origin: left center;
    animation: pulseWave 3s ease-in-out infinite;
}

.heart-rate-line::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: #F59830;
    border-radius: 50%;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    box-shadow: 0 0 10px rgba(245, 152, 48, 0.5);
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    15% { transform: scale(1.15); }
    30% { transform: scale(1); }
    45% { transform: scale(1.15); }
    60% { transform: scale(1); }
}

@keyframes pulseWave {
    0% {
        transform: scaleX(0) translateY(0);
        opacity: 0;
    }
    10% {
        transform: scaleX(0.1) translateY(-10px);
        opacity: 1;
    }
    30% {
        transform: scaleX(0.3) translateY(8px);
    }
    50% {
        transform: scaleX(0.5) translateY(-5px);
    }
    70% {
        transform: scaleX(0.7) translateY(3px);
    }
    90% {
        transform: scaleX(0.9) translateY(-2px);
    }
    100% {
        transform: scaleX(1) translateY(0);
        opacity: 0;
    }
}

/* Heart Rate Animation */
.heart-rate-metric {
    position: absolute;
    bottom: 15%;
    left: 0;
    width: 100%;
    height: 100px;
    overflow: hidden;
    pointer-events: none;
}

.heart-path {
    position: absolute;
    left: -100px;
    right: -100px;
    height: 2px;
    top: 50%;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(245, 152, 48, 0.3) 10%,
        rgba(245, 152, 48, 0.3) 90%,
        transparent 100%
    );
}

.heart-container {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: moveHeartRate 8s linear infinite;
}

.heart-container svg {
    animation: heartbeat 1s ease-in-out infinite;
}

.heart-container .bpm {
    color: #F59830;
    font-weight: 600;
    font-size: 16px;
    text-shadow: 0 0 10px rgba(245, 152, 48, 0.3);
    transition: content 0.3s ease;
}

@keyframes moveHeartRate {
    0% {
        left: -100px;
        transform: translateY(0);
    }
    25% {
        left: 25%;
        transform: translateY(-30px);
    }
    50% {
        left: 50%;
        transform: translateY(0);
    }
    75% {
        left: 75%;
        transform: translateY(-20px);
    }
    100% {
        left: calc(100% + 100px);
        transform: translateY(0);
    }
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    15% { transform: scale(1.2); }
    30% { transform: scale(1); }
    45% { transform: scale(1.15); }
    60% { transform: scale(1); }
}
