/* Root Variables */
:root {
    --primary-color: #ffcc00;
    --primary-dark: #ffb800;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --success-color: #10b981;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
}

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

/* Navigation */
.navbar {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
}

.logo-text {
    background: linear-gradient(135deg, #ffb800, var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

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

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 3px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #fffbf0 0%, #fff8e0 100%);
    padding: 60px 20px;
}

.hero .container {
    max-width: 1200px;
}

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

.hero-text h1 {
    font-size: 48px;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.hero-description {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.8;
}

.trust-badges {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.badge {
    display: inline-block;
    background-color: var(--success-color);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

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

.phone-mockup {
    display: inline-block;
    max-width: 350px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.phone-mockup img {
    width: 100%;
    height: auto;
    display: block;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 204, 0, 0.4);
}

.btn-large {
    padding: 16px 40px;
    font-size: 18px;
}

/* App Details Section */
.app-details {
    padding: 60px 20px;
    background-color: var(--bg-light);
}

.app-details h2,
.features h2,
.install h2,
.categories h2,
.devices h2,
.troubleshoot h2,
.faq h2,
.safety h2,
.cta-final h2 {
    font-size: 36px;
    margin-bottom: 40px;
    text-align: center;
    color: var(--text-dark);
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.spec-item {
    background-color: var(--bg-white);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.spec-label {
    display: block;
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 10px;
    font-weight: 500;
}

.spec-value {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
}

/* Features Section */
.features {
    padding: 60px 20px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

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

.feature-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    font-size: 14px;
}

/* Install Section */
.install {
    padding: 60px 20px;
    background-color: var(--bg-light);
}

.install-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.step {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 20px;
    background-color: var(--bg-white);
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ffb800, var(--primary-color));
    color: #1f2937;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
}

.step-content h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.step-content p {
    color: var(--text-light);
    font-size: 14px;
}

.security-note {
    background-color: #fef3c7;
    border: 1px solid #fcd34d;
    padding: 20px;
    border-radius: 8px;
    color: #92400e;
    font-size: 14px;
}

/* Gallery Section */
.gallery {
    padding: 60px 20px;
    background-color: var(--bg-light);
}

.gallery h2 {
    font-size: 36px;
    margin-bottom: 40px;
    text-align: center;
    color: var(--text-dark);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.gallery-item {
    background-color: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(255, 204, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    object-fit: cover;
    display: block;
}

.gallery-item h3 {
    font-size: 18px;
    color: var(--text-dark);
    padding: 15px 20px 8px;
    margin: 0;
}

.gallery-item p {
    color: var(--text-light);
    font-size: 14px;
    padding: 0 20px 15px;
    margin: 0;
}

/* Categories Section */
.categories {
    padding: 60px 20px;
}

.category-group {
    margin-bottom: 40px;
}

.category-group h3 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.category-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    list-style: none;
}

.category-list li {
    background-color: var(--bg-light);
    padding: 12px 15px;
    border-radius: 6px;
    color: var(--text-dark);
    border-left: 3px solid var(--primary-color);
}

/* Device Table */
.devices {
    padding: 60px 20px;
    background-color: var(--bg-light);
}

.device-table,
.troubleshoot-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.device-table thead,
.troubleshoot-table thead {
    background-color: var(--primary-color);
    color: white;
}

.device-table th,
.troubleshoot-table th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
}

.device-table td,
.troubleshoot-table td {
    padding: 15px;
    border-top: 1px solid var(--border-color);
    font-size: 14px;
}

.device-table tbody tr:hover,
.troubleshoot-table tbody tr:hover {
    background-color: var(--bg-light);
}

/* Troubleshoot Section */
.troubleshoot {
    padding: 60px 20px;
}

/* FAQ Section */
.faq {
    padding: 60px 20px;
    background-color: var(--bg-light);
}

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

.faq-item {
    background-color: var(--bg-white);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.faq-item h3 {
    font-size: 16px;
    color: var(--primary-color);
    margin-bottom: 12px;
    font-weight: 600;
}

.faq-item p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

/* Safety Section */
.safety {
    padding: 60px 20px;
}

.safety-content h3 {
    font-size: 20px;
    color: var(--text-dark);
    margin-top: 25px;
    margin-bottom: 12px;
}

.safety-content h3:first-child {
    margin-top: 0;
}

.safety-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Final CTA Section */
.cta-final {
    padding: 80px 20px;
    background: linear-gradient(135deg, #ff9500, var(--primary-color));
    color: #1f2937;
    text-align: center;
}

.cta-final h2 {
    color: #1f2937;
    font-size: 40px;
    margin-bottom: 20px;
}

.cta-final p {
    font-size: 18px;
    margin-bottom: 30px;
}

.cta-final .btn {
    background-color: #1f2937;
    color: var(--primary-color);
}

.cta-final .btn:hover {
    background-color: rgba(31, 41, 55, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.cta-subtitle {
    font-size: 16px;
    opacity: 0.95;
}

/* Footer */
.footer {
    background-color: var(--text-dark);
    color: white;
    padding: 50px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: white;
}

.footer-section p {
    color: #d1d5db;
    font-size: 14px;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #9ca3af;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero-text h1 {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .nav-links {
        gap: 15px;
        font-size: 14px;
    }

    .features-grid,
    .specs-grid {
        grid-template-columns: 1fr;
    }

    .step {
        grid-template-columns: 50px 1fr;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .device-table,
    .troubleshoot-table {
        font-size: 12px;
    }

    .device-table th,
    .device-table td,
    .troubleshoot-table th,
    .troubleshoot-table td {
        padding: 10px;
    }

    .cta-final h2 {
        font-size: 28px;
    }

    .app-details h2,
    .features h2,
    .install h2,
    .categories h2,
    .devices h2,
    .troubleshoot h2,
    .faq h2,
    .safety h2 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .navbar .container {
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-text h1 {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .trust-badges {
        flex-direction: column;
    }

    .badge {
        width: 100%;
        text-align: center;
    }

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

    .app-details h2,
    .features h2,
    .install h2,
    .categories h2,
    .devices h2,
    .troubleshoot h2,
    .faq h2,
    .safety h2,
    .cta-final h2 {
        font-size: 22px;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(255, 204, 0, 0.3);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}
