/*
Theme Name: ShortStay Main Theme
Theme URI: https://shortstayhouses.co.uk
Author: RyanDesign
Author URI: https://ryandesign.co.uk
Description: Main marketing theme for ShortStay Houses - Glassmorphism Style
Version: 2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: shortstay-main
*/

/* =============================================
   CSS VARIABLES
   ============================================= */
:root {
    --primary: #8c68da;
    --primary-light: #a78bfa;
    --accent: #ff7e99;
    --accent-light: #fda4af;
    --dark: #0f0a1a;
    --darker: #080510;
    --glass: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.12);
    --glass-light: rgba(255, 255, 255, 0.95);
    --text: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.7);
    --text-dark: #1a1a2e;
    --font-display: 'Outfit', sans-serif;
    --font-body: 'DM Sans', sans-serif;
}

/* =============================================
   RESET & BASE STYLES
   ============================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html, body {
    width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body), -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--darker);
}

body.glassmorphism-theme {
    background: var(--darker) !important;
    color: var(--text) !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display), sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text);
}

/* =============================================
   ANIMATED BACKGROUND & ORBS
   ============================================= */
.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 0% 0%, rgba(140, 104, 218, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at 100% 100%, rgba(255, 126, 153, 0.35) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(140, 104, 218, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(167, 139, 250, 0.2) 0%, transparent 40%),
        radial-gradient(ellipse at 20% 80%, rgba(253, 164, 175, 0.2) 0%, transparent 40%);
    z-index: -1;
    pointer-events: none;
}

.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    animation: float 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, var(--primary) 0%, #a78bfa 100%);
    opacity: 0.4;
    top: -10%;
    left: -15%;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, var(--accent) 0%, #fda4af 100%);
    opacity: 0.3;
    bottom: -10%;
    right: -10%;
    animation-delay: -4s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    opacity: 0.2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(1.05); }
}

/* =============================================
   DEVELOPMENT BANNER
   ============================================= */
.dev-banner {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    color: white !important;
    text-align: center;
    padding: 12px 20px;
    font-weight: 600;
    font-size: 0.95rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.dev-banner-text::before {
    content: '⚠️';
    margin-right: 8px;
}

.dev-banner-text::after {
    content: '⚠️';
    margin-left: 8px;
}

.dev-banner-badge {
    background: rgba(0,0,0,0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* =============================================
   NAVIGATION - GLASSMORPHISM PILL STYLE
   ============================================= */
.glass-nav {
    position: fixed !important;
    top: 15px;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.75rem 2rem;
    background: transparent !important;
    box-shadow: none !important;
}

.glass-nav .nav-container {
    max-width: 1400px;
    margin: 0 auto;
    background: var(--glass) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    padding: 0.5rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.glass-nav .logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.glass-nav .logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
    max-width: none;
}

.glass-nav .nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.glass-nav .nav-menu a {
    color: var(--text-muted) !important;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
}

.glass-nav .nav-menu a:hover {
    color: var(--text) !important;
}

.glass-nav .nav-buttons {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
    padding: 0.65rem 1.5rem;
    border-radius: 100px;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    display: inline-block;
    white-space: nowrap;
    text-align: center;
}

.btn-ghost {
    background: transparent !important;
    color: var(--text) !important;
    border: 1px solid var(--glass-border) !important;
}

.btn-ghost:hover {
    background: var(--glass) !important;
    border-color: var(--primary-light) !important;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%) !important;
    color: white !important;
    box-shadow: 0 4px 20px rgba(140, 104, 218, 0.4);
    border: none !important;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(140, 104, 218, 0.5);
}

.btn-outline {
    background: transparent !important;
    color: var(--text) !important;
    border: 1px solid var(--glass-border) !important;
}

.btn-outline:hover {
    background: var(--glass) !important;
    border-color: var(--primary) !important;
}

.btn-cta {
    background: white !important;
    color: var(--primary) !important;
    border: none !important;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
}

/* =============================================
   MOBILE MENU
   ============================================= */
.mobile-menu-toggle {
    display: none;
    background: none !important;
    border: none !important;
    font-size: 1.5rem;
    color: var(--text) !important;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--dark) !important;
    border-left: 1px solid var(--glass-border);
    transition: right 0.3s ease;
    z-index: 2001;
    padding: 2rem;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.mobile-menu-title {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-light) !important;
}

.mobile-menu-close {
    background: none !important;
    border: none !important;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text) !important;
}

.mobile-menu-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-items li {
    margin-bottom: 1.5rem;
}

.mobile-menu-items a {
    color: var(--text-muted) !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: block;
    transition: color 0.3s;
}

.mobile-menu-items a:hover {
    color: var(--text) !important;
}

.mobile-menu-buttons {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 2000;
}

.mobile-overlay.active {
    display: block;
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(10rem + 15px) 2rem 4rem;
    text-align: center;
    position: relative;
    background: transparent !important;
    overflow: hidden;
}

.hero-content {
    max-width: 900px;
    width: 100%;
    position: relative;
    z-index: 1;
    padding: 2.5rem 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out;
}

.hero-badge-highlight {
    color: var(--accent) !important;
    font-weight: 600;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero h1 {
    font-size: clamp(2rem, 4.5vw, 3rem) !important;
    font-weight: 800 !important;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease-out 0.1s backwards;
}

.hero p {
    font-size: 1.15rem !important;
    color: var(--text-muted) !important;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
    opacity: 1 !important;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    animation: fadeInUp 0.8s ease-out 0.3s backwards;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem !important;
    font-weight: 800 !important;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Hero Background Image - Desktop */
.hero-image-bg {
    position: absolute;
    top: calc(50% + 60px);
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 8rem);
    max-width: 1000px;
    z-index: 0;
    pointer-events: none;
}

.hero-image-bg img {
    width: 100%;
    height: auto;
    border-radius: 32px;
    border: 1px solid var(--glass-border);
    opacity: 0.35;
    filter: brightness(0.7);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
}

/* Mobile hero image - hidden on desktop */
.hero-image-mobile {
    display: none;
}

/* Desktop: image is absolute positioned behind content */
@media (min-width: 769px) {
    .hero-content {
        position: relative;
        z-index: 1;
    }
    
    .hero-content .hero-image-bg {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: calc(100% + 4rem);
        max-width: 1000px;
        z-index: -1;
    }
    
    .hero-image-mobile {
        display: none !important;
    }
}

/* =============================================
   CONTENT SECTIONS
   ============================================= */
.content-section {
    padding: 4.5rem 2rem;
    position: relative;
    background: transparent !important;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-family: var(--font-display) !important;
    font-size: clamp(2rem, 4vw, 2.75rem) !important;
    font-weight: 700 !important;
    margin-bottom: 1rem;
    color: var(--text) !important;
    text-align: center;
}

.section-subtitle {
    font-size: 1.1rem !important;
    color: var(--text-muted) !important;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    text-align: center;
}

/* =============================================
   GLASS CARDS
   ============================================= */
.glass-card {
    background: var(--glass) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    transition: all 0.4s;
}

.glass-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-light);
}

/* =============================================
   STEPS GRID
   ============================================= */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.step-card {
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity 0.4s;
}

.step-card:hover::before {
    opacity: 1;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%) !important;
    border-radius: 14px;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: white !important;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 20px rgba(140, 104, 218, 0.3);
    position: static !important;
    top: auto !important;
    left: auto !important;
}

.step-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text) !important;
}

.step-card p {
    color: var(--text-muted) !important;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* =============================================
   FEATURES GRID
   ============================================= */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.feature-card {
    padding: 1.75rem;
    text-align: center;
    border-radius: 20px;
}

.feature-card:hover {
    background: rgba(255,255,255,0.12) !important;
    transform: scale(1.02);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text) !important;
}

.feature-card p {
    font-size: 0.85rem;
    color: var(--text-muted) !important;
}

/* =============================================
   DEMOS SECTION
   ============================================= */
.demos-section {
    margin-top: 5rem;
    padding-top: 4rem;
    border-top: 1px solid var(--glass-border);
}

.demos-title {
    font-size: 1.75rem !important;
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--text) !important;
}

.demos-subtitle {
    text-align: center;
    color: var(--text-muted) !important;
    margin-bottom: 2.5rem;
}

.demos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.demo-card {
    border-radius: 20px;
    overflow: hidden;
}

.demo-card:hover {
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(140, 104, 218, 0.2);
}

.demo-image {
    height: 150px;
    background: linear-gradient(135deg, rgba(140, 104, 218, 0.2) 0%, rgba(255, 126, 153, 0.2) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.demo-icon {
    font-size: 3rem;
}

.demo-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid var(--glass-border);
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #333333;
}

.demo-content {
    padding: 1.25rem;
}

.demo-content h4 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
    color: var(--text) !important;
}

.demo-content p {
    font-size: 0.8rem;
    color: var(--text-muted) !important;
    margin-bottom: 1rem;
}

.demo-content .btn {
    width: 100%;
    padding: 0.6rem;
    font-size: 0.8rem;
}

/* =============================================
   PRICING SECTION
   ============================================= */
.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.pricing-label {
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.pricing-label.active {
    color: var(--text);
}

.pricing-toggle-switch {
    width: 56px;
    height: 28px;
    background: var(--glass) !important;
    border: 1px solid var(--glass-border) !important;
    border-radius: 100px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s;
}

.pricing-toggle-switch::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.pricing-toggle-switch.annual {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%) !important;
    border-color: transparent !important;
}

.pricing-toggle-switch.annual::after {
    transform: translateX(28px);
}

.save-badge {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.pricing-card {
    padding: 2.5rem 1.5rem;
    text-align: center;
    border-radius: 24px;
}

.pricing-card.featured {
    background: linear-gradient(135deg, rgba(140, 104, 218, 0.2) 0%, rgba(255, 126, 153, 0.2) 100%) !important;
    border-color: var(--primary) !important;
    transform: scale(1.02);
}

.pricing-card.featured:hover {
    transform: scale(1.02) translateY(-8px);
}

.pricing-card.featured::before {
    content: 'MOST POPULAR';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 100px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.pricing-card.enterprise {
    background: linear-gradient(135deg, var(--dark) 0%, var(--darker) 100%) !important;
    border-color: var(--accent) !important;
}

.plan-name {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text) !important;
}

.plan-price {
    font-family: var(--font-display);
    font-size: 2.75rem !important;
    font-weight: 800 !important;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.25rem;
}

.plan-price span {
    font-size: 1rem;
    font-weight: 400;
    -webkit-text-fill-color: var(--text-muted);
}

.plan-price-sub {
    font-size: 0.8rem;
    color: #48bb78;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.plan-price-sub.annual-price {
    color: #fda4af;
}

.plan-description {
    color: var(--text-muted) !important;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.plan-features {
    list-style: none !important;
    text-align: left;
    margin-bottom: 1.5rem;
    padding: 0 !important;
}

.plan-features li {
    padding: 0.5rem 0;
    font-size: 0.85rem;
    color: var(--text-muted) !important;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.plan-features li::before {
    content: '✓';
    color: var(--primary-light) !important;
    font-weight: 700;
}

.plan-features li.highlight {
    color: var(--text) !important;
    font-weight: 500;
}

.new-badge {
    background: var(--accent);
    color: white;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    font-size: 0.6rem;
    font-weight: 700;
    margin-right: 0.25rem;
}

/* =============================================
   PAYMENT FLOW
   ============================================= */
.payment-flow {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.flow-step {
    padding: 2rem 1.5rem;
    text-align: center;
    flex: 1;
    max-width: 220px;
    min-width: 180px;
    border-radius: 20px;
}

.flow-step:hover {
    border-color: var(--primary-light);
}

.flow-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.flow-step h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text) !important;
}

.flow-step p {
    font-size: 0.85rem;
    color: var(--text-muted) !important;
}

.flow-arrow {
    font-size: 1.5rem;
    color: var(--primary-light);
    padding-top: 3rem;
}

.payment-note {
    padding: 1.25rem 1.75rem;
    margin-top: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
    border-radius: 16px;
}

.payment-note-icon {
    font-size: 1.75rem;
}

.payment-note p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-muted) !important;
}

.payment-note strong {
    color: var(--text) !important;
}

/* =============================================
   CALCULATOR
   ============================================= */
.calculator-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.calculator-card {
    background: var(--glass) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 2.5rem;
    color: var(--text) !important;
}

.calculator-inputs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.input-group label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted) !important;
    margin-bottom: 0.5rem;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid var(--glass-border) !important;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text) !important;
    background: rgba(255, 255, 255, 0.1) !important;
    transition: all 0.3s;
}

.input-group input:focus,
.input-group select:focus {
    outline: none;
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 4px rgba(140, 104, 218, 0.2);
}

.input-group select option {
    background: var(--dark);
    color: var(--text);
}

.input-prefix,
.input-suffix {
    position: relative;
}

.input-prefix input {
    padding-left: 2rem;
}

.input-prefix::before {
    content: '£';
    position: absolute;
    left: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-weight: 600;
}

.input-suffix input {
    padding-right: 2.5rem;
}

.input-suffix::after {
    content: '%';
    position: absolute;
    right: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-weight: 600;
}

.selected-package {
    background: linear-gradient(135deg, rgba(140, 104, 218, 0.15) 0%, rgba(255, 126, 153, 0.15) 100%);
    border: 1px solid var(--primary);
    border-radius: 20px;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.selected-package-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.selected-package-badge {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    padding: 0.4rem 0.9rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
}

.selected-package-text {
    font-weight: 500;
    color: var(--text-muted);
}

.selected-package-pricing {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.selected-package-price {
    font-weight: 700;
    color: var(--text) !important;
    font-size: 1.1rem;
}

.selected-package-divider {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.selected-package-price-annual {
    font-weight: 600;
    color: var(--primary-light) !important;
    font-size: 1rem;
}

.annual-save {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 700;
    margin-left: 0.4rem;
}

.results-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.result-card {
    border-radius: 20px;
    padding: 1.75rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.result-card-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 0.4rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.result-card.yours {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%) !important;
    color: white !important;
}

.result-card.yours .result-card-header {
    background: rgba(255,255,255,0.2);
}

.result-card.airbnb {
    background: #f1f5f9 !important;
    color: var(--text-dark) !important;
}

.result-card.airbnb .result-card-header {
    background: #e2e8f0;
    color: #64748b;
}

.result-card-content {
    padding-top: 1.25rem;
}

.result-label {
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
    opacity: 0.9;
}

.result-amount {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
}

.result-card.airbnb .result-amount {
    color: #64748b !important;
}

.result-breakdown {
    font-size: 0.8rem;
    margin-top: 0.4rem;
    opacity: 0.8;
}

.result-package {
    font-size: 0.85rem;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    font-weight: 600;
    color: rgba(255,255,255,0.95);
}

.savings-banner {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: white !important;
    border-radius: 16px;
    padding: 1.25rem;
    text-align: center;
}

.savings-label {
    font-size: 0.85rem;
    opacity: 0.9;
}

.savings-amount {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
}

.savings-extra {
    font-size: 0.85rem;
    opacity: 0.9;
}

.calculator-cta {
    text-align: center;
    margin-top: 1.75rem;
}

.calculator-note {
    text-align: center;
    margin-top: 0.75rem;
    font-size: 0.8rem;
    color: var(--text-muted) !important;
}

/* =============================================
   CTA SECTION - ROUNDED GLASS STYLE
   ============================================= */
.cta-section {
    background: transparent !important;
    padding: 4rem 2rem;
    position: relative;
}

.cta-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%) !important;
    border-radius: 32px;
    padding: 4rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(140, 104, 218, 0.4);
}

.cta-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.2) 0%, transparent 50%);
    pointer-events: none;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)" /></svg>');
    opacity: 0.5;
    border-radius: 32px;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.cta-section h2 {
    font-size: 2.25rem !important;
    margin-bottom: 1rem;
    color: white !important;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    color: white !important;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.cta-feature {
    font-size: 0.95rem;
    font-weight: 500;
    color: white !important;
    background: rgba(255,255,255,0.15);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    border: 1px solid rgba(255,255,255,0.2);
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 100px;
    padding: 0.6rem 1.5rem;
    font-size: 0.95rem;
    color: white;
    margin-bottom: 2rem;
}

.cta-badge-icon {
    font-size: 1rem;
}

.cta-badge-highlight {
    color: #ffd700 !important;
    font-weight: 600;
}

.cta-badge-text {
    color: rgba(255,255,255,0.9);
}

.btn-cta-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%) !important;
    color: white !important;
    border: none !important;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 100px;
    box-shadow: 0 4px 20px rgba(140, 104, 218, 0.4);
    display: inline-block;
}

.btn-cta-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(140, 104, 218, 0.5);
}

.cta-content .btn-cta {
    display: inline-block;
    margin: 0 auto;
}

/* =============================================
   FOOTER - ROUNDED GLASS STYLE
   ============================================= */
.glass-footer {
    background: transparent !important;
    padding: 0 2rem 4rem;
    border-top: none !important;
}

.footer-card {
    background: var(--glass) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.glass-footer .footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 2rem;
    padding: 0;
    max-width: none;
}

.glass-footer .footer-section h3 {
    font-size: 1rem;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-footer .footer-section p,
.glass-footer .footer-section a {
    color: var(--text-muted) !important;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.glass-footer .footer-section a:hover {
    color: var(--text) !important;
}

.footer-powered {
    margin-top: 1rem;
}

.glass-footer .footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.85rem;
    max-width: none;
    margin: 0;
}

.footer-logo-small {
    height: 50px;
    max-height: 50px;
    width: auto;
    margin-bottom: 12px;
    opacity: 0.8;
}

/* =============================================
   RESPONSIVE STYLES
   ============================================= */
@media (max-width: 1200px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-8px);
    }
    
    .demos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .steps-grid,
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .calculator-inputs {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .glass-footer .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Force mobile menu on all tablets (landscape & portrait) */
@media (max-width: 1200px) {
    .glass-nav .nav-menu {
        display: none !important;
    }
    
    .glass-nav .nav-buttons {
        display: none !important;
    }
    
    .mobile-menu-toggle {
        display: block !important;
    }
    
    .mobile-menu {
        display: block;
    }
    
    /* Bigger hero on tablet landscape */
    .hero-image-bg {
        width: calc(100% - 3rem);
        max-width: 900px;
    }
    
    .hero-image-bg img {
        opacity: 0.45;
    }
}

/* Phone landscape - bigger hero image */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        padding: calc(4.5rem + 10px) 1rem 1.5rem;
        min-height: 100vh;
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .hero h1 {
        font-size: 1.4rem !important;
        margin-bottom: 0.5rem;
    }
    
    .hero p {
        font-size: 0.85rem !important;
        margin-bottom: 0.75rem;
        max-width: 500px;
    }
    
    .hero-stats {
        gap: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    .stat-number {
        font-size: 1.25rem !important;
    }
    
    .stat-label {
        font-size: 0.6rem;
    }
    
    /* Make hero image fill more of screen */
    .hero-image-bg {
        position: absolute !important;
        top: 60px !important;
        left: 0.5rem !important;
        right: 0.5rem !important;
        bottom: 0.5rem !important;
        width: calc(100% - 1rem) !important;
        max-width: none !important;
        transform: none !important;
        padding: 0 !important;
    }
    
    .hero-image-bg img {
        width: 100% !important;
        height: 100% !important;
        border-radius: 12px !important;
        opacity: 0.55 !important;
        object-fit: cover !important;
        object-position: center 60% !important;
    }
    
    .hero-buttons {
        flex-direction: row;
        gap: 0.5rem;
    }
    
    .hero-buttons .btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
        max-width: none;
        width: auto;
    }
}

@media (max-width: 768px) {
    .dev-banner {
        padding: 10px 15px;
        font-size: 0.85rem;
    }
    
    .dev-banner-badge {
        display: none;
    }
    
    .glass-nav {
        padding: 0.5rem 0.75rem;
        top: 10px;
    }
    
    .glass-nav .nav-container {
        padding: 0.4rem 1rem;
    }
    
    .glass-nav .logo img {
        height: 40px;
    }
    
    
    /* Hero Mobile Layout */
    .hero {
        padding: calc(5rem + 10px) 1.5rem 3rem;
        min-height: auto;
        position: relative;
    }
    
    .hero-content {
        padding: 2rem 1rem;
        position: relative;
        z-index: 1;
    }
    
    .hero h1 {
        font-size: 1.75rem !important;
        margin-bottom: 1rem;
    }
    
    .hero p {
        font-size: 0.95rem !important;
        margin-bottom: 1.5rem;
    }
    
    /* Mobile hero image - full background, positioned to show hot tub */
    .hero-image-bg {
        display: block !important;
        position: absolute !important;
        top: 100px !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        max-width: none !important;
        z-index: 0 !important;
        pointer-events: none;
        transform: none !important;
        padding: 0 1rem 3rem 1rem !important;
    }
    
    .hero-image-bg img {
        width: 100% !important;
        height: 100% !important;
        border-radius: 20px !important;
        opacity: 0.35 !important;
        object-fit: cover !important;
        object-position: center 70% !important;
    }
    
    /* Hide mobile hero image - using background approach instead */
    .hero-image-mobile {
        display: none !important;
    }
    
    /* Stats in 3 columns on mobile */
    .hero-stats {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    }
    
    .stat {
        background: transparent;
        border: none;
        border-radius: 0;
        padding: 0;
        text-align: center;
    }
    
    .stat-number {
        font-size: 1.25rem !important;
    }
    
    .stat-label {
        font-size: 0.65rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
    
    /* Section headers - force single column */
    .section-header {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 2rem;
    }
    
    .section-title {
        font-size: 1.5rem !important;
        margin-bottom: 0.75rem;
        display: block;
        width: 100%;
    }
    
    .section-subtitle {
        font-size: 0.95rem !important;
        display: block;
        width: 100%;
    }
    
    /* Demos section mobile */
    .demos-section {
        margin-top: 3rem;
        padding-top: 2.5rem;
    }
    
    .demos-title {
        font-size: 1.4rem !important;
        margin-bottom: 0.5rem;
        display: block;
        width: 100%;
    }
    
    .demos-subtitle {
        font-size: 0.9rem;
        margin-bottom: 2rem;
        display: block;
        width: 100%;
    }
    
    /* Grids to single column */
    .steps-grid,
    .features-grid,
    .demos-grid,
    .pricing-grid {
        grid-template-columns: 1fr !important;
        display: flex !important;
        flex-direction: column;
        align-items: center;
    }
    
    /* Reorder pricing cards: Free card moves to last on mobile */
    .pricing-grid .pricing-card:nth-child(1) { order: 4; } /* Free → last */
    .pricing-grid .pricing-card:nth-child(2) { order: 1; } /* Starter → first */
    .pricing-grid .pricing-card:nth-child(3) { order: 2; } /* Growth → second */
    .pricing-grid .pricing-card:nth-child(4) { order: 3; } /* Professional → third */
    
    .pricing-grid .pricing-card {
        width: 100%;
        max-width: 400px;
    }
    
    .calculator-inputs,
    .results-container {
        grid-template-columns: 1fr !important;
    }
    
    .payment-flow {
        flex-direction: column;
        align-items: center;
    }
    
    .flow-step {
        max-width: 100%;
        width: 100%;
    }
    
    .flow-arrow {
        transform: rotate(90deg);
        padding: 0.5rem 0;
    }
    
    .cta-card {
        padding: 2.5rem 1.5rem;
        border-radius: 24px;
    }
    
    .cta-section h2 {
        font-size: 1.5rem !important;
    }
    
    .cta-section p {
        font-size: 0.95rem;
    }
    
    .cta-features {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .footer-card {
        padding: 2rem 1.5rem;
        border-radius: 24px;
    }
    
    .glass-footer .footer-content {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }
    
    .selected-package {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
    
    .selected-package-info {
        flex-direction: column;
    }
    
    .selected-package-pricing {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .pricing-toggle {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    /* Calculator mobile */
    .calculator-card {
        padding: 1.5rem;
        border-radius: 20px;
    }
    
    .calculator-wrapper .section-title {
        font-size: 1.3rem !important;
    }
    
    /* Content sections mobile padding */
    .content-section {
        padding: 2.5rem 1rem;
    }
    
    .container {
        padding: 0 0.5rem;
    }
}
/* =============================================
   INNER PAGE STYLES
   ============================================= */

/* Page Section */
.page-section {
    padding-top: calc(6rem + 15px);
    min-height: 100vh;
}

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 2rem;
}

.page-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

/* Page Content Card */
.page-content-card {
    padding: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.page-content-card h2,
.page-content-card h3,
.page-content-card h4 {
    color: var(--text);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.page-content-card h2:first-child,
.page-content-card h3:first-child,
.page-content-card h4:first-child {
    margin-top: 0;
}

.page-content-card p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.page-content-card a {
    color: var(--primary-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-content-card a:hover {
    color: var(--accent);
}

.page-content-card ul,
.page-content-card ol {
    color: var(--text-muted);
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.page-content-card li {
    margin-bottom: 0.5rem;
}

.page-content-card img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    margin: 1.5rem 0;
}

/* Sign Up Page Specific */
.page-signup .page-content-card {
    max-width: 600px;
}

/* Form Styles */
.page-content-card input[type="text"],
.page-content-card input[type="email"],
.page-content-card input[type="password"],
.page-content-card input[type="tel"],
.page-content-card input[type="url"],
.page-content-card textarea,
.page-content-card select {
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text);
    font-size: 1rem;
    font-family: var(--font-body);
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.page-content-card input:focus,
.page-content-card textarea:focus,
.page-content-card select:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(140, 104, 218, 0.2);
}

.page-content-card input::placeholder,
.page-content-card textarea::placeholder {
    color: var(--text-muted);
}

.page-content-card label {
    display: block;
    color: var(--text);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.page-content-card button[type="submit"],
.page-content-card input[type="submit"] {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.page-content-card button[type="submit"]:hover,
.page-content-card input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(140, 104, 218, 0.4);
}

/* WordPress Block Styles */
.page-content-card .wp-block-button__link {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 100px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.page-content-card .wp-block-button__link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(140, 104, 218, 0.4);
    color: white;
}

/* Mobile Responsive for Pages */
@media (max-width: 768px) {
    .page-section {
        padding-top: calc(4.5rem + 10px);
    }
    
    .page-title {
        font-size: 1.75rem;
    }
    
    .page-content-card {
        padding: 1.5rem;
        border-radius: 20px;
    }
}

/* ==========================================================================
   SIGNUP PAGE TEMPLATE STYLES
   ========================================================================== */

/* Signup page - no glass card wrapper needed */
.signup-page-section .signup-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

/* =============================================
   COMMISSION HIGHLIGHT BOX FIX
   ============================================= */
.commission-highlight {
    background: rgba(25, 25, 25, 0.4) !important;
    border: 2px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
    .commission-highlight {
        background: rgba(25, 25, 25, 0.4) !important;
        border: 2px solid #ec4899 !important;
        box-shadow: 0 4px 20px rgba(236, 72, 153, 0.3) !important;
    }
    
    .commission-highlight,
    .commission-highlight * {
        color: #ec4899 !important;
        -webkit-text-fill-color: #ec4899 !important;
    }
}