@charset "utf-8";
/* CSS Document */
/* RAGU Global Stylesheet (style.css) */

/* --- Variables & Basic Setup --- */
:root {
    --primary-color: #007bff; /* Tech Blue */
    --primary-color-dark: #0056b3;
    --secondary-color: #f4f4f9; /* Light BG */
    --dark-color: #222;
    --light-color: #fff;
    --grey-color: #888;
    --pro-color: #28a745; /* Green for "PRO" */
    
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --container-width: 1100px;
    --nav-height: 70px;
}

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

body {
    font-family: var(--font-family);
    line-height: 1.6;
    background-color: var(--light-color);
    color: var(--dark-color);
}

h1, h2, h3, h4 {
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--primary-color-dark);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Header & Navigation --- */
.navbar {
    height: var(--nav-height);
    background: var(--light-color);
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.5rem;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
}

.navbar .logo {
    font-size: 1.5rem;
    font-weight: 700;
}

.navbar .logo img {
    height: 70px; /* Assuming a 40px tall logo */
    vertical-align: middle;
}

.navbar nav ul {
    display: flex;
}

.navbar nav ul li {
    margin-left: 1.5rem;
}

.navbar nav ul li a {
    color: var(--dark-color);
    font-weight: 500;
    padding: 0.5rem;
}

.navbar nav ul li a:hover,
.navbar nav ul li a.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

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

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

.btn-secondary {
    background: var(--secondary-color);
    color: var(--dark-color);
    border: 1px solid #ccc;
}

.btn-secondary:hover {
    background: #e2e6ea;
    color: var(--dark-color);
}

.btn-pro {
    background: var(--primary-color);
    color: var(--light-color);
}

.btn-pro:hover {
    background: #0056b3;
    color: var(--light-color);
}

/* --- Utilities --- */
.section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem auto;
}

.section-header h1 {
    font-size: 2.5rem;
}

.section-header h2 {
    font-size: 2rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--grey-color);
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

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

/* --- Hero Section (Homepage) --- */
.hero {
    padding-top: calc(var(--nav-height) + 4rem);
    padding-bottom: 4rem;
    background: var(--secondary-color);
}

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

.hero-content h1 {
    font-size: 3.2rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-content .sub-headline {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: var(--grey-color);
}

.hero-content .cta-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image {
    /* Retains original centering */
    text-align: center;
}

/* New CSS to handle the responsive video embed */
.hero-image.video-container {
    /* 16:9 Aspect Ratio: (Height / Width) * 100 = (9/16) * 100 = 56.25% */
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; 
    height: 0;
    overflow: hidden;
    margin: 0 auto; /* Center the container */
    max-width: 500px; /* Respects the original image max-width constraint */
    border-radius: 8px; /* Adds the requested rounded corners */
    box-shadow: 0 10px 20px rgba(0,0,0,0.1); /* Adds the requested shadow */
}

/* Styles the iframe to fill the responsive container */
.hero-image.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
/* REMOVE: The following block is no longer needed as the image is gone.
.hero-image img { 
    width: 100%;
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
*/
/* --- Feature Cards (Homepage) --- */
.feature-card {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #eee;
}

.feature-card img {
    height: 80px; /* Placeholder for icon */
    width: 80px;
    margin-bottom: 1rem;
}

/* --- Comparison Table (Features Page) --- */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
    font-size: 1.1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.comparison-table th, 
.comparison-table td {
    padding: 1.25rem;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.comparison-table th {
    background: var(--secondary-color);
    font-size: 1.2rem;
}

.comparison-table td:first-child {
    font-weight: 600;
}

.comparison-table .header-free {
    text-align: center;
}

.comparison-table .header-pro {
    text-align: center;
    color: var(--primary-color);
}

.comparison-table .check {
    color: var(--pro-color);
    font-size: 1.5rem;
    text-align: center;
}

.comparison-table .cross {
    color: var(--grey-color);
    font-size: 1.5rem;
    text-align: center;
}

.comparison-table .text-center {
    text-align: center;
}

/* --- Pricing Page --- */
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 2.5rem;
    text-align: center;
}

.pricing-card.pro {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.pricing-card h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.pricing-card .price {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.pricing-card .price-subtext {
    color: var(--grey-color);
    margin-bottom: 2rem;
}

.pricing-card ul {
    text-align: left;
    margin: 2rem auto;
    display: inline-block;
}

.pricing-card ul li {
    margin-bottom: 1rem;
}

.pricing-card ul li::before {
    content: '✓';
    color: var(--pro-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

.pricing-card .btn {
    width: 100%;
    margin-top: 1rem;
}

/* --- Download Page --- */
.download-box {
    background: var(--secondary-color);
    padding: 3rem;
    border-radius: 8px;
    text-align: center;
    max-width: 700px;
    margin: 2rem auto;
}

.download-box .version-info {
    margin: 1.5rem 0;
    color: var(--grey-color);
}

.requirements {
    text-align: left;
    max-width: 600px;
    margin: 3rem auto;
}

.requirements h3 {
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
}

.requirements ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-top: 1rem;
}

/* --- FAQ/Support Page --- */
.faq-item {
    border: 1px solid #eee;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.faq-question {
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    background: var(--secondary-color);
    position: relative;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    font-size: 1.5rem;
}

.faq-answer {
    padding: 1.5rem;
    display: none; /* JS will toggle this */
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question::after {
    content: '−';
}


/* --- Footer --- */
.footer {
    background: var(--dark-color);
    color: var(--light-color);
    padding: 4rem 0 2rem;
    margin-top: 6rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
}

.footer-col h4 {
    color: var(--light-color);
    margin-bottom: 1rem;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a {
    color: #ccc;
}

.footer-col ul li a:hover {
    color: var(--light-color);
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #444;
}

/* --- Responsive (Mobile Menu) --- */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
}

@media (max-width: 768px) {
    .grid-2, .grid-3, .hero .container, .pricing-grid, .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: calc(var(--nav-height) + 2rem);
    }

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

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

    .hero-image {
        margin-top: 2rem;
    }

    .navbar nav {
        display: none;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        background: var(--light-color);
        border-bottom: 1px solid #eee;
    }
    
    .navbar nav.active {
        display: block;
    }

    .navbar nav ul {
        flex-direction: column;
    }

    .navbar nav ul li {
        margin: 0;
        text-align: center;
    }
    
    .navbar nav ul li a {
        display: block;
        padding: 1rem;
    }

    .menu-toggle {
        display: block;
    }
}
/* --- ADD-ON: Language Selector --- */
.lang-selector {
    margin-left: 2rem;
}

.lang-selector a {
    color: var(--grey-color);
    font-weight: 600;
    padding: 0 0.5rem;
}

.lang-selector a.active {
    color: var(--primary-color);
}

.lang-selector span {
    color: var(--grey-color);
    font-size: 0.9rem;
}

/* --- ADD-ON: Language Suggestion Banner --- */
.lang-banner {
    display: none; /* Hidden by default */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--dark-color);
    color: var(--light-color);
    padding: 1rem;
    text-align: center;
    z-index: 200;
    font-size: 0.9rem;
}

.lang-banner p {
    margin: 0 0 0.5rem 0;
}

.lang-banner .btn-lang-switch {
    background: var(--primary-color);
    color: var(--light-color);
    padding: 0.25rem 0.75rem;
    border-radius: 3px;
    margin: 0 0.5rem;
}

.lang-banner .btn-lang-dismiss {
    background: none;
    border: none;
    color: var(--grey-color);
    cursor: pointer;
    text-decoration: underline;
}

/* --- Responsive Add-on --- */
@media (max-width: 768px) {
    /* Move lang selector inside the mobile menu */
    .lang-selector {
        margin: 1rem 0;
        text-align: center;
    }
}
/* --- ADD-ON: Responsive Table Fix --- */

/* On mobile, this wrapper will contain the table and scroll */
@media (max-width: 768px) {
    .table-wrapper {
        display: block;
        width: 100%;
        overflow-x: auto; /* This is the magic! */
        -webkit-overflow-scrolling: touch; /* Smooth scroll on iOS */
        border: 1px solid #eee;
        border-radius: 5px;
        margin-top: 2rem;
    }

    /* We give the table a minimum width inside the wrapper */
    .comparison-table {
        min-width: 600px; 
    }
}
