/* 
   Alex Owen Fitness - Brand Styles 
   Primary: Vibrant Orange (#F25F18)
   Secondary: Rich Black (#080808)
   Font 1: Playfair Display (Serif)
   Font 2: Inter (Sans-Serif)
*/

:root {
    --primary-color: #F25F18;
    --bg-color: #FFFFFF;
    /* Slightly darker for depth */
    --bg-secondary: #EDEDED;
    --text-color: #0a0a0a;
    --text-muted: #666666;
    /* Improved contrast: 5.7:1 ratio */
    --white: #FFFFFF;
    --black: #0a0a0a;


    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    --container-width: 1400px;
    /* Wider for grandeur */
    --spacing-md: 4rem;
    --spacing-lg: 8rem;
    /* More breathing room */
}

/* --- Skip Link (Accessibility) --- */
.skip-link {
    position: absolute;
    left: -9999px;
    z-index: 99999;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: var(--black);
    font-weight: 600;
    text-decoration: none;
}

.skip-link:focus {
    left: 1rem;
    top: 1rem;
}

/* Noise texture overlay removed */

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 400;
    /* Sophisticated thinness */
    line-height: 1.1;
    letter-spacing: -0.02em;
    /* Tighter for display */
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Focus Indicators (Accessibility) --- */
a:focus,
button:focus,
.btn:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
.btn:focus:not(:focus-visible) {
    outline: none;
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* --- Typography Scaling --- */
h1 {
    font-size: clamp(3rem, 5vw, 6rem);
}

h2 {
    font-size: clamp(2.5rem, 4vw, 4rem);
    color: var(--black);
}

h3 {
    font-size: clamp(1.5rem, 2vw, 2.5rem);
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 10001;
}

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

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--black);
    z-index: -1;
    transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.btn-primary:hover::before {
    width: 100%;
}

.btn-sm {
    padding: 0.8rem 2rem;
    font-size: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-sm:hover {
    border-color: var(--black);
    background: transparent;
}

/* --- Navigation --- */
.navbar {
    padding: 2rem 0;
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 10001;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 70px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.nav-links a:not(.btn) {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--black);
    opacity: 0.7;
    position: relative;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: 0.3s ease;
}

.nav-links a:not(.btn):hover {
    opacity: 1;
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

/* --- Hero Section --- */
.hero-section {
    padding: 16rem 0 8rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-header {
    max-width: 800px;
}

.hero-content h1 {
    margin-bottom: 2rem;
    line-height: 1;
}

.hero-subtext {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 90%;
    line-height: 1.7;
    margin-left: auto;
    margin-right: auto;
}

.divider-wide {
    width: 300px;
    height: 2px;
    background: var(--primary-color);
    margin: 2rem auto;
}

.video-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    background: linear-gradient(45deg, #f5f5f5, #e0e0e0);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: 0.4s;
    transform: scale(1.02);
    border-color: var(--primary-color);
}

/* --- Pricing Section --- */
.pricing-section-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 4rem;
    position: relative;
    z-index: 10002;
}

.pricing-heading {
    margin-bottom: 2rem;
    font-size: 2rem;
    text-align: center;
    color: var(--black);
}

/* --- Pricing Card --- */
.pricing-card {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 3rem;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    margin-top: 2rem;
    text-align: center;
    position: relative;
    z-index: 10000;
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--black);
}

.price {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--primary-color);
    line-height: 1;
    margin: 1.5rem 0;
}

.currency {
    font-size: 2rem;
    vertical-align: super;
}

.period {
    font-size: 1rem;
    color: var(--text-muted);
    font-family: var(--font-body);
}

.pricing-features {
    margin-bottom: 2rem;
    text-align: left;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
}

.pricing-features li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--black);
}

.pricing-features .check {
    color: var(--primary-color);
    font-weight: 700;
}

.btn-block {
    display: block;
    width: 100%;
}

.guarantee {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.video-placeholder:hover {
    transform: scale(1.02);
    border-color: var(--primary-color);
}

/* --- Logos Section --- */
.logos-section {
    padding: 6rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
}

.logos-heading {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-weight: 700;
}

.logos-grid {
    display: flex;
    justify-content: center;
    gap: 5rem;
    flex-wrap: wrap;
    opacity: 0.4;
    filter: grayscale(100%);
    transition: 0.3s;
}

.logos-grid:hover {
    opacity: 0.8;
}

/* --- Agitation Section --- */
.agitation-section {
    padding: var(--spacing-lg) 0;
    position: relative;
    overflow: hidden;
}

/* Decorative Diagonal Line */
.agitation-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: -20%;
    width: 1px;
    height: 150%;
    background: var(--primary-color);
    transform: rotate(15deg);
    opacity: 0.2;
}

.agitation-content {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.agitation-content h2 {
    margin-bottom: 2rem;
}

.divider {
    width: 80px;
    height: 2px;
    background: var(--primary-color);
    margin: 2rem auto;
}

.agitation-content p {
    font-size: 1.4rem;
    color: #595959;
    /* Improved contrast: 7:1 ratio */
    font-weight: 300;
    line-height: 1.8;
}

/* --- Features Section --- */
.features-section {
    padding: var(--spacing-lg) 0;
    background: radial-gradient(circle at top right, #ffffff, var(--bg-secondary));
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.5);
    padding: 4rem 3rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.card-number {
    font-family: var(--font-heading);
    font-size: 8rem;
    color: var(--primary-color);
    position: absolute;
    top: -2rem;
    right: 0rem;
    opacity: 0.1;
    line-height: 1;
    transition: 0.4s;
}

.feature-card:hover .card-number {
    opacity: 0.2;
    transform: translateX(-10px);
}

.feature-card h3 {
    margin-bottom: 1.5rem;
}

/* --- Testimonials --- */
.testimonials-section {
    padding: var(--spacing-lg) 0;
}

.testimonial-card {
    background: transparent;
    padding: 3rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.testimonial-card:hover {
    border-color: var(--primary-color);
}

.quote {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--black);
}

.section-cta {
    margin-top: 4rem;
    text-align: center;
}

/* --- FAQ --- */
.faq-section {
    padding: var(--spacing-lg) 0;
    max-width: 900px;
    margin: 0 auto;
}

.accordion-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.accordion-header {
    background: transparent;
    padding: 2rem 0;
    font-size: 1.4rem;
    color: var(--black);
    opacity: 0.8;
    width: 100%;
    text-align: left;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header:hover,
.accordion-item.active .accordion-header {
    opacity: 1;
    color: var(--primary-color);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

/* --- Footer --- */
.footer {
    padding: 6rem 0;
    background: var(--bg-secondary);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 10003;
}

.footer-logo img {
    height: 40px;
    filter: none;
    opacity: 1;
}

/* --- Animations --- */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Mobile Responsiveness --- */
@media (max-width: 900px) {
    h1 {
        font-size: 3.5rem;
    }

    .hero-section {
        padding: 8rem 0 4rem;
    }

    .container {
        padding: 0 1.5rem;
    }

    .features-grid,
    .testimonials-grid,
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .nav-links {
        display: none;
        /* In real app, consider a hamburger menu */
    }

    .logos-grid {
        gap: 2rem;
    }

    /* Stack footer items */
    .footer-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
}