/* Modern Security Camera Landing Page - Inspired by h-proof.com */
/* Ultra-fast performance optimized CSS with minimal footprint */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
    background: #ffffff;
}

/* Container & Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: #1a202c;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: #2d3748;
    text-align: center;
    margin-bottom: 3rem;
}

h3 {
    font-size: 1.5rem;
    color: #2d3748;
}

h4 {
    font-size: 1.25rem;
    color: #4a5568;
}

p {
    margin-bottom: 1rem;
    color: #4a5568;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #0d4da1;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e2e8f0;
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: #ffffff;
}

.logo img {
    border-radius: 8px;
}

.logo svg {
    color: #2b6cb0;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #ffd700;
}

.cta-nav {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #744210 !important;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.cta-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.4);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

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

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

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

.hero-text {
    max-width: 600px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #718096;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #0d4da1;
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(13, 77, 161, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(13, 77, 161, 0.4);
}

.guarantee-text {
    background: #10b981;
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-align: center;
    margin-top: 1.5rem;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
}

.guarantee-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #ffd700;
    color: #744210;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.875rem;
}

.product-showcase {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-product-image {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: float 6s ease-in-out infinite;
}

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

/* Why Camera Image */
.why-camera-image {
    text-align: center;
    margin: 2rem 0 3rem 0;
}

.camera-features-image {
    max-width: 700px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Features Section */
.why-section {
    padding: 80px 0;
    background: white;
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    background: #0d4da1;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 25px rgba(13, 77, 161, 0.2);
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: #2d3748;
}

.feature-card p {
    color: #718096;
    line-height: 1.7;
}

/* Additional Features */
.additional-features {
    padding: 80px 0;
    background: #f7fafc;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateX(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon-small {
    width: 48px;
    height: 48px;
    background: #0d4da1;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.feature-content h4 {
    margin-bottom: 0.5rem;
    color: #2d3748;
}

.feature-content p {
    color: #718096;
    margin: 0;
}

/* Technical Specifications */
.specs-section {
    padding: 80px 0;
    background: white;
}

.specs-table {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.spec-row {
    display: grid;
    grid-template-columns: 1fr 2fr;
    border-bottom: 1px solid #e2e8f0;
}

.spec-row:last-child {
    border-bottom: none;
}

.spec-label {
    background: #f7fafc;
    padding: 1.5rem;
    font-weight: 600;
    color: #2d3748;
    border-left: 4px solid #2563eb;
}

.spec-value {
    padding: 1.5rem;
    color: #4a5568;
}

/* Installation Steps */
.installation-section {
    padding: 80px 0;
    background: #f7fafc;
}

.installation-visual {
    text-align: center;
    margin-bottom: 3rem;
}

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

.step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.step-number {
    width: 40px;
    height: 40px;
    background: #0d4da1;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h4 {
    color: #2d3748;
    line-height: 1.4;
    margin: 0;
    white-space: normal;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: white;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    background: #f7fafc;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #edf2f7;
}

.faq-question h4 {
    margin: 0;
    color: #2d3748;
    font-size: 1.125rem;
}

.faq-toggle {
    width: 30px;
    height: 30px;
    background: #0d4da1;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    background: #0d4da1;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 1.5rem;
}

.faq-answer p {
    margin: 0;
    color: #4a5568;
    line-height: 1.7;
}

/* Order Form Section */
.cta-order-form {
    padding: 80px 0;
    background: #0d4da1;
    color: white;
}

.cta-header {
    text-align: center;
    margin-bottom: 3rem;
}

.cta-header h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
}

.simple-price {
    text-align: center;
    margin-bottom: 3rem;
}

.current-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.old-price-display {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: line-through;
}

.price-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffd700;
}

.delivery-pricing {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.old-price {
    text-decoration: line-through;
    color: rgba(255, 255, 255, 0.7);
}

.free-delivery {
    color: #ffd700;
    font-weight: 600;
}

.cta-offers {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.offer-card {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.offer-card:hover,
.offer-card.selected {
    background: rgba(255, 255, 255, 0.2);
    border-color: #ffd700;
    transform: translateY(-2px);
}

.popular-offer {
    position: relative;
}

.popular-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: #ffd700;
    color: #744210;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.offer-card label {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    width: 100%;
}

.offer-card input[type="radio"] {
    width: 20px;
    height: 20px;
    accent-color: #ffd700;
}

.offer-title {
    font-weight: 600;
    color: white;
}

.cta-fields {
    display: grid;
    gap: 1.5rem;
    max-width: 500px;
    margin: 0 auto 2rem;
}

.field-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.field-label {
    font-weight: 600;
    color: white;
    font-size: 0.875rem;
}

.cta-fields input {
    padding: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.cta-fields input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.cta-fields input:focus {
    outline: none;
    border-color: #ffd700;
    background: rgba(255, 255, 255, 0.2);
}

#submitBtn {
    max-width: 400px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
    background: #ffd700;
    color: #744210;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.125rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    width: 100%;
}

#submitBtn:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
    background: #ffed4e;
}

#submitBtn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Testimonials */
.testimonials-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

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

.testimonial {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #0d4da1;
    transition: all 0.3s ease;
}

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

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-style: italic;
    color: #4a5568;
    font-size: 1.125rem;
    line-height: 1.7;
    margin: 0;
}

.testimonial-author {
    color: #2d3748;
    font-weight: 600;
}

/* Guarantee Section */
.guarantee-section {
    padding: 80px 0;
    background: white;
}

.guarantee-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

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

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

.guarantee-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #744210;
}

.guarantee-item h4 {
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.guarantee-item p {
    color: #718096;
    margin: 0;
}

.warning-text {
    background: #fed7d7;
    color: #c53030;
    padding: 1rem;
    border-radius: 12px;
    margin: 2rem 0;
    font-weight: 600;
    border-left: 4px solid #e53e3e;
}

/* Footer */
.footer {
    background: #2d3748;
    color: white;
    padding: 60px 0 20px;
}

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

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

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

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

.footer-section p {
    color: #a0aec0;
    margin: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #4a5568;
    color: #a0aec0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #0d4da1;
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links a {
        padding: 1rem 2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        text-align: center;
    }
    
    .nav-links a:last-child {
        border-bottom: none;
    }
    
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-text {
        order: 2;
    }
    
    .hero-visual {
        order: 1;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .spec-row {
        grid-template-columns: 1fr;
    }
    
    .spec-label {
        border-left: none;
        border-top: 4px solid #0d4da1;
    }
    
    .installation-steps {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .guarantee-features {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        align-items: center;
    }
    
    .btn-primary {
        width: 100%;
        justify-content: center;
    }
    
    .cta-offers {
        margin-bottom: 2rem;
    }
    
    .offer-card {
        padding: 1rem;
    }
    
    .cta-fields {
        gap: 1rem;
    }
    
    .price-value {
        font-size: 2rem;
    }
}

/* Performance Optimizations */
.feature-card,
.testimonial,
.step,
.faq-item {
    will-change: transform;
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .product-image-placeholder {
        animation: none;
    }
}

/* Print styles */
@media print {
    .header,
    .footer {
        display: none;
    }
    
    .hero {
        padding: 20px 0;
        background: white;
    }
    
    * {
        box-shadow: none !important;
    }
}

/* Thank You Page Styles */
.thank-you-page {
    background: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thankyou-container {
    max-width: 600px;
    padding: 40px;
    text-align: center;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin: 20px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: #22c55e;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    font-weight: bold;
    margin: 0 auto 30px;
}

.thankyou-container h1 {
    color: #1f2937;
    font-size: 28px;
    margin-bottom: 30px;
    font-weight: 600;
}

.phone-display {
    background: #f8fafc;
    padding: 20px;
    border-radius: 8px;
    margin: 30px 0;
    font-size: 18px;
    color: #374151;
    border: 2px solid #e5e7eb;
}

.phone-display span {
    font-weight: bold;
    color: #0d4da1;
}

.important-notice {
    background: #fef3c7;
    border: 2px solid #f59e0b;
    border-radius: 8px;
    padding: 25px;
    margin: 30px 0;
    text-align: right;
}

.important-notice h3 {
    color: #92400e;
    margin: 0 0 15px 0;
    font-size: 20px;
}

.important-notice p {
    color: #78350f;
    line-height: 1.6;
    margin: 15px 0;
    font-size: 16px;
}

.call-times {
    background: #fed7aa;
    padding: 15px;
    border-radius: 6px;
    margin: 20px 0;
    font-weight: bold;
    color: #9a3412;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .thankyou-container {
        margin: 10px;
        padding: 30px 20px;
    }
    
    .thankyou-container h1 {
        font-size: 24px;
    }
    
    .success-icon {
        width: 60px;
        height: 60px;
        font-size: 30px;
    }
}