/*
* STYLES FOR NOVASKY SC-S5000+ LANDING PAGE
* AUTHOR: Gemini
* VERSION: 1.0
*/

/* --- GOOGLE FONTS IMPORT --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* --- CSS VARIABLES (THEME) --- */
:root {
    --bg-dark: #1C1F24;
    --bg-light: #2D333B;
    --border-color: #434a55;
    --primary-color: #4080FF;
    --primary-hover: #5591ff;
    --text-light: #CDD9E5;
    --text-muted: #768390;
    --text-dark: #1C1F24;
    --success-color: #349A76;
    --danger-color: #C44542;
    --star-color: #ffc107;
    --font-family: 'Inter', sans-serif;
    --container-width: 1200px;
    --header-height: 70px;
    --border-radius: 12px;
}

/* --- GENERAL RESET & BODY STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

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

/* --- UTILITY & GLOBAL CLASSES --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4 {
    line-height: 1.3;
    font-weight: 700;
}

h1 {
    font-size: 3rem;
    font-weight: 800;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

p {
    margin-bottom: 1rem;
}

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

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--primary-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(64, 128, 255, 0.3);
}

/* --- HEADER --- */
.header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(28, 31, 36, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.header-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-light);
}
.header-logo:hover {
    color: var(--text-light);
}

.header-nav ul {
    display: flex;
    gap: 30px;
}

.header-nav a {
    color: var(--text-muted);
    font-weight: 500;
    padding: 10px 0;
    position: relative;
}

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

.header-nav a:hover {
    color: var(--text-light);
}
.header-nav a:hover::after {
    width: 100%;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-address {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.burger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.burger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-light);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* --- HERO SECTION --- */
.hero-section {
    padding-top: 120px;
}

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

.hero-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin: 20px 0 30px;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.hero-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.hero-features i {
    color: var(--primary-color);
    font-size: 1.2rem;
    width: 25px;
    text-align: center;
}

.hero-image img {
    border-radius: var(--border-radius);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

/* --- TECH SPECS SECTION --- */
.tabs {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 30px;
    border: 1px solid var(--border-color);
}

.tab-buttons {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.tab-button {
    flex: 1;
    padding: 15px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.tab-button.active {
    color: var(--text-light);
    border-bottom-color: var(--primary-color);
}

.tab-content {
    display: none;
}

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

.tab-content table {
    width: 100%;
    border-collapse: collapse;
}

.tab-content td {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
}
.tab-content tr:last-child td {
    border-bottom: none;
}

.tab-content td:first-child {
    font-weight: 600;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.tab-content td:first-child i {
    color: var(--primary-color);
    width: 20px;
}

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

/* --- DETAILS SECTION --- */
.details-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.details-image img {
    border-radius: var(--border-radius);
}

/* --- FEATURES SECTION --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-item {
    background-color: var(--bg-light);
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.feature-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* --- WHAT'S IN THE BOX SECTION --- */
.box-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    background-color: var(--bg-light);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.box-column h3 {
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    display: inline-block;
}

.box-column ul {
    margin-top: 20px;
}

.box-column ul li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.box-column ul i {
    color: var(--text-muted);
}

/* --- APPLICATIONS SECTION --- */
.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.application-item {
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}
.application-item p {
    color: var(--text-muted);
    margin-bottom: 0;
}

/* --- REQUIREMENTS SECTION --- */
.requirements-list {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 30px;
    border: 1px solid var(--border-color);
}

.requirements-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
}
.requirements-list li:last-child {
    border-bottom: none;
}
.requirements-list li i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* --- PRICES SECTION --- */
.prices-section {
    background-color: #22272E;
}

.price-block {
    max-width: 900px;
    margin: 0 auto;
    background-color: #2D333B;
    border-radius: 16px;
    padding: 35px;
    width: 100%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid #434a55;
    overflow: hidden;
}

.price-block h2 {
    color: var(--text-light);
    margin-bottom: 10px;
}

.price-block .subtitle {
    text-align: center;
    font-size: 15px;
    color: #768390;
    margin-bottom: 35px;
}

.chart-container {
    position: relative;
    height: 350px;
    width: 100%;
    margin-bottom: 40px;
}

.price-table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td { padding: 18px 12px; text-align: left; border-bottom: 1px solid #434a55; }
.price-table thead th { font-size: 13px; font-weight: 600; color: #768390; text-transform: uppercase; letter-spacing: 0.8px; }
.price-table tbody tr { transition: background-color 0.3s ease; }
.price-table tbody tr:not(.highlight):hover { background-color: #3a414c; }
.store-name { font-weight: 600; font-size: 16px; display: flex; align-items: center; }
.store-name i { margin-right: 12px; color: #768390; font-size: 18px; width: 20px; text-align: center;}
.price-cell { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.price { font-weight: 700; font-size: 18px; color: #CDD9E5; }
.price-change { font-size: 13px; font-weight: 600; display: flex; align-items: center; }
.price-change i { margin-right: 5px; }
.price-change.down { color: var(--success-color); }
.price-change.up { color: var(--danger-color); }
.delivery-info { font-size: 14px; color: #768390; }
.price-table tr.highlight { background-color: rgba(64, 128, 255, 0.1); border-left: 4px solid var(--primary-color); }
.price-table tr.highlight .store-name i { color: var(--primary-color); }
.price-table tr.highlight .btn { background-color: var(--primary-color); color: #fff; }
.price-table tr.highlight .btn:hover { background-color: var(--primary-hover); box-shadow: 0 2px 15px rgba(64, 128, 255, 0.3);}

/* --- PHOTO GALLERY SECTION --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}
.gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-grid a:hover img {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

/* --- FAQ SECTION --- */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
details {
    background: var(--bg-light);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}
summary {
    list-style: none;
    cursor: pointer;
    padding: 20px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
summary::after {
    content: '\f078'; /* Font Awesome angle-down */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    transition: transform 0.3s ease;
}
details[open] summary::after {
    transform: rotate(180deg);
}
.faq-answer {
    padding: 0 20px 20px;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
}

/* --- REVIEWS SECTION --- */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.review-item {
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.review-header .fa-star, .review-header .far.fa-star {
    color: var