/* Walking Pad Australia - Modern CSS Stylesheet */

/* CSS Variables for consistent theming */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary: #10b981;
    --secondary-dark: #059669;
    --accent: #f59e0b;
    --dark: #1e293b;
    --dark-light: #334155;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --gray-lighter: #e2e8f0;
    --white: #ffffff;
    --off-white: #f8fafc;
    --background: #f1f5f9;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
}

.btn-buy {
    width: 100%;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    color: var(--white);
    padding: 12px 24px;
    font-size: 0.95rem;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.btn-buy:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.4rem;
    font-weight: 700;
}

.logo-icon {
    font-size: 1.8rem;
}

.logo-text {
    color: var(--dark);
}

.logo-au {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-weight: 500;
    color: var(--dark-light);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

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

.nav-links a:hover::after {
    width: 100%;
}

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

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

/* Hero Section */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--off-white) 0%, var(--background) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 70%;
    height: 200%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(16, 185, 129, 0.05) 100%);
    border-radius: 50%;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--gray-lighter);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray);
}

/* Section Styles */
.section-title {
    text-align: center;
    margin-bottom: 12px;
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 48px;
}

/* Benefits Section */
.benefits {
    padding: 80px 0;
    background: var(--white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.benefit-card {
    background: var(--off-white);
    padding: 32px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.benefit-card h3 {
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.benefit-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* Products Section */
.products {
    padding: 80px 0;
    background: var(--background);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--primary);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 10;
}

.product-badge.best-value {
    background: var(--secondary);
}

.product-badge.premium {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
}

.product-badge.budget {
    background: var(--accent);
}

.product-icon {
    height: 180px;
    background: linear-gradient(135deg, var(--off-white) 0%, var(--background) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
}

.product-icon .icon-main {
    font-size: 5rem;
    line-height: 1;
    transition: var(--transition);
}

.product-icon .icon-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: var(--primary);
    color: var(--white);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-card:hover .product-icon .icon-main {
    transform: scale(1.15);
}

.product-content {
    padding: 24px;
}

.product-content h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.stars {
    color: #fbbf24;
    font-size: 0.9rem;
}

.rating-count {
    font-size: 0.8rem;
    color: var(--gray);
}

.product-description {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 16px;
    line-height: 1.5;
}

.product-features {
    margin-bottom: 16px;
}

.product-features li {
    font-size: 0.85rem;
    color: var(--dark-light);
    padding: 4px 0;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.price-current {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-dark);
}

.price-original {
    font-size: 1rem;
    color: var(--gray-light);
    text-decoration: line-through;
}

/* Buying Guide */
.guide {
    padding: 80px 0;
    background: var(--white);
}

.guide-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.guide-item {
    background: var(--off-white);
    padding: 28px;
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary);
}

.guide-item h3 {
    color: var(--primary-dark);
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.guide-item p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* Comparison Table */
.comparison {
    padding: 60px 0;
    background: var(--background);
}

.table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.comparison-table {
    width: 100%;
    background: var(--white);
    border-collapse: collapse;
    min-width: 700px;
}

.comparison-table th,
.comparison-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--gray-lighter);
}

.comparison-table th {
    background: var(--dark);
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
}

.comparison-table th:first-child {
    border-radius: var(--radius) 0 0 0;
}

.comparison-table th:last-child {
    border-radius: 0 var(--radius) 0 0;
}

.comparison-table tr:hover {
    background: var(--off-white);
}

.comparison-table td {
    font-size: 0.95rem;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background: var(--white);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.faq-item {
    background: var(--off-white);
    padding: 28px;
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow);
}

.faq-item h3 {
    color: var(--dark);
    margin-bottom: 12px;
    font-size: 1.05rem;
}

.faq-item p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* SEO Content Section */
.seo-content {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--off-white) 0%, var(--background) 100%);
}

.seo-content h2 {
    text-align: center;
    margin-bottom: 40px;
}

.seo-text {
    max-width: 900px;
    margin: 0 auto;
}

.seo-text h3 {
    color: var(--primary-dark);
    margin: 32px 0 16px;
    font-size: 1.3rem;
}

.seo-text p {
    color: var(--dark-light);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--gray-lighter);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}

.footer-brand p {
    margin-top: 16px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--gray-light);
}

.footer-brand .logo {
    color: var(--white);
}

.footer-brand .logo-au {
    color: var(--primary-light);
}

.footer-links h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--gray-light);
    font-size: 0.9rem;
}

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

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--dark-light);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--gray);
}

.affiliate-disclosure {
    margin-top: 12px;
    font-size: 0.8rem !important;
    color: var(--gray-light) !important;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .products-grid,
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        align-items: center;
        padding: 24px;
        gap: 20px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-150%);
        opacity: 0;
        transition: var(--transition);
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
    }

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

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

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

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

    .hero {
        padding: 120px 0 60px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

    .products-grid,
    .benefits-grid,
    .guide-content,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .footer-links ul {
        align-items: center;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 12px 14px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .product-icon {
        height: 150px;
    }

    .product-icon .icon-main {
        font-size: 4rem;
    }

    .benefit-card,
    .guide-item,
    .faq-item {
        padding: 24px;
    }
}

/* Print Styles */
@media print {
    .header,
    .mobile-menu-btn,
    .btn-buy {
        display: none;
    }

    .hero {
        padding-top: 20px;
    }

    .product-card {
        break-inside: avoid;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Focus styles for accessibility */
a:focus,
button:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Selection color */
::selection {
    background: var(--primary);
    color: var(--white);
}
