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

:root {
    --navy: #1a1f3a;
    --navy-light: #2c3454;
    --tomato: #e74c3c;
    --tomato-dark: #c0392b;
    --gold: #f39c12;
    --cream: #fef5e7;
    --white: #ffffff;
    --gray-light: #f8f9fa;
    --gray: #6c757d;
    --gray-dark: #343a40;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-lg: rgba(0, 0, 0, 0.2);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--gray-dark);
    line-height: 1.7;
    overflow-x: hidden;
    background: var(--white);
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(26, 31, 58, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 20px var(--shadow);
    transition: all 0.3s ease;
}

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

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--white);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--tomato);
    transition: width 0.3s ease;
}

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

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

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, var(--tomato-dark) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 6rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '⚖️';
    position: absolute;
    font-size: 30rem;
    opacity: 0.03;
    top: 50%;
    left: 10%;
    transform: translate(-50%, -50%) rotate(-15deg);
    animation: float 20s ease-in-out infinite;
}

.hero::after {
    content: '🍕';
    position: absolute;
    font-size: 25rem;
    opacity: 0.03;
    top: 50%;
    right: 10%;
    transform: translate(50%, -50%) rotate(15deg);
    animation: float 25s ease-in-out infinite reverse;
}

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

.hero-content {
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

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

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: 900;
    color: var(--white);
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    line-height: 1.1;
}

.title-line {
    display: block;
    animation: slideIn 0.8s ease-out backwards;
}

.title-line:first-child {
    animation-delay: 0.2s;
}

.title-line:last-child {
    animation-delay: 0.6s;
}

.title-symbol {
    font-size: 0.6em;
    color: var(--gold);
    animation: slideIn 0.8s ease-out backwards;
    animation-delay: 0.4s;
}

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

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 2rem);
    color: var(--cream);
    margin-bottom: 1rem;
    font-weight: 300;
    animation: fadeIn 1s ease-out 0.8s backwards;
}

.hero-tagline {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 3rem;
    animation: fadeIn 1s ease-out 1s backwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hero-icons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    font-size: 3rem;
    animation: fadeIn 1s ease-out 1.2s backwards;
}

.hero-icons .icon {
    animation: bounce 2s ease-in-out infinite;
    display: inline-block;
}

.hero-icons .icon:nth-child(2) { animation-delay: 0.2s; }
.hero-icons .icon:nth-child(3) { animation-delay: 0.4s; }
.hero-icons .icon:nth-child(4) { animation-delay: 0.6s; }

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

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--white);
    animation: fadeIn 1s ease-out 1.5s backwards;
}

.scroll-indicator span {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.scroll-arrow {
    font-size: 2rem;
    animation: arrowBounce 2s ease-in-out infinite;
}

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

/* Section Styles */
section {
    padding: 6rem 0;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--navy);
    position: relative;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, var(--tomato), var(--gold));
    border-radius: 2px;
}

.section-intro {
    text-align: center;
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* Intersection Section */
.intersection {
    background: var(--gray-light);
}

.intro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.intro-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.intro-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-lg);
}

.intro-card.highlight {
    background: linear-gradient(135deg, var(--tomato) 0%, var(--tomato-dark) 100%);
    color: var(--white);
}

.card-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.intro-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: inherit;
}

.intro-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: inherit;
    opacity: 0.9;
}

.philosophy {
    text-align: center;
    padding: 3rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow);
}

.philosophy blockquote {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-style: italic;
    color: var(--navy);
    line-height: 1.6;
    margin-bottom: 1rem;
    position: relative;
}

.philosophy blockquote::before {
    content: '"';
    font-size: 6rem;
    position: absolute;
    top: -2rem;
    left: -1rem;
    color: var(--tomato);
    opacity: 0.3;
}

.philosophy cite {
    display: block;
    font-size: 1rem;
    color: var(--gray);
    font-style: normal;
    margin-top: 1rem;
}

/* Cases Section */
.cases {
    background: var(--white);
}

.cases-grid {
    display: grid;
    gap: 3rem;
    margin-top: 3rem;
}

.case-card {
    background: var(--white);
    border: 2px solid var(--gray-light);
    border-radius: 20px;
    padding: 3rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.case-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, var(--tomato), var(--gold));
    transform: scaleY(0);
    transition: transform 0.3s ease;
    transform-origin: bottom;
}

.case-card:hover::before {
    transform: scaleY(1);
    transform-origin: top;
}

.case-card:hover {
    border-color: var(--tomato);
    box-shadow: 0 20px 40px var(--shadow-lg);
    transform: translateY(-5px);
}

.case-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.case-icon {
    font-size: 3rem;
}

.case-year {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--tomato);
    padding: 0.5rem 1rem;
    background: var(--cream);
    border-radius: 10px;
}

.case-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.case-citation {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.case-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--gray-dark);
}

.case-significance {
    background: var(--cream);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--gold);
}

.case-significance strong {
    color: var(--tomato);
    display: block;
    margin-bottom: 0.5rem;
}

/* Debate Section */
.debate {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: var(--white);
}

.debate .section-title,
.debate .section-intro {
    color: var(--white);
}

.debate-hero {
    margin: 4rem 0;
    text-align: center;
}

.debate-question {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.question-mark {
    font-size: 5rem;
    color: var(--gold);
    animation: pulse 2s ease-in-out infinite;
}

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

.debate-question h3 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--white);
}

.debate-content {
    background: var(--white);
    color: var(--gray-dark);
    border-radius: 20px;
    padding: 3rem;
    margin-top: 3rem;
}

.debate-section {
    margin-bottom: 3rem;
}

.debate-section h4 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--navy);
    margin-bottom: 1.5rem;
}

.legal-precedents,
.tax-cases {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.precedent,
.tax-case {
    padding: 2rem;
    background: var(--gray-light);
    border-radius: 15px;
    border-left: 4px solid var(--tomato);
}

.precedent strong,
.tax-case h5 {
    font-family: 'Playfair Display', serif;
    color: var(--navy);
    font-size: 1.3rem;
    display: block;
    margin-bottom: 1rem;
}

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

.implications-list li {
    padding: 1rem;
    margin-bottom: 1rem;
    background: var(--gray-light);
    border-radius: 10px;
    border-left: 4px solid var(--gold);
}

.implications-list strong {
    color: var(--tomato);
}

.debate-conclusion {
    margin-top: 3rem;
    padding: 3rem;
    background: var(--cream);
    border-radius: 20px;
    text-align: center;
}

.debate-conclusion blockquote {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-style: italic;
    color: var(--navy);
    line-height: 1.6;
}

.debate-conclusion cite {
    display: block;
    margin-top: 1rem;
    font-size: 1rem;
    color: var(--gray);
    font-style: normal;
}

/* Facts Section */
.facts {
    background: var(--gray-light);
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.fact-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px var(--shadow);
    transition: all 0.3s ease;
    border-top: 5px solid var(--tomato);
}

.fact-card:hover {
    transform: translateY(-10px) rotate(2deg);
    box-shadow: 0 20px 40px var(--shadow-lg);
}

.fact-number {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 900;
    color: var(--tomato);
    margin-bottom: 1rem;
}

.fact-label {
    font-size: 1.1rem;
    color: var(--gray-dark);
    line-height: 1.5;
}

/* Gallery Section */
.gallery {
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow);
    transition: all 0.3s ease;
    aspect-ratio: 4/3;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(26, 31, 58, 0.95), transparent);
    padding: 2rem 1.5rem 1.5rem;
    color: var(--white);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

.gallery-caption h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.gallery-caption p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Closing Section */
.closing {
    background: var(--gray-light);
}

.closing .container {
    text-align: center;
}

.closing-text {
    font-size: 1.2rem;
    line-height: 1.9;
    max-width: 800px;
    margin: 0 auto 2rem;
    color: var(--gray-dark);
}

.closing-quote {
    margin-top: 4rem;
    padding: 3rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow);
}

.closing-quote blockquote {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-style: italic;
    color: var(--navy);
    line-height: 1.6;
}

.closing-quote cite {
    display: block;
    margin-top: 1rem;
    font-size: 1rem;
    color: var(--gray);
    font-style: normal;
}

/* Footer */
.footer {
    background: var(--navy);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    text-align: center;
}

.footer-disclaimer {
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-disclaimer strong {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    margin-top: 2rem;
}

.footer-bottom p {
    margin: 0.5rem 0;
    opacity: 0.8;
}

.footer-icons {
    font-size: 1.5rem;
    margin-top: 1rem;
}

/* Recipe Section */
.recipe {
    background: linear-gradient(135deg, var(--cream) 0%, var(--gray-light) 100%);
}

.recipe-intro {
    text-align: center;
    font-size: 1.2rem;
    color: var(--gray-dark);
    max-width: 800px;
    margin: 0 auto 2rem;
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    border-left: 5px solid var(--tomato);
}

.recipe-intro a {
    color: var(--tomato);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.recipe-intro a:hover {
    color: var(--tomato-dark);
}

.recipe-content {
    display: grid;
    gap: 3rem;
    margin-top: 3rem;
}

.recipe-section {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.recipe-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--tomato), var(--gold));
}

.recipe-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-lg);
}

.recipe-section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--navy);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--cream);
}

.recipe-subsection {
    margin-top: 2rem;
}

.recipe-subsection h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--tomato);
    margin-bottom: 1rem;
}

.recipe-list {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0;
}

.recipe-list li {
    padding: 0.75rem 0;
    padding-left: 2.5rem;
    position: relative;
    border-bottom: 1px solid var(--gray-light);
    font-size: 1.1rem;
    line-height: 1.6;
}

.recipe-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0.75rem;
    color: var(--tomato);
    font-weight: bold;
    font-size: 1.2rem;
}

.recipe-list li:last-child {
    border-bottom: none;
}

.recipe-steps {
    counter-reset: step-counter;
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0;
}

.recipe-steps li {
    counter-increment: step-counter;
    padding: 1rem;
    padding-left: 3.5rem;
    margin-bottom: 1rem;
    background: var(--gray-light);
    border-radius: 10px;
    position: relative;
    font-size: 1.1rem;
    line-height: 1.7;
}

.recipe-steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: var(--tomato);
    color: var(--white);
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-family: 'Playfair Display', serif;
}

.toppings-list {
    list-style: none;
    padding-left: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.toppings-list li {
    padding: 1rem;
    background: var(--cream);
    border-radius: 10px;
    text-align: center;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.toppings-list li:hover {
    background: var(--white);
    border-color: var(--tomato);
    transform: scale(1.05);
}

.baking-section {
    background: linear-gradient(135deg, #fff3cd 0%, #ffe8a1 100%);
    border: 2px solid var(--gold);
}

.baking-section::before {
    background: linear-gradient(to right, var(--gold), var(--tomato-dark));
}

.recipe-footer {
    margin-top: 3rem;
    padding: 3rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow);
    text-align: center;
}

.recipe-footer blockquote {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-style: italic;
    color: var(--navy);
    line-height: 1.6;
    margin-bottom: 1rem;
    position: relative;
}

.recipe-footer blockquote::before {
    content: '"';
    font-size: 6rem;
    position: absolute;
    top: -2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--tomato);
    opacity: 0.3;
}

.recipe-footer cite {
    display: block;
    font-size: 1rem;
    color: var(--gray);
    font-style: normal;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.recipe-final-note {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-dark);
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--cream);
    border-radius: 10px;
    border-left: 4px solid var(--gold);
}

.recipe-final-note strong {
    color: var(--tomato);
    font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: 0.75rem 0;
    }

    .nav-content {
        padding: 0 10px;
    }

    .logo {
        font-size: 1rem;
    }

    .nav-links {
        gap: 0.4rem;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .nav-links::-webkit-scrollbar {
        display: none;
    }

    .nav-links li {
        flex-shrink: 0;
    }

    .nav-links a {
        font-size: 0.7rem;
        white-space: nowrap;
        padding: 0.25rem 0.5rem;
    }

    .hero {
        padding: 5rem 1rem 3rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-icons {
        gap: 1rem;
        font-size: 2rem;
    }

    section {
        padding: 4rem 0;
    }

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

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

    .case-card {
        padding: 2rem;
    }

    .debate-question {
        flex-direction: column;
        gap: 1rem;
    }

    .debate-question h3 {
        font-size: 2rem;
    }

    .question-mark {
        font-size: 3rem;
    }

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

    .recipe-section {
        padding: 2rem;
    }

    .recipe-section-title {
        font-size: 1.8rem;
    }

    .recipe-steps li {
        padding-left: 3rem;
        font-size: 1rem;
    }

    .recipe-steps li::before {
        width: 1.75rem;
        height: 1.75rem;
        font-size: 0.9rem;
    }

    .toppings-list {
        grid-template-columns: 1fr;
    }

    .recipe-footer {
        padding: 2rem;
    }

    .recipe-footer blockquote {
        font-size: 1.5rem;
    }

    .recipe-footer blockquote::before {
        font-size: 4rem;
        top: -1.5rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .scroll-indicator {
        display: none;
    }

    section {
        break-inside: avoid;
    }
}

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

/* Focus Styles */
a:focus,
button:focus {
    outline: 3px solid var(--gold);
    outline-offset: 2px;
}

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

/* Floating Emoji Animation */
.floating-emoji {
    position: fixed;
    pointer-events: none;
    z-index: 10;
    animation: float-around 20s infinite ease-in-out;
}

@keyframes float-around {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(50px, -30px) rotate(90deg);
    }
    50% {
        transform: translate(-30px, 50px) rotate(180deg);
    }
    75% {
        transform: translate(30px, 30px) rotate(270deg);
    }
}

/* More Cases Section */
.more-cases {
    background: var(--cream);
}

.subsection-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--navy);
    margin: 4rem auto 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--tomato);
    text-align: center;
    width: fit-content;
    display: block;
}

.cases-tabs {
    margin-top: 2rem;
}

.case-link {
    color: var(--tomato);
    text-decoration: none;
    font-size: 1.2rem;
    margin-left: 0.5rem;
    transition: transform 0.2s ease;
    display: inline-block;
}

.case-link:hover {
    transform: scale(1.2) rotate(10deg);
}

/* Patents Section */
.patents {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.patents-intro {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 3rem;
    border-left: 5px solid var(--gold);
    box-shadow: 0 5px 20px var(--shadow);
}

.patents-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--gray-dark);
}

.patents-grid {
    display: grid;
    gap: 3rem;
    margin-top: 3rem;
}

.patent-card {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.patent-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--gold), var(--tomato));
}

.patent-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-lg);
}

.patent-card.highlight {
    background: linear-gradient(135deg, #fff3cd 0%, #ffe8a1 100%);
    border: 2px solid var(--gold);
}

.patent-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.patent-icon {
    font-size: 3rem;
}

.patent-number {
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    background: var(--navy);
    padding: 0.5rem 1rem;
    border-radius: 10px;
}

.patent-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.patent-inventor {
    font-size: 1rem;
    color: var(--gray);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.patent-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--gray-dark);
}

.patent-list {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0;
}

.patent-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    border-bottom: 1px solid var(--gray-light);
}

.patent-list li::before {
    content: '🔬';
    position: absolute;
    left: 0;
    top: 0.75rem;
}

.patent-list li:last-child {
    border-bottom: none;
}

.patent-details {
    background: var(--cream);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--gold);
    margin-top: 1.5rem;
}

.patent-details strong {
    color: var(--tomato);
    display: block;
    margin-bottom: 0.5rem;
}

.patent-link-box {
    background: var(--gray-light);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
    font-size: 0.95rem;
}

.patent-link-box strong {
    color: var(--navy);
}

.patents-conclusion {
    margin-top: 4rem;
    padding: 3rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow);
}

.patents-conclusion h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--navy);
    margin-bottom: 1.5rem;
}

.patents-conclusion p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: var(--gray-dark);
}

.courtroom-patents-list {
    list-style: none;
    padding-left: 0;
    margin: 2rem 0;
}

.courtroom-patents-list li {
    padding: 1rem;
    margin-bottom: 0.5rem;
    background: var(--gray-light);
    border-radius: 10px;
    padding-left: 3rem;
    position: relative;
}

.courtroom-patents-list li::before {
    content: '⚖️';
    position: absolute;
    left: 1rem;
    top: 1rem;
}

.patents-finale {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--navy);
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--cream);
    border-radius: 10px;
    text-align: center;
}
