/* ================================
   Rose Toy Australia - Styles
   Modern, Elegant UI/UX
   ================================ */

/* CSS Variables */
:root {
    --primary: #e91e63;
    --primary-dark: #c2185b;
    --primary-light: #f8bbd9;
    --secondary: #1a1a2e;
    --accent: #ff6b9d;
    --background: #fafafa;
    --surface: #ffffff;
    --text: #2d2d2d;
    --text-light: #666666;
    --text-muted: #999999;
    --border: #e8e8e8;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 30px rgba(233, 30, 99, 0.15);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--background);
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.3;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(233, 30, 99, 0.4);
}

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

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

.btn-large {
    padding: 18px 36px;
    font-size: 17px;
}

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

.navbar.scrolled {
    box-shadow: var(--shadow);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
}

.logo-icon {
    font-size: 28px;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
}

.au-badge {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    background: var(--primary);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    vertical-align: super;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 36px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
}

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

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

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 24px 80px;
    background: linear-gradient(135deg, #fff5f8 0%, #ffffff 50%, #fef0f5 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 70%;
    height: 140%;
    background: radial-gradient(circle, rgba(233, 30, 99, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    max-width: 600px;
    position: relative;
    z-index: 2;
}

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

.hero h1 {
    margin-bottom: 20px;
    color: var(--secondary);
}

.hero h1 .highlight {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

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

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

.stat-number {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
}

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

.hero-visual {
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
}

.floating-rose {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    position: relative;
    animation: float 6s ease-in-out infinite;
    opacity: 0.3;
}

.floating-rose::before {
    content: '🌹';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 120px;
    opacity: 0.8;
}

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

/* Features Bar */
.features-bar {
    background: var(--secondary);
    padding: 20px 0;
}

.features-bar .container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
}

.feature-icon {
    font-size: 20px;
}

.feature-text {
    font-size: 14px;
    font-weight: 500;
}

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

.section-header h2 {
    margin-bottom: 12px;
    color: var(--secondary);
}

.section-header p {
    color: var(--text-light);
    font-size: 17px;
}

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

.filter-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
}

.view-toggle {
    display: flex;
    gap: 8px;
}

.view-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
}

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

.filter-group {
    display: flex;
    gap: 12px;
}

.filter-select {
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: white;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text);
    cursor: pointer;
    min-width: 160px;
}

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

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

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

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

.product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--primary);
    color: white;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

.product-badge.new {
    background: #4caf50;
}

.product-badge.sale {
    background: #ff5722;
}

.product-image {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fff5f8, #fef0f5);
    font-size: 80px;
    position: relative;
}

.product-compare-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 16px;
}

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

.product-info {
    padding: 20px;
}

.product-category {
    font-size: 12px;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.product-name {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 8px;
}

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

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

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

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

.feature-tag {
    background: var(--background);
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 11px;
    color: var(--text-light);
}

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

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

.product-price .original {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: line-through;
    font-weight: 400;
    margin-left: 8px;
}

.product-cta {
    padding: 10px 20px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    font-size: 14px;
}

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

/* Product Table */
.product-table-container {
    overflow-x: auto;
}

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

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

.product-table th {
    background: var(--secondary);
    color: white;
    font-weight: 600;
    font-size: 14px;
}

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

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

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

/* Quiz Section */
.quiz-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #fff5f8 0%, #ffffff 100%);
}

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

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

.quiz-badge {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary-dark);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
}

.quiz-header h2 {
    margin-bottom: 12px;
    color: var(--secondary);
}

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

.quiz-start {
    text-align: center;
    padding: 40px 0;
}

.quiz-illustration {
    font-size: 80px;
    margin-bottom: 24px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.quiz-start h3 {
    margin-bottom: 12px;
    color: var(--secondary);
}

.quiz-start p {
    color: var(--text-light);
    margin-bottom: 32px;
}

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

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

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 3px;
    transition: width 0.3s ease;
    width: 25%;
}

.progress-text {
    font-size: 13px;
    color: var(--text-muted);
}

.question-container h3 {
    text-align: center;
    margin-bottom: 28px;
    color: var(--secondary);
}

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

.quiz-option {
    padding: 16px 20px;
    background: var(--background);
    border: 2px solid transparent;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--text);
}

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

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

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

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

.result-header {
    margin-bottom: 32px;
}

.result-badge {
    display: inline-block;
    background: #4caf50;
    color: white;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
}

.result-product {
    margin-bottom: 24px;
}

.result-product .product-card {
    max-width: 320px;
    margin: 0 auto;
}

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

.compare-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.compare-slot {
    flex: 1;
    min-width: 200px;
    max-width: 280px;
}

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

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

.compare-preview {
    margin-top: 16px;
    text-align: center;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.compare-preview .preview-image {
    font-size: 50px;
    margin-bottom: 8px;
}

.compare-preview .preview-name {
    font-weight: 600;
    color: var(--secondary);
    font-size: 14px;
}

.compare-vs {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.compare-table-container {
    overflow-x: auto;
}

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

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

.compare-table th {
    background: var(--secondary);
    color: white;
    font-weight: 600;
}

.compare-table th:first-child {
    text-align: left;
    background: var(--primary);
}

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

.compare-table .check {
    color: #4caf50;
    font-size: 20px;
}

.compare-table .cross {
    color: #ef5350;
    font-size: 20px;
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background: white;
}

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

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 500;
    color: var(--secondary);
    text-align: left;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary);
}

.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: 500px;
}

.faq-answer p {
    padding-bottom: 24px;
    color: var(--text-light);
    line-height: 1.8;
}

/* SEO Section */
.seo-section {
    padding: 80px 0;
    background: var(--background);
    border-top: 1px solid var(--border);
}

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

.seo-content h2 {
    color: var(--secondary);
    margin-bottom: 24px;
    font-size: 28px;
}

.seo-content h3 {
    color: var(--secondary);
    margin: 32px 0 16px;
    font-size: 20px;
}

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

/* Footer */
.footer {
    background: var(--secondary);
    color: white;
    padding: 80px 0 40px;
}

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

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

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.7;
}

.footer-links h4 {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

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

.footer-newsletter h4 {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 12px;
}

.footer-newsletter p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 16px;
}

.newsletter-form {
    display: flex;
    gap: 12px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 14px;
}

.newsletter-form input:focus {
    outline: none;
}

.newsletter-form .btn {
    padding: 12px 20px;
    white-space: nowrap;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 32px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    margin-bottom: 8px;
}

.affiliate-disclosure {
    font-size: 12px !important;
    max-width: 700px;
    margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-visual {
        display: none;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

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

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

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

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

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

    .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-top: 100px;
        min-height: auto;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .features-bar .container {
        justify-content: center;
    }

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

    .filter-group {
        flex-direction: column;
    }

    .filter-select {
        width: 100%;
    }

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

    .compare-selector {
        flex-direction: column;
    }

    .compare-vs {
        display: none;
    }

    .compare-slot {
        max-width: 100%;
    }

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

    .newsletter-form {
        flex-direction: column;
    }
}

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

    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }

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

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