:root {
    /* Mozilla Firefox color palette */
    --mozilla-orange: #FF9500;
    --mozilla-red: #FF4F5E;
    --mozilla-yellow: #FFCB4F;
    --mozilla-blue: #00A7E0;
    --mozilla-green: #3FE1B0;
    --mozilla-violet: #9059FF;
    --mozilla-pink: #FF4AA2;

    /* Firefox colors */
    --firefox-red: #E66000;
    --firefox-orange: #FF9400;
    --firefox-yellow: #FFF36E;
    
    /* Neutral colors */
    --neutral-100: #FFFFFF;
    --neutral-200: #F9F9FA;
    --neutral-300: #EFEFF0;
    --neutral-400: #D7D7DB;
    --neutral-500: #B1B1B3;
    --neutral-600: #737373;
    --neutral-700: #4A4A4F;
    --neutral-800: #38383D;
    --neutral-900: #2A2A2E;
    --neutral-1000: #0C0C0D;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--neutral-900);
    line-height: 1.6;
    background-color: var(--neutral-200);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Zilla Slab', serif;
    font-weight: 700;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

a {
    text-decoration: none;
    color: var(--mozilla-blue);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--firefox-red);
}

/* Verification Banner */
.verification-banner {
    background-color: #2A2A2E;
    color: var(--neutral-100);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    position: relative;
}

.verification-content {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 0;
    position: relative;
    max-width: 960px;
    margin: 0 auto;
}

.verification-logos {
    display: flex;
    align-items: center;
    margin-right: 10px;
}

.verification-firefox-logo {
    height: 34px;
    width: auto;
    margin-right: 8px;
}

.mozilla-wordmark {
    font-size: 22px;
    font-weight: bold;
    color: white;
    font-family: monospace;
    background-color: #000;
    padding: 2px 8px;
    border-radius: 3px;
    margin-right: 10px;
    letter-spacing: -1px;
}

.verification-message {
    display: flex;
    align-items: center;
}

.verification-icon {
    width: 24px;
    height: 24px;
    fill: var(--mozilla-green);
    margin-right: 10px;
    flex-shrink: 0;
}

.verification-message p {
    margin-bottom: 0;
    font-weight: 400;
    font-size: 0.95rem;
    white-space: nowrap;
}

.verification-close {
    background: none;
    border: none;
    color: var(--neutral-400);
    cursor: pointer;
    padding: 0.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
    margin-left: 15px;
}

.verification-close svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.verification-close:hover {
    color: var(--neutral-100);
}

/* Main Navigation */
.main-nav {
    background-color: var(--neutral-900);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
}

.logo-nav {
    display: flex;
    align-items: center;
}

.nav-logo {
    height: 40px;
    width: auto;
    margin-right: 1rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: var(--neutral-100);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 0;
    transition: color 0.2s ease;
    display: inline-block;
}

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

/* Dropdown menu */
.dropdown {
    position: relative;
}

.dropdown-toggle::after {
    content: "";
    display: inline-block;
    margin-left: 0.5rem;
    vertical-align: middle;
    border-top: 0.3rem solid;
    border-right: 0.3rem solid transparent;
    border-left: 0.3rem solid transparent;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--neutral-800);
    min-width: 180px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 10;
}

.dropdown-menu a {
    display: block;
    padding: 0.7rem 1rem;
    white-space: nowrap;
    color: var(--neutral-100);
    text-decoration: none;
    font-size: 0.95rem;
}

.dropdown-menu a:hover {
    background-color: var(--neutral-700);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.bar {
    width: 100%;
    height: 3px;
    background-color: var(--neutral-100);
    transition: all 0.3s ease;
}

.menu-toggle.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Responsive Navigation */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background-color: var(--neutral-900);
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        z-index: 1;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        max-height: 500px;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 0.8rem 2rem;
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        background-color: var(--neutral-800);
        max-height: 0;
        overflow: hidden;
        padding: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: max-height 0.3s ease;
    }

    .dropdown.active .dropdown-menu {
        max-height: 200px;
        padding: 0.5rem 0;
    }

    .dropdown-menu a {
        padding-left: 3rem;
    }

    .dropdown-toggle::after {
        float: right;
        margin-top: 0.5rem;
    }
}

/* Header/Hero Section */
.hero {
    background: linear-gradient(135deg, var(--firefox-orange) 0%, var(--mozilla-red) 100%);
    color: white;
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect x="0" y="0" width="100" height="100" fill="none"/><path d="M0,0 L100,100 M100,0 L0,100" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></svg>');
    background-size: 30px 30px;
    opacity: 0.2;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.yandasradari-logo {
    height: 80px;
    width: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.tagline {
    font-size: 2.5rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 1s ease-out;
    position: relative;
    z-index: 2;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.cta-primary {
    width: 100%;
    max-width: 280px;
    margin-bottom: 0.5rem;
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    margin-bottom: 1rem;
}

.cta-firefox-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    width: 100%;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.firefox-label {
    color: white;
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 0.2rem;
    font-weight: 500;
}

.cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    text-align: center;
    min-width: 140px;
}

.cta-button.primary {
    background-color: var(--mozilla-blue);
    color: white;
    font-size: 1.2rem;
    padding: 1rem 2rem;
    min-width: 220px;
    width: 100%;
}

.cta-button.primary:hover {
    background-color: #0090c4;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.cta-button.secondary {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--neutral-900);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-button.secondary:hover {
    background-color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.cta-button.social {
    background-color: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cta-button.social:hover {
    background-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.cta-button.firefox {
    background-color: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 0.9rem;
    padding: 0.7rem 1.2rem;
}

.cta-button.firefox:hover {
    background-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.button-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.telegram-icon {
    fill: currentColor;
}

/* Manifesto Section */
.manifesto {
    padding: 5rem 0;
    background-color: var(--neutral-100);
    scroll-margin-top: 2rem;
}

.manifesto h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--firefox-red);
}

.lead {
    font-size: 1.4rem;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: var(--neutral-700);
    font-weight: 600;
}

.manifesto-content {
    max-width: 1000px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.7;
    column-count: 2;
    column-gap: 3rem;
}

.manifesto-content p {
    margin-bottom: 1.8rem;
    color: var(--neutral-800);
    transition: opacity 0.8s ease, transform 0.8s ease;
    break-inside: avoid; /* Prevent paragraphs from breaking across columns */
}

.manifesto-content p.revealed,
.manifesto-content p.persist-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

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

.manifesto-item {
    padding: 2rem;
    background-color: var(--neutral-200);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.manifesto-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1);
}

.manifesto-item h3 {
    font-size: 1.5rem;
    color: var(--mozilla-blue);
    margin-bottom: 1rem;
}

.manifesto-item p {
    color: var(--neutral-700);
    margin-bottom: 0;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background-color: var(--neutral-200);
}

.features h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--firefox-red);
}

.features-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature {
    text-align: center;
    padding: 2rem;
    background-color: var(--neutral-100);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    margin-bottom: 1.5rem;
    color: var(--mozilla-orange);
}

.feature h3 {
    font-size: 1.5rem;
    color: var(--firefox-red);
    margin-bottom: 1rem;
}

.feature p {
    color: var(--neutral-700);
    margin-bottom: 0;
    flex-grow: 1;
}

/* Testimonial Section */
.testimonial {
    padding: 5rem 0;
    background-color: var(--mozilla-blue);
    color: var(--neutral-100);
    text-align: center;
}

blockquote {
    font-family: 'Zilla Slab', serif;
    font-size: 2rem;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto 1.5rem;
    position: relative;
    padding: 0 3rem;
}

blockquote::before,
blockquote::after {
    content: '"';
    font-size: 4rem;
    position: absolute;
    opacity: 0.3;
}

blockquote::before {
    top: -20px;
    left: 0;
}

blockquote::after {
    bottom: -40px;
    right: 0;
}

.quote-author {
    font-size: 1.2rem;
    font-weight: 600;
    opacity: 0.8;
}

/* Footer */
footer {
    background-color: var(--neutral-900);
    color: var(--neutral-300);
    padding: 3rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.footer-firefox-logo {
    height: 40px;
    width: auto;
    opacity: 0.8;
}

.copyright {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .tagline {
        font-size: 1.8rem;
    }
    
    .logo-container {
        gap: 1rem;
    }
    
    .yandasradari-logo {
        height: 60px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .features-container {
        grid-template-columns: 1fr;
    }
    
    blockquote {
        font-size: 1.5rem;
        padding: 0 1.5rem;
    }
    
    .manifesto-content {
        column-count: 1; /* Single column on mobile */
    }
    
    .cta-button {
        padding: 0.7rem 1.2rem;
        font-size: 0.95rem;
        min-width: 120px;
    }
    
    .cta-button.primary {
        font-size: 1.1rem;
        padding: 0.9rem 1.8rem;
        min-width: 180px;
    }
    
    .cta-row {
        gap: 0.8rem;
    }
    
    .cta-firefox-row {
        flex-direction: column;
        align-items: center;
        padding-top: 1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 4rem 1rem;
    }
    
    .tagline {
        font-size: 1.5rem;
    }
    
    .cta-buttons {
        gap: 1rem;
    }
    
    .cta-row {
        flex-direction: column;
        align-items: center;
        width: 90%;
    }
    
    .cta-button {
        width: 100%;
    }
    
    .cta-firefox-row {
        width: 90%;
    }
    
    .button-icon {
        width: 18px;
        height: 18px;
    }
    
    .yandasradari-logo {
        height: 40px;
    }
    
    .manifesto-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Responsive styles for the CTA buttons */
@media (max-width: 650px) {
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        width: 100%;
    }
    
    .cta-button {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 992px) {
    .features-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Installation Guide Section */
.installation-guide {
    padding: 5rem 0;
    background-color: var(--neutral-100);
    scroll-margin-top: 2rem;
}

.installation-guide h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--firefox-red);
}

.guide-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.tab-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--neutral-300);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--neutral-700);
}

.tab-button.active {
    background-color: var(--mozilla-blue);
    color: white;
}

.tab-button:hover:not(.active) {
    background-color: var(--neutral-400);
}

.tab-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.tab-content {
    display: none;
    max-width: 900px;
    margin: 0 auto;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.guide-content {
    background-color: var(--neutral-200);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.guide-content h3 {
    font-size: 1.8rem;
    color: var(--firefox-red);
    margin-bottom: 2rem;
    text-align: center;
}

.guide-step {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--neutral-300);
}

.guide-step:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--mozilla-blue);
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h4 {
    font-size: 1.3rem;
    color: var(--neutral-900);
    margin-bottom: 0.8rem;
}

.highlight {
    font-weight: 600;
    color: var(--mozilla-green);
    padding: 0.5rem;
    background-color: rgba(63, 225, 176, 0.1);
    border-radius: 4px;
    display: inline-block;
}

.guide-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-weight: 600;
    padding: 0.3rem 0.6rem;
    background-color: rgba(0, 167, 224, 0.1);
    border-radius: 4px;
    transition: all 0.2s ease;
}

.guide-link:hover {
    background-color: rgba(0, 167, 224, 0.2);
}

.guide-list {
    list-style-type: none;
    padding-left: 0;
}

.guide-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
}

.guide-list li::before {
    content: "•";
    color: var(--mozilla-blue);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.note {
    background-color: rgba(255, 149, 0, 0.1);
    border-left: 4px solid var(--mozilla-yellow);
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 0 4px 4px 0;
}

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

/* Responsive styles for installation guide */
@media (max-width: 768px) {
    .guide-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-button {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .guide-step {
        flex-direction: column;
        gap: 1rem;
    }
    
    .step-number {
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 480px) {
    .guide-content {
        padding: 1.5rem;
    }
    
    .guide-content h3 {
        font-size: 1.4rem;
    }
    
    .step-content h4 {
        font-size: 1.1rem;
    }
} 