/* Best Stickers Australia - Modern CSS */

/* ========== CSS Variables ========== */
:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #f59e0b;
    --secondary-dark: #d97706;
    --accent: #10b981;
    --background: #0f172a;
    --background-light: #1e293b;
    --surface: #334155;
    --surface-light: #475569;
    --text: #f8fafc;
    --text-muted: #94a3b8;
    --text-dark: #64748b;
    --white: #ffffff;
    --black: #000000;
    --success: #22c55e;
    --warning: #f59e0b;
    --error: #ef4444;
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #d946ef 100%);
    --gradient-warm: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.5);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.hidden {
    display: none !important;
}

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

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--surface-light);
}

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

.btn-amazon {
    background: #ff9900;
    color: #000;
    font-weight: 700;
}

.btn-amazon:hover {
    background: #ffac31;
    transform: translateY(-2px);
}

.btn-small {
    padding: 10px 20px;
    font-size: 0.875rem;
}

/* ========== Header & Navigation ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--surface);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
}

.logo-icon {
    font-size: 1.75rem;
    color: var(--secondary);
}

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

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

.nav-links a {
    font-weight: 500;
    color: var(--text-muted);
}

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

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

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

/* ========== Hero Section ========== */
.hero {
    padding: 140px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(ellipse at top right, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
                radial-gradient(ellipse at bottom left, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
}

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

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--surface);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary-light);
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 500px;
}

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

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

.stat {
    text-align: center;
}

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

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

.hero-visual {
    position: relative;
    height: 400px;
}

.sticker-showcase {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-sticker {
    position: absolute;
    font-size: 4rem;
    animation: float 3s ease-in-out infinite;
}

.s1 { top: 10%; left: 20%; animation-delay: 0s; }
.s2 { top: 30%; right: 15%; animation-delay: 0.5s; }
.s3 { top: 60%; left: 10%; animation-delay: 1s; }
.s4 { bottom: 20%; right: 25%; animation-delay: 1.5s; }
.s5 { top: 45%; left: 45%; animation-delay: 2s; font-size: 5rem; }

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* ========== Section Styles ========== */
.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 40px;
}

/* ========== Categories ========== */
.categories {
    padding: 60px 0;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px 16px;
    background: var(--background-light);
    border: 2px solid var(--surface);
    border-radius: var(--radius-lg);
    color: var(--text);
    transition: var(--transition);
}

.category-card:hover,
.category-card.active {
    border-color: var(--primary);
    background: var(--surface);
}

.category-card.active {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.2));
}

.category-icon {
    font-size: 2rem;
}

.category-name {
    font-size: 0.875rem;
    font-weight: 500;
    text-align: center;
}

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

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.products-header .section-title {
    margin-bottom: 0;
    text-align: left;
}

.view-toggle {
    display: flex;
    gap: 8px;
    background: var(--surface);
    padding: 4px;
    border-radius: var(--radius-sm);
}

.view-btn {
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
}

.view-btn:hover,
.view-btn.active {
    background: var(--primary);
    color: var(--white);
}

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

.product-card {
    background: var(--background);
    border: 1px solid var(--surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

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

.product-image {
    position: relative;
    height: 200px;
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    background: var(--secondary);
    color: var(--black);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 50px;
}

.product-compare-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: var(--background);
    border: 2px solid var(--surface);
    border-radius: 50%;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.product-compare-btn:hover,
.product-compare-btn.active {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(16, 185, 129, 0.1);
}

.product-content {
    padding: 20px;
}

.product-category {
    font-size: 0.75rem;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.product-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.3;
}

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

.stars {
    color: var(--secondary);
    letter-spacing: 2px;
}

.rating-count {
    font-size: 0.875rem;
    color: var(--text-muted);
}

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

.feature-tag {
    padding: 4px 10px;
    background: var(--surface);
    border-radius: 50px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent);
}

.product-link {
    padding: 10px 20px;
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: var(--radius-sm);
}

.product-link:hover {
    background: var(--primary-dark);
}

/* Products Table */
.products-table-wrapper {
    overflow-x: auto;
}

.products-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--background);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

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

.products-table th {
    background: var(--surface);
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
}

.products-table tr:hover td {
    background: var(--background-light);
}

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

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

.table-features {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.table-features .feature-tag {
    font-size: 0.7rem;
}

/* ========== Compare Section ========== */
.compare-section {
    padding: 80px 0;
}

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

.compare-slot {
    min-height: 300px;
    background: var(--background-light);
    border: 2px dashed var(--surface);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.compare-slot:hover {
    border-color: var(--primary);
}

.compare-slot-empty {
    text-align: center;
    color: var(--text-muted);
}

.plus-icon {
    display: block;
    font-size: 3rem;
    color: var(--surface-light);
    margin-bottom: 8px;
}

.compare-slot-filled {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 20px;
}

.remove-compare {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: var(--error);
    color: var(--white);
    border-radius: 50%;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.compare-product-info {
    text-align: center;
}

.compare-product-icon {
    font-size: 4rem;
    margin-bottom: 16px;
}

.compare-product-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.compare-product-price {
    color: var(--accent);
    font-weight: 700;
}

/* Compare Table */
.compare-table-wrapper {
    overflow-x: auto;
}

.compare-details-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--background-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

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

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

.compare-details-table td:first-child {
    text-align: left;
    font-weight: 500;
    color: var(--text-muted);
    background: var(--surface);
}

.check-yes {
    color: var(--success);
    font-size: 1.25rem;
}

.check-no {
    color: var(--text-dark);
    font-size: 1.25rem;
}

/* ========== Modal ========== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 24px;
}

.modal-content {
    background: var(--background-light);
    border-radius: var(--radius-xl);
    padding: 32px;
    max-width: 800px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: var(--surface);
    border-radius: 50%;
    color: var(--text);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: var(--error);
}

.modal-content h3 {
    margin-bottom: 24px;
    font-size: 1.5rem;
}

.modal-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.modal-product-item {
    padding: 16px;
    background: var(--surface);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
}

.modal-product-item:hover {
    border-color: var(--primary);
}

.modal-product-item .icon {
    font-size: 2.5rem;
    margin-bottom: 8px;
}

.modal-product-item .name {
    font-weight: 500;
    font-size: 0.875rem;
}

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

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

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

.quiz-badge {
    display: inline-block;
    padding: 6px 14px;
    background: var(--gradient-primary);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.quiz-header h2 {
    font-size: 2rem;
    margin-bottom: 12px;
}

.quiz-header p {
    color: var(--text-muted);
}

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

.progress-bar {
    height: 8px;
    background: var(--surface);
    border-radius: 50px;
    overflow: hidden;
    margin-bottom: 12px;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 50px;
    transition: width 0.5s ease;
}

.progress-text {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.quiz-question h3 {
    font-size: 1.25rem;
    margin-bottom: 24px;
    text-align: center;
}

.quiz-options {
    display: grid;
    gap: 12px;
}

.quiz-option {
    padding: 16px 24px;
    background: var(--background-light);
    border: 2px solid var(--surface);
    border-radius: var(--radius-md);
    text-align: left;
    color: var(--text);
    font-size: 1rem;
    transition: var(--transition);
}

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

.quiz-option.selected {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.2);
}

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

.results-icon {
    font-size: 4rem;
    margin-bottom: 16px;
}

.quiz-results h3 {
    font-size: 1.75rem;
    margin-bottom: 32px;
}

.recommended-products {
    display: grid;
    gap: 16px;
    margin-bottom: 32px;
}

.recommended-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--background-light);
    border-radius: var(--radius-md);
    text-align: left;
}

.recommended-item .icon {
    font-size: 2.5rem;
}

.recommended-item .info {
    flex: 1;
}

.recommended-item .name {
    font-weight: 600;
    margin-bottom: 4px;
}

.recommended-item .match {
    font-size: 0.875rem;
    color: var(--accent);
}

/* ========== Testimonials ========== */
.testimonials {
    padding: 80px 0;
    background: var(--background-light);
}

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

.testimonial-card {
    background: var(--background);
    border: 1px solid var(--surface);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.testimonial-stars {
    color: var(--secondary);
    margin-bottom: 16px;
    letter-spacing: 4px;
}

.testimonial-card p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-style: italic;
}

.author-name {
    display: block;
    font-weight: 600;
    color: var(--text);
}

.author-location {
    font-size: 0.875rem;
    color: var(--text-dark);
}

/* ========== SEO Content Section ========== */
.seo-content {
    padding: 80px 0;
    background: var(--background);
}

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

.seo-content h2 {
    font-size: 2rem;
    margin-bottom: 24px;
    color: var(--text);
}

.seo-content h3 {
    font-size: 1.5rem;
    margin-top: 32px;
    margin-bottom: 16px;
    color: var(--primary-light);
}

.seo-content p {
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.8;
}

.seo-list {
    margin: 20px 0;
    padding-left: 20px;
}

.seo-list li {
    color: var(--text-muted);
    margin-bottom: 12px;
    line-height: 1.7;
    position: relative;
    padding-left: 24px;
}

.seo-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.seo-footer-note {
    margin-top: 32px;
    padding: 20px;
    background: var(--background-light);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    color: var(--text-dark);
    border-left: 4px solid var(--primary);
}

/* ========== Footer ========== */
.footer {
    background: var(--background-light);
    border-top: 1px solid var(--surface);
    padding: 60px 0 24px;
}

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

.footer-brand p {
    color: var(--text-muted);
    margin-top: 16px;
    max-width: 300px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text);
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column a {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer-column a:hover {
    color: var(--primary-light);
}

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

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.affiliate-disclosure {
    margin-top: 8px;
    font-size: 0.75rem !important;
    color: var(--text-dark) !important;
}

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

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

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

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

    .hero-visual {
        display: none;
    }

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

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

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--background);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--surface);
    }

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

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

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

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

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

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

    .products-header {
        flex-direction: column;
        gap: 20px;
    }

    .products-header .section-title {
        text-align: center;
    }

    .quiz-container {
        padding: 24px;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
}

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

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

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

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

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

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

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

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