/* RoastMySite.co.za - Professional South African Website Auditing */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background: #000000;
    color: #ffffff;
    overflow-x: hidden;
}

/* Animated background */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(45deg, #ffff00, #ffd700, #fff200, #ffff00);
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
    opacity: 0.03;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
}

/* Site Header with Logo */
.site-header {
    padding: 20px 0;
    margin-bottom: 40px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    animation: fadeInDown 1s ease-out;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.site-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 15px rgba(255, 255, 0, 0.3));
    border-radius: 12px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 0, 0.2);
}

.site-logo:hover {
    transform: scale(1.05) rotate(5deg);
    filter: drop-shadow(0 8px 25px rgba(255, 255, 0, 0.5));
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 0, 0.4);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffff00;
    text-shadow: 0 2px 10px rgba(255, 255, 0, 0.3);
    font-family: 'Space Grotesk', sans-serif;
}

.domain-suffix {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    margin-top: -2px;
}

/* Header Section */
.hero {
    text-align: center;
    padding: 60px 0 80px;
    position: relative;
}

.hero-emoji {
    font-size: 8rem;
    margin-bottom: 20px;
    animation: bounce 2s infinite;
    display: inline-block;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-20px); }
    60% { transform: translateY(-10px); }
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #ffff00, #ffd700, #fff200);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textGlow 3s ease-in-out infinite alternate;
}

@keyframes textGlow {
    from { filter: drop-shadow(0 0 10px rgba(255, 255, 0, 0.6)); }
    to { filter: drop-shadow(0 0 25px rgba(255, 215, 0, 0.9)); }
}

.hero p {
    font-size: 1.4rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.stats-bar {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 15px 25px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 0, 0.2);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 0, 0.4);
    box-shadow: 0 10px 25px rgba(255, 255, 0, 0.2);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #ffff00;
    font-family: 'JetBrains Mono', monospace;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 5px;
}

/* Main Form */
.audit-container {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 0, 0.2);
    border-radius: 25px;
    padding: 50px;
    margin-bottom: 40px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.audit-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ffff00, #ffd700, #fff200, #ffff00);
    background-size: 400% 100%;
    animation: borderGlow 3s linear infinite;
}

@keyframes borderGlow {
    0% { background-position: 0% 50%; }
    100% { background-position: 400% 50%; }
}

.url-section {
    margin-bottom: 40px;
}

.url-label {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.url-input-container {
    position: relative;
}

.url-input {
    width: 100%;
    padding: 20px 25px;
    font-size: 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 0, 0.3);
    border-radius: 15px;
    color: #ffffff;
    transition: all 0.3s ease;
    font-family: 'JetBrains Mono', monospace;
}

.url-input:focus {
    outline: none;
    border-color: #ffff00;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 25px rgba(255, 255, 0, 0.4);
}

.url-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Visual Options */
.options-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.option-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 0, 0.2);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.option-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 0, 0.6);
    box-shadow: 0 15px 35px rgba(255, 255, 0, 0.2);
}

.option-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffff00;
}

.option-visual {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.option-item {
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
}

.option-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
}

.option-item.selected {
    border-color: #ffff00;
    background: rgba(255, 255, 0, 0.15);
    box-shadow: 0 5px 15px rgba(255, 255, 0, 0.3);
}

.option-radio {
    display: none;
}

.option-indicator {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.option-item.selected .option-indicator {
    border-color: #ffff00;
    background: #ffff00;
}

.option-item.selected .option-indicator::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    background: #000000;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.option-text {
    flex: 1;
}

.option-name {
    font-weight: 600;
    margin-bottom: 5px;
}

.option-desc {
    font-size: 0.9rem;
    opacity: 0.7;
}

.roast-level-visual {
    display: flex;
    gap: 5px;
    margin-left: auto;
}

.heat-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.option-item[data-level="light"].selected .heat-dot:nth-child(1) { background: #ffff00; }
.option-item[data-level="medium"].selected .heat-dot:nth-child(-n+2) { background: #ffd700; }
.option-item[data-level="dark"].selected .heat-dot { background: #ff6600; }

/* Roast Button */
.roast-button {
    width: 100%;
    padding: 25px;
    font-size: 1.4rem;
    font-weight: 700;
    background: linear-gradient(45deg, #ffff00, #ffd700);
    color: #000000;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    font-family: 'Space Grotesk', sans-serif;
}

.roast-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.roast-button:hover::before {
    left: 100%;
}

.roast-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 255, 0, 0.5);
}

.roast-button:active {
    transform: translateY(0);
}

.roast-button:disabled {
    background: #333;
    cursor: not-allowed;
    transform: none;
}

/* Loading State */
.loading {
    text-align: center;
    padding: 60px 40px;
    display: none;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 0, 0.2);
    backdrop-filter: blur(20px);
}

.loading-visual {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    position: relative;
}

.loading-fire {
    font-size: 6rem;
    animation: fireFlicker 1.5s ease-in-out infinite;
}

@keyframes fireFlicker {
    0%, 100% { transform: scale(1) rotate(-2deg); }
    25% { transform: scale(1.1) rotate(2deg); }
    50% { transform: scale(0.95) rotate(-1deg); }
    75% { transform: scale(1.05) rotate(1deg); }
}

.loading-text {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #ffff00;
}

.loading-subtext {
    font-size: 1.1rem;
    opacity: 0.7;
}

/* Results Section */
.results {
    display: none;
    margin-top: 40px;
}

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

.results-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(45deg, #ffff00, #ffd700);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Results Section Enhanced */
.results {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.results-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.results-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(45deg, #ffff00, #ffd700, #fff200);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
}

.results-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ffff00, transparent);
    border-radius: 2px;
}

/* News Choice Section */
.news-choice {
    text-align: center;
    padding: 50px 40px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 0, 0.02));
    border: 2px solid rgba(255, 255, 0, 0.3);
    border-radius: 25px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.news-choice::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #ffff00, #ffd700, #fff200, #ffff00);
    background-size: 400% 100%;
    animation: borderGlow 3s linear infinite;
}

.news-choice::after {
    content: '🤔💭';
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 1.5rem;
    opacity: 0.3;
    animation: float 3s ease-in-out infinite;
}

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

.choice-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffff00;
    text-shadow: 0 2px 10px rgba(255, 255, 0, 0.3);
}

.choice-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 35px;
    font-weight: 500;
}

.choice-buttons {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
}

.choice-btn {
    padding: 25px 40px;
    font-size: 1.3rem;
    font-weight: 700;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    min-width: 280px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.choice-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.choice-btn:hover::before {
    left: 100%;
}

.good-news-btn {
    background: linear-gradient(135deg, #4caf50, #66bb6a, #81c784);
    color: white;
    background-size: 200% 200%;
    animation: gradientShift 4s ease infinite;
}

.good-news-btn:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(76, 175, 80, 0.4);
}

.bad-news-btn {
    background: linear-gradient(135deg, #f44336, #e53935, #ef5350);
    color: white;
    background-size: 200% 200%;
    animation: gradientShift 4s ease infinite;
}

.bad-news-btn:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(244, 67, 54, 0.4);
}

/* News Sections Enhanced */
.news-section {
    margin-bottom: 40px;
    animation: slideInFromSide 0.8s ease-out;
}

@keyframes slideInFromSide {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

.news-header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.news-header h3 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    display: inline-block;
}

.good-news-section .news-header h3 {
    background: linear-gradient(45deg, #4caf50, #66bb6a, #81c784);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bad-news-section .news-header h3 {
    background: linear-gradient(45deg, #f44336, #e53935, #ff5722);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.news-header h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    border-radius: 2px;
    opacity: 0.6;
}

.good-news-section .news-header h3::after {
    background: linear-gradient(90deg, transparent, #4caf50, transparent);
}

.bad-news-section .news-header h3::after {
    background: linear-gradient(90deg, transparent, #f44336, transparent);
}

.news-card {
    border-radius: 25px;
    padding: 50px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    transition: all 0.4s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 35px 60px rgba(0, 0, 0, 0.5);
}

.good-news-card {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.15), rgba(102, 187, 106, 0.1), rgba(129, 199, 132, 0.08));
    border: 2px solid rgba(76, 175, 80, 0.5);
    position: relative;
}

.good-news-card::before {
    content: '🎉✨';
    position: absolute;
    top: 25px;
    right: 30px;
    font-size: 2.5rem;
    opacity: 0.4;
    animation: bounce 3s ease-in-out infinite;
}

.good-news-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #4caf50, #66bb6a, #81c784, #4caf50);
    background-size: 300% 100%;
    animation: borderGlow 4s linear infinite;
}

.bad-news-card {
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.15), rgba(229, 57, 53, 0.1), rgba(239, 83, 80, 0.08));
    border: 2px solid rgba(244, 67, 54, 0.5);
    position: relative;
}

.bad-news-card::before {
    content: '🔥💀';
    position: absolute;
    top: 25px;
    right: 30px;
    font-size: 2.5rem;
    opacity: 0.4;
    animation: fireFlicker 2s ease-in-out infinite;
}

.bad-news-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #f44336, #e53935, #ef5350, #f44336);
    background-size: 300% 100%;
    animation: borderGlow 4s linear infinite;
}

.news-content {
    font-size: 1.35rem;
    line-height: 1.8;
    color: #ffffff;
    font-weight: 400;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.next-news-btn {
    display: block;
    margin: 30px auto 0;
    padding: 22px 45px;
    font-size: 1.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffff00, #ffd700, #fff200);
    color: #000000;
    border: none;
    border-radius: 18px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(255, 255, 0, 0.3);
}

.next-news-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.next-news-btn:hover::before {
    left: 100%;
}

.next-news-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 20px 40px rgba(255, 255, 0, 0.5);
}

.good-news-style {
    background: linear-gradient(135deg, #4caf50, #66bb6a, #81c784) !important;
    color: white !important;
}

.good-news-style:hover {
    box-shadow: 0 20px 40px rgba(76, 175, 80, 0.5) !important;
}

.roast-card {
    background: rgba(255, 255, 0, 0.08);
    border: 1px solid rgba(255, 255, 0, 0.4);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.roast-card::before {
    content: '🔥';
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    opacity: 0.3;
}

.roast-content {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #ffffff;
}

/* Enhanced Scores Section with Better Layout */
.scores-section {
    margin: 60px 0;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

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

.scores-title {
    font-size: 2rem;
    font-weight: 700;
    color: #ffff00;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(255, 255, 0, 0.3);
}

.scores-subtitle {
    font-size: 1.1rem;
    opacity: 0.8;
    color: #ffffff;
}

/* Overall Score - Featured Section */
.overall-score-section {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

.overall-score-card {
    background: linear-gradient(135deg, rgba(255, 255, 0, 0.2), rgba(255, 215, 0, 0.15), rgba(255, 255, 0, 0.1));
    border: 3px solid rgba(255, 255, 0, 0.6);
    border-radius: 30px;
    padding: 50px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: 0 30px 60px rgba(255, 255, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-width: 400px;
    width: 100%;
}

.overall-score-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ffff00, #ffd700, #fff200, #ffff00);
    background-size: 400% 100%;
    animation: borderGlow 3s linear infinite;
}

.overall-score-card::after {
    content: '🏆';
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2.5rem;
    opacity: 0.4;
    animation: bounce 3s ease-in-out infinite;
}

.overall-score-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 40px 80px rgba(255, 255, 0, 0.3);
}

.overall-score-number {
    font-size: 6rem;
    font-weight: 700;
    margin-bottom: 10px;
    font-family: 'JetBrains Mono', monospace;
    background: linear-gradient(45deg, #ffff00, #ffd700, #fff200);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 5px 20px rgba(255, 255, 0, 0.3);
    animation: countUp 1.5s ease-out 0.5s both;
}

.overall-score-label {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffff00;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.overall-score-grade {
    font-size: 1.1rem;
    opacity: 0.9;
    color: #ffffff;
    font-style: italic;
}

/* Category Scores Grid */
.category-scores-section {
    margin-top: 50px;
}

.category-scores-header {
    text-align: center;
    margin-bottom: 35px;
}

.category-scores-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 10px;
}

.category-scores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.category-score-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 0, 0.02));
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 18px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.category-score-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.category-score-card:hover::before {
    transform: scaleX(1);
}

.category-score-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.3);
}

.category-score-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 12px;
    font-family: 'JetBrains Mono', monospace;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: countUp 1.2s ease-out 0.7s both;
}

.category-score-label {
    font-weight: 600;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-size: 0.9rem;
    color: #ffffff;
    margin-bottom: 8px;
}

.category-score-indicator {
    width: 60px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    margin: 12px auto 0;
    position: relative;
    overflow: hidden;
}

.category-score-indicator::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    border-radius: 2px;
    transition: width 1.5s ease-out 1s;
}

/* Score color indicators */
.score-excellent { color: #4caf50; }
.score-good { color: #8bc34a; }
.score-average { color: #ff9800; }
.score-poor { color: #ff6600; }
.score-bad { color: #f44336; }

.score-excellent .category-score-indicator::after { 
    background: #4caf50; 
    width: 100%; 
}

.score-good .category-score-indicator::after { 
    background: #8bc34a; 
    width: 80%; 
}

.score-average .category-score-indicator::after { 
    background: #ff9800; 
    width: 60%; 
}

.score-poor .category-score-indicator::after { 
    background: #ff6600; 
    width: 40%; 
}

.score-bad .category-score-indicator::after { 
    background: #f44336; 
    width: 20%; 
}

@keyframes countUp {
    from { opacity: 0; transform: scale(0.5); }
    to { opacity: 1; transform: scale(1); }
}

.upgrade-card {
    background: linear-gradient(135deg, rgba(255, 255, 0, 0.1), rgba(255, 215, 0, 0.15));
    border: 2px solid rgba(255, 255, 0, 0.6);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
}

.upgrade-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 0, 0.1), transparent);
    transform: translateX(-100%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    100% { transform: translateX(100%); }
}

.upgrade-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffff00;
}

.upgrade-text {
    font-size: 1.1rem;
    margin-bottom: 25px;
    opacity: 0.9;
}

.upgrade-button {
    background: linear-gradient(45deg, #ffff00, #ffd700);
    color: #000000;
    padding: 18px 35px;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.upgrade-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 0, 0.5);
}

.new-roast-section {
    text-align: center;
    margin-top: 30px;
}

.new-audit-btn {
    background: linear-gradient(45deg, #007749, #4caf50);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.new-audit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 119, 73, 0.4);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .site-header {
        padding: 15px 0;
        margin-bottom: 30px;
    }
    
    .logo-container {
        gap: 12px;
    }
    
    .site-logo {
        width: 50px;
        height: 50px;
        padding: 6px;
    }
    
    .brand-name {
        font-size: 1.5rem;
    }
    
    .domain-suffix {
        font-size: 0.9rem;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero-emoji {
        font-size: 5rem;
    }
    
    .options-section {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .audit-container {
        padding: 30px 25px;
    }
    
    .stats-bar {
        gap: 20px;
    }
    
    .stat-item {
        padding: 12px 20px;
    }

    .scores-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }

    .score-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .site-logo {
        width: 45px;
        height: 45px;
        padding: 5px;
    }
    
    .brand-name {
        font-size: 1.3rem;
    }
    
    .domain-suffix {
        font-size: 0.8rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .tagline {
        font-size: 1rem;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
    
    .audit-form {
        padding: 20px;
    }
}

/* South African Flag Emoji Easter Egg */
.sa-pride {
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 2rem;
    opacity: 0.7;
    transition: all 0.3s ease;
    cursor: pointer;
    z-index: 100;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    animation: subtlePulse 4s ease-in-out infinite;
}

.sa-pride:hover {
    opacity: 1;
    transform: scale(1.2);
    animation: none;
}

@keyframes subtlePulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.05); opacity: 0.9; }
}

/* Real AI Roast Styling */
.roast-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.roast-icon {
    font-size: 24px;
    animation: pulse 2s infinite;
}

.roast-label {
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.roast-content {
    font-size: 16px;
    line-height: 1.6;
    text-align: left;
}

.percentage {
    color: #ffd700;
    font-weight: bold;
    background: rgba(255, 215, 0, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
}

.recommendations-section {
    margin-top: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border-left: 4px solid #ffd700;
}

.recommendations-header {
    color: #ffd700;
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: bold;
}

.recommendations-list {
    list-style: none;
    padding: 0;
}

.recommendation-item {
    margin-bottom: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border-left: 3px solid #ff6b35;
}

.business-value {
    color: #90EE90;
    font-style: italic;
    display: block;
    margin-top: 5px;
}

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

