/* ===========================================
   RIG MARKETING HOMEPAGE
   Clean, modern single-page landing page
   =========================================== */

:root {
    /* Brand Colors - Navy (Trust & Authority) */
    --color-primary: #1e3a5f;
    --color-primary-dark: #152a45;
    --color-primary-light: #2d4a6f;

    /* CTA Colors - Orange (Conversion & Action) */
    --color-cta: #f97316;
    --color-cta-dark: #ea580c;
    --color-cta-light: #fb923c;

    /* Accent - Teal (Innovation & Growth) */
    --color-accent: #0d9488;
    --color-accent-light: #ccfbf1;

    /* Neutrals */
    --color-dark: #111827;
    --color-gray-900: #1f2937;
    --color-gray-700: #374151;
    --color-gray-600: #4b5563;
    --color-gray-500: #6b7280;
    --color-gray-400: #9ca3af;
    --color-gray-200: #e5e7eb;
    --color-gray-100: #f3f4f6;
    --color-gray-50: #f9fafb;
    --color-white: #ffffff;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --section-padding: 6rem;
    --container-max: 1200px;

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-family);
    font-size: 17px;
    line-height: 1.7;
    color: var(--color-gray-700);
    background: var(--color-white);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--color-primary-dark);
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3, h4 {
    color: var(--color-dark);
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(1.875rem, 4vw, 2.75rem);
    text-align: center;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.125rem;
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    font-size: 1.125rem;
    color: var(--color-gray-600);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

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

.btn-primary:hover {
    background: var(--color-cta-dark);
    border-color: var(--color-cta-dark);
    color: var(--color-white);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

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

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

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-full {
    width: 100%;
}

/* ===========================================
   HEADER
   =========================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-gray-100);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: -0.02em;
}

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

.nav a {
    color: var(--color-gray-700);
    font-weight: 500;
    font-size: 0.9375rem;
}

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--color-dark);
    transition: all 0.3s ease;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--color-white);
    padding: 1.5rem;
    flex-direction: column;
    gap: 1rem;
    border-bottom: 1px solid var(--color-gray-200);
    z-index: 999;
}

.mobile-nav a {
    color: var(--color-gray-700);
    font-weight: 500;
    padding: 0.5rem 0;
}

/* ===========================================
   HERO
   =========================================== */
.hero {
    padding: 10rem 0 6rem;
    background: linear-gradient(180deg, var(--color-gray-50) 0%, var(--color-white) 100%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero h1 {
    margin-bottom: 1.5rem;
}

.hero h1 .highlight {
    color: var(--color-primary);
}

.hero-sub {
    font-size: 1.25rem;
    color: var(--color-gray-600);
    margin-bottom: 2rem;
    max-width: 540px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.trust-bar {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-gray-600);
    font-size: 0.9375rem;
}

.trust-icon {
    font-size: 1.25rem;
}

.hero-image img {
    width: 100%;
    max-width: 400px;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-xl);
    margin-left: auto;
}

/* ===========================================
   PROBLEM
   =========================================== */
.problem {
    padding: var(--section-padding) 0;
    background: var(--color-white);
}

.problem h2 {
    margin-bottom: 1rem;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 3rem 0;
}

.problem-card {
    background: var(--color-gray-50);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.problem-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.problem-card p {
    margin: 0;
}

.problem-kicker {
    text-align: center;
    font-size: 1.125rem;
    color: var(--color-gray-900);
    font-weight: 500;
    max-width: 700px;
    margin: 2rem auto 0;
}

/* ===========================================
   SOLUTION
   =========================================== */
.solution {
    padding: var(--section-padding) 0;
    background: var(--color-primary);
    color: var(--color-white);
}

.solution-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.solution h2 {
    color: var(--color-white);
}

.solution p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
}

.solution strong {
    color: var(--color-white);
}

.solution-highlight {
    background: rgba(255, 255, 255, 0.15);
    padding: 2rem;
    border-radius: var(--radius-lg);
    margin: 2rem 0;
}

.solution-highlight .price {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--color-white);
}

.solution-highlight .price-note {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* ===========================================
   HOW IT WORKS
   =========================================== */
.how-it-works {
    padding: var(--section-padding) 0;
    background: var(--color-gray-50);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.step {
    background: var(--color-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    position: relative;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.step h3 {
    margin-bottom: 1rem;
}

.step-note {
    font-size: 0.9375rem;
    color: var(--color-primary);
    font-weight: 500;
    margin-top: 1rem;
    margin-bottom: 0;
}

/* ===========================================
   PRICING
   =========================================== */
.pricing {
    padding: var(--section-padding) 0;
    background: var(--color-white);
}

/* Pricing Tabs */
.pricing-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    background: var(--color-gray-100);
    padding: 0.5rem;
    border-radius: var(--radius-full);
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-tab {
    flex: 1;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    background: transparent;
    color: var(--color-gray-600);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.2s ease;
}

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

.pricing-tab.active {
    background: var(--color-white);
    color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

.pricing-tab-content {
    display: none;
}

.pricing-tab-content.active {
    display: block;
}

.pricing-tab-content .section-intro {
    margin-top: 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-grid-2 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    background: var(--color-white);
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-xl);
    transform: scale(1.02);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: var(--color-white);
    padding: 0.25rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-card h3 {
    margin-bottom: 1rem;
}

.pricing-price {
    margin-bottom: 1rem;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-dark);
}

.price-original {
    text-decoration: line-through;
    color: var(--color-gray-400);
    font-size: 1.25rem;
    margin-left: 0.5rem;
}

.price-note {
    display: block;
    color: #5eead4;
    font-weight: 600;
    font-size: 1.125rem;
    margin-top: 0.25rem;
}

.price-gst {
    display: block;
    color: var(--color-gray-500);
    font-size: 0.875rem;
    font-weight: 500;
    margin-top: 0.25rem;
}

.price-term {
    display: block;
    color: var(--color-gray-600);
    font-size: 1rem;
    font-weight: 600;
    margin-top: 0.25rem;
}

.pricing-desc {
    color: var(--color-gray-600);
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.pricing-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.9375rem;
}

.pricing-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: 700;
}

.pricing-features li:first-child::before {
    content: "";
}

.pricing-monthly {
    background: var(--color-gray-50);
    padding: 1rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    text-align: center;
}

.pricing-monthly span {
    display: block;
    font-weight: 600;
    color: var(--color-dark);
}

.pricing-monthly small {
    color: var(--color-gray-500);
    font-size: 0.8125rem;
}

.pricing-note {
    max-width: 700px;
    margin: 3rem auto 0;
    text-align: center;
    background: var(--color-accent-light);
    padding: 1.5rem;
    border-radius: var(--radius-md);
}

.pricing-note p {
    margin: 0;
    color: var(--color-gray-700);
}

.pricing-payment {
    text-align: center;
    margin-top: 3rem;
}

.pricing-payment h4 {
    margin-bottom: 0.5rem;
}

/* ===========================================
   TESTIMONIALS
   =========================================== */
.testimonials {
    padding: var(--section-padding) 0;
    background: var(--color-white);
}

.testimonials h2 {
    margin-bottom: 3rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: var(--color-gray-50);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-gray-200);
}

.testimonial-stars {
    color: #f59e0b;
    font-size: 1.25rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-gray-700);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.testimonial-author strong {
    color: var(--color-dark);
    font-weight: 600;
}

.testimonial-author span {
    color: var(--color-gray-500);
    font-size: 0.875rem;
}

/* ===========================================
   ABOUT
   =========================================== */
.about {
    padding: var(--section-padding) 0;
    background: var(--color-gray-50);
}

.about-inner {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.about-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    max-width: 350px;
}

.about h2 {
    text-align: left;
}

.about-content p {
    margin-bottom: 1rem;
}

.about-why {
    background: var(--color-white);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    margin-top: 2rem;
    border-left: 4px solid var(--color-primary);
}

.about-why h4 {
    margin-bottom: 0.75rem;
    color: var(--color-primary);
}

.about-why p {
    margin-bottom: 0.5rem;
}

.about-why p:last-child {
    margin-bottom: 0;
    font-weight: 600;
    color: var(--color-dark);
}

/* ===========================================
   FAQ
   =========================================== */
.faq {
    padding: var(--section-padding) 0;
    background: var(--color-white);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.faq-item {
    padding: 1.5rem;
    background: var(--color-gray-50);
    border-radius: var(--radius-md);
}

.faq-item h4 {
    margin-bottom: 0.75rem;
    color: var(--color-dark);
}

.faq-item p {
    margin: 0;
    color: var(--color-gray-600);
    font-size: 0.9375rem;
}

/* ===========================================
   BOOK A CALL
   =========================================== */
.book {
    padding: var(--section-padding) 0;
    background: var(--color-gray-900);
    color: var(--color-white);
}

.book-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-bottom: 4rem;
}

.book h2 {
    color: var(--color-white);
    text-align: left;
}

.book-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.book-calendar {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calendly-placeholder {
    text-align: center;
    padding: 2rem;
    color: var(--color-gray-600);
}

.calendly-placeholder code {
    display: block;
    background: var(--color-gray-100);
    padding: 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    margin-top: 1rem;
    word-break: break-all;
}

.contact-form-section {
    max-width: 600px;
    margin: 0 auto;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form-section h3 {
    color: var(--color-white);
    text-align: center;
    margin-bottom: 0.5rem;
}

.contact-form-section > p {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

.contact-form {
    display: grid;
    gap: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-group label {
    display: block;
    color: var(--color-white);
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-white);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background: rgba(255, 255, 255, 0.1);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
}

.form-group select option {
    background: var(--color-gray-900);
    color: var(--color-white);
}

.contact-form .btn {
    margin-top: 0.5rem;
}

/* ===========================================
   FOOTER
   =========================================== */
.footer {
    background: var(--color-dark);
    color: var(--color-white);
    padding: 4rem 0 2rem;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
    display: block;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9375rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
}

.footer-links a:hover {
    color: var(--color-white);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-contact a,
.footer-contact span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
}

.footer-contact a:hover {
    color: var(--color-white);
}

.footer-bottom {
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

/* ===========================================
   RESPONSIVE
   =========================================== */
@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .book-calendar {
        min-height: 700px;
    }

    .calendly-inline-widget {
        min-height: 700px !important;
    }
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-sub {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta {
        justify-content: center;
    }

    .trust-bar {
        justify-content: center;
    }

    .hero-image {
        order: -1;
    }

    .hero-image img {
        margin: 0 auto;
        max-width: 280px;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .pricing-card.featured {
        transform: none;
    }

    .about-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-image img {
        margin: 0 auto;
    }

    .about h2 {
        text-align: center;
    }

    .about-why {
        text-align: left;
    }

    .book-inner {
        grid-template-columns: 1fr;
    }

    .book h2 {
        text-align: center;
    }

    .book-content {
        text-align: center;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 4rem;
    }

    .nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-nav.active {
        display: flex;
    }

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

    .problem-grid {
        grid-template-columns: 1fr;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .book-calendar {
        min-height: 750px;
        overflow: hidden;
    }

    .calendly-inline-widget {
        min-height: 750px !important;
        height: 750px !important;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 16px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .trust-bar {
        flex-direction: column;
        gap: 1rem;
    }

    .pricing-card {
        padding: 1.5rem;
    }
}
