:root {
    --primary-color: #C9A227;
    --secondary-color: #FFFFFF;
    --dark-text: #1a1a1a;
    --light-bg: #f8f8f8;
    --white: #FFFFFF;
    --gold-dark: #a88820;
    --gold-light: #e8c757;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--white);
}

.containers,
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header Styles */
.site-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    box-shadow: 0 2px 10px rgba(201, 162, 39, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s;
}

.main-nav {
    flex: 1;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    justify-content: flex-end;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.nav-link:hover {
    color: var(--primary-color);
}

.dropdown-arrow {
    font-size: 0.7em;
}

.has-dropdown .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #2d2d2d;
    list-style: none;
    padding: 1rem 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(201, 162, 39, 0.2);
    border-top: 2px solid var(--primary-color);
}

.has-dropdown:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu li a {
    color: var(--white);
    text-decoration: none;
    padding: 0.5rem 1.5rem;
    display: block;
    transition: all 0.3s;
}

.sub-menu li a:hover {
    background: var(--primary-color);
    padding-left: 2rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 4rem 2rem;
}

.floating-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.float-icon {
    position: absolute;
    opacity: 0.15;
    animation: floating 15s infinite ease-in-out;
}

.float-icon img {
    width: 80px;
    height: 80px;
    filter: brightness(0) invert(1);
}

.float-icon:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.float-icon:nth-child(2) {
    top: 60%;
    left: 80%;
    animation-delay: 2s;
}

.float-icon:nth-child(3) {
    top: 30%;
    left: 70%;
    animation-delay: 4s;
}

.float-icon:nth-child(4) {
    top: 70%;
    left: 20%;
    animation-delay: 6s;
}

@keyframes floating {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-30px) rotate(10deg);
    }
}

.hero-content {
    text-align: center;
    max-width: 800px;
    position: relative;
    z-index: 1;
    color: var(--white);
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(201, 162, 39, 0.3);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

.cta-btn {
    display: inline-block;
    background: var(--primary-color);
    color: var(--dark-text);
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(201, 162, 39, 0.3);
    font-size: 1.1rem;
}

.cta-btn:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 162, 39, 0.4);
}

/* Apps Section */
.apps-section {
    padding: 5rem 0;
    background: var(--white);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--dark-text);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.app-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.4s;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.app-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(201, 162, 39, 0.2);
}

.app-icono {
    margin-bottom: 1.5rem;
}

.app-icono img {
    width: 70px;
    height: 70px;
    filter: sepia(100%) saturate(200%) hue-rotate(10deg) brightness(0.9);
    transition: transform 0.3s;
}

.app-card:hover .app-icono img {
    transform: scale(1.1) rotate(5deg);
}

.app-card h3 {
    color: var(--dark-text);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.app-card p {
    color: #666;
    line-height: 1.8;
}

/* Features Section */
.features-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.4s;
    border: 2px solid transparent;
    backdrop-filter: blur(10px);
}

.feature-box:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 25px rgba(201, 162, 39, 0.3);
}

.feature-number {
    font-size: 3.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(201, 162, 39, 0.3);
}

.feature-box h4 {
    color: var(--white);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.feature-box p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

/* CTA Container */
.cta-container {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 100%);
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.cta-badge {
    display: inline-block;
    background: var(--primary-color);
    color: var(--dark-text);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.cta-heading {
    font-size: 2.5rem;
    color: var(--dark-text);
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.cta-button-primary {
    background: var(--primary-color);
    color: var(--dark-text);
    box-shadow: 0 4px 15px rgba(201, 162, 39, 0.3);
}

.cta-button-primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 162, 39, 0.4);
}

.cta-button-secondary {
    background: transparent;
    color: var(--dark-text);
    border: 2px solid var(--primary-color);
}

.cta-button-secondary:hover {
    background: var(--primary-color);
    color: var(--dark-text);
    transform: translateY(-2px);
}

.button-icon {
    transition: transform 0.3s;
}

.cta-button:hover .button-icon {
    transform: translateX(5px);
}

.cta-features {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
}

.feature-icon {
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-text);
    font-weight: bold;
    font-size: 0.9rem;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: var(--white);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: all 0.3s;
}

.footer-section a:hover {
    color: var(--primary-color);
    padding-left: 0.5rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        background: #2d2d2d;
        transition: left 0.3s;
        padding: 2rem 0;
    }

    .main-nav.active {
        left: 0;
    }

    .nav-menu {
        flex-direction: column;
        gap: 0;
    }

    .nav-link {
        padding: 1rem 2rem;
        width: 100%;
    }

    .has-dropdown .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: 2rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-heading {
        font-size: 1.8rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-button {
        justify-content: center;
    }

    .apps-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== MEDIA QUERIES FOR RESPONSIVE DESIGN ===== */

/* Large Desktop Screens - 1440px and above */
@media (min-width: 1440px) {

    .container,
    .containers {
        max-width: 1400px;
    }

    .header-inner {
        margin: 0 auto;
    }
}

/* Desktop - 1200px to 1439px */
@media (max-width: 1439px) {
    .nav-menu {
        margin-right: 100px;
    }

    .header-inner {
        margin-left: 100px;
    }

    .footer-content {
        margin-left: 100px;
    }
}

/* Large Tablet / Small Desktop - 1024px to 1199px */
@media (max-width: 1199px) {
    .header-inner {
        margin-left: 50px;
        padding: 0 20px;
    }

    .nav-menu {
        margin-right: 50px;
        gap: 20px;
    }

    .features-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .feature-row,
    .feature-row.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .footer-content {
        margin-left: 50px;
    }
}

/* Tablet Portrait - 768px to 1023px */
@media (max-width: 1023px) {

    /* Header */
    .site-header {
        height: auto;
        padding: 10px 0;
    }

    .header-inner {
        margin-left: 0;
        padding: 0 15px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .logo img {
        height: 70px;
    }

    /* Hide desktop navigation */
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(0, 0, 0, 0.98);
        padding: 80px 20px 20px;
        transition: right 0.4s ease;
        z-index: 9999;
        overflow-y: auto;
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        margin-left: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .nav-menu {
        margin-right: 0;
        gap: 0;
        width: 100%;
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-link {
        padding: 18px 15px;
        width: 100%;
        display: flex;
        justify-content: space-between;
        color: white;
    }

    .nav-link:hover {
        background: rgba(212, 175, 55, 0.1);
    }

    /* Dropdown adjustments for mobile */
    .dropdown {
        position: static;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        transform: none;
        box-shadow: none;
        background: rgba(212, 175, 55, 0.05);
        border-radius: 0;
        margin-top: 0;
        transition: all 0.3s ease;
    }

    .nav-item.active .dropdown {
        opacity: 1;
        visibility: visible;
        max-height: 500px;
    }

    .dropdown-item {
        padding: 15px 25px;
        border-left: 3px solid transparent;
    }

    /* Mobile Menu Toggle Button */
    .mobile-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        padding: 10px;
        background: transparent;
        border: none;
        z-index: 10000;
    }

    .mobile-toggle span {
        width: 28px;
        height: 3px;
        background: #D4AF37;
        border-radius: 3px;
        transition: all 0.3s ease;
    }

    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    /* Close button for mobile menu */
    .nav-close {
        position: absolute;
        top: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        background: transparent;
        border: 2px solid rgba(255, 255, 255, 0.3);
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 24px;
    }

    /* Overlay */
    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.7);
        z-index: 9998;
    }

    .nav-overlay.active {
        display: block;
    }

    /* Hero Section */
    .hero {
        padding: 120px 0 80px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .service-card {
        padding: 35px 25px;
    }

    /* Features */
    .section-intro h2 {
        font-size: 42px;
    }

    .feature-content h2 {
        font-size: 36px;
    }

    .feature-content p {
        font-size: 16px;
    }

    /* Stats */
    .stats-row {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Testimonials */
    .section-title h2 {
        font-size: 36px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .testimonial-container {
        padding: 30px 20px;
    }

    /* CTA */
    .cta-container {
        padding: 60px 40px;
        border-radius: 20px;
    }

    .cta-heading {
        font-size: 2.5rem;
    }

    .cta-description {
        font-size: 1.1rem;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cta-button {
        width: 100%;
        max-width: 350px;
    }

    .cta-features {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    /* Footer */
    .footer-content {
        margin-left: 20px;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* Mobile Landscape - 640px to 767px */
@media (max-width: 767px) {
    body {
        padding: 60px 15px;
    }

    /* Header */
    .site-header {
        padding: 10px 0;
    }

    .header-inner {
        margin-left: 15px;
        padding: 0 10px;
    }

    .logo img {
        height: 60px;
    }

    .nav-link {
        font-size: 14px;
        padding: 10px 15px;
    }

    /* Hero */
    .hero {
        padding: 100px 0 60px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .btn {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }

    /* Sections */
    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.3rem;
    }

    /* Info Boxes */
    .container {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 15px;
    }

    .info-box {
        padding: 30px 20px;
    }

    /* How It Works */
    .section-intro h2 {
        font-size: 32px;
    }

    .section-intro p {
        font-size: 16px;
    }

    .feature-card {
        padding: 35px 25px;
    }

    .feature-card h3 {
        font-size: 24px;
    }

    /* Newsletter Button */
    .info-box-link[href="signup.html"] {
        margin-left: 0 !important;
        display: block;
        text-align: center;
        margin: 20px auto;
    }

    /* Carousel */
    .carousel-container {
        padding: 40px 20px;
    }

    .logo-item {
        width: 200px;
        height: 120px;
    }

    @keyframes scroll {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(calc(-200px * 8 - 320px));
        }
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Testimonials */
    .author-name {
        font-size: 1.2rem;
    }

    .testimonial-quote {
        font-size: 1rem;
    }

    .testimonial-intro,
    .testimonial-body {
        font-size: 0.85rem;
    }

    /* CTA */
    .cta-container {
        padding: 50px 25px;
    }

    .cta-heading {
        font-size: 2rem;
    }

    .cta-description {
        font-size: 1rem;
    }

    .cta-button {
        padding: 15px 30px;
        font-size: 1rem;
    }

    /* Footer */
    .footer-content {
        margin-left: 15px;
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

/* Mobile Portrait - 480px to 639px */
@media (max-width: 639px) {
    .container {
        padding: 0 10px;
    }

    .skip-button {
        top: 10px;
        right: 10px;
        padding: 6px 15px;
        font-size: 12px;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .section-intro h2 {
        font-size: 28px;
    }

    .feature-content h2 {
        font-size: 28px;
    }

    .cta-heading {
        font-size: 1.75rem;
    }

    .offer-card {
        width: 95%;
    }

    .offer-card-title {
        font-size: 32px;
    }

    .offer-card-subtitle {
        font-size: 16px;
    }

    .new-price {
        font-size: 48px;
    }

    .old-price {
        font-size: 24px;
    }
}

/* Small Mobile - 375px to 479px */
@media (max-width: 479px) {
    .logo img {
        height: 50px;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 0.9rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .section-intro h2 {
        font-size: 24px;
    }

    .feature-content h2 {
        font-size: 24px;
    }

    .cta-heading {
        font-size: 1.5rem;
    }

    .cta-description {
        font-size: 0.9rem;
    }

    .cta-button {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
}

/* Extra Small Mobile - 320px to 374px */
@media (max-width: 374px) {
    .logo img {
        height: 45px;
    }

    .nav-link {
        font-size: 12px;
        padding: 8px 12px;
    }

    .hero h1 {
        font-size: 1.3rem;
    }

    .hero p {
        font-size: 0.85rem;
    }

    .btn {
        padding: 0.7rem 1.3rem;
        font-size: 0.85rem;
    }

    .info-box {
        padding: 25px 15px;
    }

    .section-intro h2 {
        font-size: 22px;
    }

    .feature-card {
        padding: 30px 20px;
    }

    .cta-container {
        padding: 40px 20px;
    }

    .cta-heading {
        font-size: 1.3rem;
    }

    .offer-card-title {
        font-size: 28px;
    }

    .new-price {
        font-size: 40px;
    }
}

/* Landscape Orientation for Mobile Devices */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        padding: 80px 0 50px;
    }

    .site-header {
        position: relative;
    }

    .cta-container {
        padding: 40px 30px;
    }

    .offer-modal {
        align-items: flex-start;
        padding-top: 20px;
    }

    .offer-card {
        max-height: 85vh;
    }
}

/* High DPI Displays (Retina) */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
    .logo img {
        image-rendering: -webkit-optimize-contrast;
    }

    .author-image {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* Print Styles */
@media print {

    .site-header,
    .cta-container,
    .offer-modal,
    footer,
    .skip-button,
    #three-background {
        display: none;
    }

    body {
        background: white;
    }

    .container {
        max-width: 100%;
    }
}