/* First Aid Kit Australia - Styles */
/* Modern, Clean Design with Australian Theme */

:root {
    /* Colors */
    --primary: #dc2626;
    --primary-dark: #b91c1c;
    --primary-light: #fecaca;
    --secondary: #1e40af;
    --secondary-dark: #1e3a8a;
    --accent: #059669;
    --accent-light: #d1fae5;

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

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

    /* Spacing */
    --container-max: 1280px;
    --section-padding: 80px;

    /* Shadows */
    --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-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    /* Transitions */
    --transition: all 0.3s ease;

    /* Border Radius */
    --radius-sm: 4px;
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

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

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); }

.section-title {
    text-align: center;
    margin-bottom: 12px;
}

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

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

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

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--white);
    color: var(--gray-800);
    border-color: var(--gray-300);
}

.btn-secondary:hover {
    border-color: var(--gray-400);
    background: var(--gray-50);
}

.btn-accent {
    background: var(--accent);
    color: var(--white);
}

.btn-accent:hover {
    background: #047857;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 14px;
}

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

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

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

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius);
    font-size: 24px;
    font-weight: 800;
}

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

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

.nav-links a {
    font-weight: 500;
    color: var(--gray-600);
    transition: var(--transition);
    position: relative;
}

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

.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::after {
    width: 100%;
}

.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(--gray-700);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 50%, var(--primary-light) 100%);
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background: var(--accent-light);
    color: var(--accent);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero h1 {
    margin-bottom: 20px;
}

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

.hero-subtitle {
    font-size: 18px;
    color: var(--gray-600);
    margin-bottom: 32px;
    max-width: 520px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 28px;
    font-weight: 800;
    color: var(--gray-900);
}

.stat-label {
    font-size: 14px;
    color: var(--gray-500);
}

/* Hero Visual */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-kit-visual {
    position: relative;
    width: 350px;
    height: 350px;
}

.kit-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 180px;
    background: linear-gradient(145deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
}

.kit-cross {
    color: var(--white);
    font-size: 80px;
    font-weight: 300;
}

.floating-item {
    position: absolute;
    font-size: 40px;
    animation: float 3s ease-in-out infinite;
}

.item-1 {
    top: 10%;
    left: 20%;
    animation-delay: 0s;
}

.item-2 {
    top: 15%;
    right: 15%;
    animation-delay: 0.5s;
}

.item-3 {
    bottom: 20%;
    left: 10%;
    animation-delay: 1s;
}

.item-4 {
    bottom: 15%;
    right: 20%;
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Categories Section */
.categories {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
}

.category-card {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

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

.category-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.category-card h3 {
    margin-bottom: 8px;
    font-size: 18px;
}

.category-card p {
    font-size: 14px;
    color: var(--gray-500);
}

/* Products Section */
.products {
    padding: var(--section-padding) 0;
    background: var(--gray-50);
}

.product-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    margin-bottom: 32px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-group label {
    font-weight: 500;
    color: var(--gray-600);
    font-size: 14px;
}

.filter-group select {
    padding: 10px 16px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 14px;
    background: var(--white);
    cursor: pointer;
    min-width: 150px;
}

.filter-group select:focus {
    outline: none;
    border-color: var(--primary);
}

.view-toggle {
    display: flex;
    gap: 4px;
    margin-left: auto;
    background: var(--gray-100);
    padding: 4px;
    border-radius: var(--radius);
}

.view-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    color: var(--gray-500);
    transition: var(--transition);
}

.view-btn:hover {
    color: var(--gray-700);
}

.view-btn.active {
    background: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

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

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

.product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    z-index: 10;
}

.badge-bestseller {
    background: var(--primary);
    color: var(--white);
}

.badge-value {
    background: var(--accent);
    color: var(--white);
}

.badge-premium {
    background: var(--secondary);
    color: var(--white);
}

.product-image {
    height: 200px;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    position: relative;
    overflow: hidden;
}

.product-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--gray-100) 100%);
    opacity: 0.5;
}

.product-image span {
    position: relative;
    z-index: 1;
}

.product-info {
    padding: 24px;
}

.product-category {
    display: inline-block;
    background: var(--gray-100);
    color: var(--gray-600);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.product-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--gray-900);
}

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

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.feature-tag {
    background: var(--gray-100);
    color: var(--gray-700);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 12px;
}

.product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--gray-200);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
}

.stars {
    color: #fbbf24;
    font-size: 14px;
}

.rating-count {
    font-size: 13px;
    color: var(--gray-500);
}

.product-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.product-price span {
    font-size: 14px;
    font-weight: 400;
    color: var(--gray-500);
}

.product-actions {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.product-actions .btn {
    flex: 1;
    padding: 12px 16px;
}

.btn-compare {
    background: var(--gray-100);
    color: var(--gray-700);
    border: none;
}

.btn-compare:hover {
    background: var(--gray-200);
}

.btn-compare.active {
    background: var(--secondary);
    color: var(--white);
}

/* Product Table */
.product-table-container {
    overflow-x: auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.product-table {
    width: 100%;
    border-collapse: collapse;
}

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

.product-table th {
    background: var(--gray-50);
    font-weight: 600;
    color: var(--gray-700);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-table tr:hover {
    background: var(--gray-50);
}

.product-table .product-name {
    display: flex;
    align-items: center;
    gap: 12px;
}

.product-table .product-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.hidden {
    display: none !important;
}

/* Quiz Section */
.quiz-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
}

.quiz-container {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 48px;
    box-shadow: var(--shadow-xl);
}

.quiz-header {
    text-align: center;
    margin-bottom: 32px;
}

.quiz-header h2 {
    margin-bottom: 8px;
}

.quiz-header p {
    color: var(--gray-500);
}

.quiz-progress {
    margin-bottom: 32px;
}

.progress-bar {
    height: 8px;
    background: var(--gray-200);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: var(--radius-full);
    transition: width 0.5s ease;
    width: 20%;
}

.progress-text {
    font-size: 14px;
    color: var(--gray-500);
}

.quiz-question {
    margin-bottom: 24px;
}

.quiz-question h3 {
    font-size: 20px;
    margin-bottom: 20px;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quiz-option {
    padding: 16px 20px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 12px;
}

.quiz-option:hover {
    border-color: var(--primary);
    background: var(--primary-light);
}

.quiz-option.selected {
    border-color: var(--primary);
    background: var(--primary-light);
}

.quiz-option-icon {
    font-size: 24px;
}

.quiz-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 32px;
}

.quiz-result {
    text-align: center;
}

.result-icon {
    width: 80px;
    height: 80px;
    background: var(--accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: 0 auto 24px;
}

.quiz-result h3 {
    font-size: 24px;
    margin-bottom: 24px;
}

.recommended-product {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: left;
}

/* Compare Section */
.compare-section {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.compare-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.compare-slot select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 14px;
    background: var(--white);
    cursor: pointer;
}

.compare-slot select:focus {
    outline: none;
    border-color: var(--primary);
}

.compare-table-container {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

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

.compare-table th {
    background: var(--gray-50);
    font-weight: 600;
}

.compare-table th:first-child,
.compare-table td:first-child {
    text-align: left;
    font-weight: 600;
    background: var(--gray-50);
    position: sticky;
    left: 0;
}

.compare-table tr:last-child td {
    border-bottom: none;
}

.compare-check {
    color: var(--accent);
    font-size: 20px;
}

.compare-x {
    color: var(--gray-400);
    font-size: 20px;
}

/* Guide Section */
.guide-section {
    padding: var(--section-padding) 0;
    background: var(--gray-50);
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.guide-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
}

.guide-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.guide-card h3 {
    margin-bottom: 16px;
}

.guide-card ul {
    list-style: none;
}

.guide-card li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: var(--gray-600);
    font-size: 14px;
}

.guide-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

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

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--gray-50);
}

.faq-icon {
    font-size: 24px;
    color: var(--primary);
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 24px 20px;
    color: var(--gray-600);
    line-height: 1.7;
}

/* SEO Content Section */
.seo-content {
    padding: var(--section-padding) 0;
    background: var(--gray-50);
}

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

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

.seo-text p {
    margin-bottom: 20px;
    color: var(--gray-600);
    line-height: 1.8;
    text-align: justify;
}

.seo-text strong {
    color: var(--gray-800);
}

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

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

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand .logo-icon {
    background: var(--primary);
}

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

.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
}

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

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

.footer-links a {
    font-size: 14px;
    color: var(--gray-400);
    transition: var(--transition);
}

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

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

.footer-bottom p {
    font-size: 14px;
    margin-bottom: 8px;
}

.affiliate-disclosure {
    font-size: 12px;
    color: var(--gray-500);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        order: 1;
    }

    .hero-image {
        order: 0;
        margin-bottom: 40px;
    }

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

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

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

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

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

    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid var(--gray-200);
        box-shadow: var(--shadow-md);
    }

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

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

    .hero {
        padding-top: 120px;
        min-height: auto;
    }

    .hero-kit-visual {
        width: 250px;
        height: 250px;
    }

    .kit-box {
        width: 140px;
        height: 120px;
    }

    .kit-cross {
        font-size: 50px;
    }

    .floating-item {
        font-size: 28px;
    }

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

    .product-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .view-toggle {
        margin-left: 0;
        justify-content: center;
    }

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

    .compare-selector {
        grid-template-columns: 1fr;
    }

    .quiz-container {
        padding: 32px 24px;
    }

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

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
    }

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

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-card {
        padding: 20px 16px;
    }

    .category-icon {
        font-size: 36px;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

/* Utility Classes */
.text-center { text-align: center; }
.mt-4 { margin-top: 16px; }
.mb-4 { margin-bottom: 16px; }
