/* Modern Sections - public/styles/sections.css */

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, 
        var(--light-bg) 0%, 
        rgba(255, 255, 255, 0.8) 50%, 
        var(--light-bg) 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

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

.hero-title {
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-description {
    margin-bottom: 40px;
    font-size: 1.125rem;
    max-width: 480px;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Features Section */
.features {
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin-bottom: 120px;
}

.how-it-works-preview {
    padding-top: 80px;
}

.steps-container {
    display: grid;
    gap: 60px;
    max-width: 900px;
    margin: 0 auto;
}

.step {
    display: grid;
    grid-template-columns: 60px 1fr auto;
    gap: 32px;
    align-items: center;
}

.step-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--green);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(104, 247, 11, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(104, 247, 11, 0.2);
}

.step-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray);
    margin-bottom: 12px;
}

.step-content p {
    color: var(--medium-gray);
    line-height: 1.6;
}

.step-visual {
    width: 120px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Step Visuals */
.mini-phone {
    width: 60px;
    height: 100px;
    background: var(--gray);
    border-radius: 12px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.add-animation {
    width: 30px;
    height: 30px;
    border: 2px solid var(--green);
    border-radius: 50%;
    position: relative;
    animation: pulse-add 2s ease-in-out infinite;
}

.add-animation::before,
.add-animation::after {
    content: '';
    position: absolute;
    background: var(--green);
}

.add-animation::before {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 2px;
}

.add-animation::after {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 2px;
    height: 12px;
}

.location-dots {
    display: flex;
    gap: 12px;
    align-items: center;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-light);
    transition: all 0.3s ease;
    animation: location-pulse 3s ease-in-out infinite;
}

.dot.active {
    background: var(--green);
    box-shadow: 0 0 12px rgba(104, 247, 11, 0.4);
}

.location-dots .dot:nth-child(2) {
    animation-delay: 1s;
}

.location-dots .dot:nth-child(3) {
    animation-delay: 2s;
}

.notification-popup {
    background: var(--white);
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    animation: notification-bounce 3s ease-in-out infinite;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.notification-icon {
    font-size: 1.25rem;
}

.notification-text {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray);
}

/* Comparison Section */
.comparison {
    background: var(--light-bg);
    position: relative;
}

.comparison-content {
    max-width: 1200px;
    margin: 0 auto;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 80px;
}

/* Visual Comparison */
.approach-comparison {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.approach {
    padding: 32px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    background: var(--white);
    transition: all 0.3s ease;
}

.approach.bugo {
    border-color: var(--green);
    box-shadow: 0 0 0 1px rgba(104, 247, 11, 0.1);
}

.approach.bugo:hover {
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(104, 247, 11, 0.2);
}

.approach.traditional:hover {
    box-shadow: var(--shadow-md);
}

.approach-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray);
    margin-bottom: 4px;
}

.approach-subtitle {
    font-size: 0.875rem;
    color: var(--medium-gray);
    margin-bottom: 24px;
}

.approach.bugo .approach-subtitle {
    color: var(--green);
    font-weight: 500;
}

/* Traditional Tracker Visual */
.tracker-items {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.tracker-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.item-base {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.item-base.keys {
    background: #fbbf24;
}

.item-base.wallet {
    background: #8b5cf6;
}

.item-base.backpack {
    background: #06b6d4;
}

.item-base::before {
    content: '🔑';
}

.item-base.wallet::before {
    content: '💳';
}

.item-base.backpack::before {
    content: '🎒';
}

.tracker-tag {
    background: #6b7280;
    color: white;
    font-size: 0.625rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
}

/* Bugo Approach Visual */
.phone-representation {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.phone-screen-mini {
    width: 120px;
    height: 200px;
    background: #1f2937;
    border-radius: 20px;
    padding: 4px;
    position: relative;
}

.phone-screen-mini::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: #4b5563;
    border-radius: 1px;
}

.location-pulse {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse-location 2s ease-in-out infinite;
}

.location-pulse::before {
    content: '';
    position: absolute;
    inset: -4px;
    border: 1px solid var(--green);
    border-radius: 50%;
    animation: pulse-ring 2s ease-in-out infinite;
}

.item-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    align-items: center;
}

.item-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    animation: dot-pulse 3s ease-in-out infinite;
}

.item-dot.keys {
    background: #fbbf24;
}

.item-dot.wallet {
    background: #8b5cf6;
    animation-delay: 0.5s;
}

.item-dot.backpack {
    background: #06b6d4;
    animation-delay: 1s;
}

.item-dot.laptop {
    background: #10b981;
    animation-delay: 1.5s;
}

.item-dot.plus {
    background: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.625rem;
    font-weight: 600;
    color: var(--gray);
    animation-delay: 2s;
}

.cost-indicator {
    text-align: center;
    font-size: 0.875rem;
    font-weight: 500;
    color: #ef4444;
}

.cost-indicator.green {
    color: var(--green);
}

/* Comparison Table */
.comparison-table {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 32px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.table-header {
    margin-bottom: 32px;
}

.table-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray);
}

.comparison-rows {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.comparison-row {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-light);
}

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

.comparison-category {
    font-weight: 600;
    color: var(--gray);
    margin-bottom: 12px;
}

.comparison-values {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.comparison-value {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.875rem;
    padding: 8px 0;
}

.bugo-value {
    color: var(--dark-gray);
}

.traditional-value {
    color: var(--medium-gray);
}

/* Benefits Section */
.benefits-section {
    margin-top: 80px;
}

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

.benefit-card {
    text-align: center;
    padding: 32px 24px;
    background: var(--white);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(104, 247, 11, 0.2);
}

.benefit-icon {
    width: 64px;
    height: 64px;
    background: rgba(104, 247, 11, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    background: var(--green);
    color: var(--gray);
    transform: scale(1.05);
}

.benefit-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray);
    margin-bottom: 12px;
}

.benefit-card p {
    color: var(--medium-gray);
    line-height: 1.6;
}

/* Download Section */
.download {
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.download::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 100%;
    background: radial-gradient(ellipse at center top, rgba(104, 247, 11, 0.03) 0%, transparent 60%);
    pointer-events: none;
}

.download-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.download-main {
    max-width: 480px;
}

.download-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.download-meta {
    border-top: 1px solid var(--border-light);
    padding-top: 32px;
}

.download-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}

.stat-item {
    color: var(--medium-gray);
    font-size: 0.875rem;
}

.stat-item strong {
    color: var(--gray);
}

/* Preview Section */
.download-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.preview-phones {
    display: flex;
    justify-content: center;
}

.preview-phone {
    width: 280px;
    height: 580px;
    background: #1f2937;
    border-radius: 36px;
    padding: 8px;
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    animation: phone-float 4s ease-in-out infinite;
}

.phone-screen-preview {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 28px;
    overflow: hidden;
    position: relative;
}

.phone-screen-preview::before {
    content: '';
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: #e5e7eb;
    border-radius: 2px;
    z-index: 1;
}

.preview-interface {
    padding: 40px 24px 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray);
}

.preview-status {
    display: flex;
    align-items: center;
    gap: 8px;
}

.signal-bars {
    display: flex;
    gap: 2px;
    align-items: end;
}

.bar {
    width: 3px;
    background: var(--gray);
    border-radius: 1px;
}

.bar:nth-child(1) { height: 4px; }
.bar:nth-child(2) { height: 6px; }
.bar:nth-child(3) { height: 8px; }
.bar:nth-child(4) { height: 10px; }

.preview-content {
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.app-logo {
    margin: 0 auto 24px;
    animation: logo-pulse 3s ease-in-out infinite;
}

.preview-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray);
    margin-bottom: 8px;
}

.preview-content p {
    color: var(--medium-gray);
    margin-bottom: 40px;
}

.quick-setup {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.setup-step {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.setup-step.active {
    background: rgba(104, 247, 11, 0.1);
}

.step-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--border-light);
    color: var(--medium-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.setup-step.active .step-icon {
    background: var(--green);
    color: var(--gray);
}

.setup-step span {
    color: var(--medium-gray);
    font-size: 0.875rem;
}

.setup-step.active span {
    color: var(--gray);
    font-weight: 500;
}

.preview-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 300px;
}

.preview-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--medium-gray);
    font-size: 0.875rem;
}

/* Footer Section */
.footer {
    background: var(--gray);
    color: var(--light-bg);
    padding: 180px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-bottom: 24px;
    color: var(--green);
    transition: transform 0.2s ease;
}

.footer-logo img {
    max-width: 6rem;
}

.footer-logo:hover {
    transform: scale(1.02);
}

.footer-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    letter-spacing: -0.02em;
}

.footer-description {
    color: #9ca3af;
    line-height: 1.7;
    margin-bottom: 32px;
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--green);
    color: var(--gray);
    transform: translateY(-2px);
}

.footer-sections {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.footer-section-title {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
    padding: 4px 0;
}

.footer-link:hover {
    color: var(--green);
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding: 32px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    color: #6b7280;
    font-size: 0.875rem;
}

.footer-bottom-links {
    display: flex;
    gap: 32px;
}

.footer-bottom-link {
    color: #6b7280;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.footer-bottom-link:hover {
    color: var(--green);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        gap: 60px;
    }
    
    .phone-mockup {
        width: 240px;
        height: 500px;
    }
    
    .comparison-grid {
        gap: 60px;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 24px;
    }
    
    .download-content {
        gap: 60px;
    }
    
    .footer-content {
        gap: 60px;
    }
    
    .footer-sections {
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .hero-text {
        max-width: none;
    }
    
    .phone-mockup {
        width: 260px;
        height: 540px;
    }
    
    .floating-indicator.location {
        right: 10px;
    }
    
    .floating-indicator.notification {
        left: 10px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .step {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
    
    .step-visual {
        order: -1;
        margin: 0 auto;
    }
    
    .steps-container {
        gap: 40px;
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .approach-comparison {
        gap: 24px;
    }
    
    .approach {
        padding: 24px;
    }
    
    .comparison-table {
        padding: 24px;
    }
    
    .benefits-section {
        margin-top: 60px;
    }
    
    .benefit-card {
        padding: 24px 20px;
    }
    
    .download-content {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .download-main {
        max-width: none;
    }
    
    .download-buttons {
        justify-content: center;
    }
    
    .download-stats {
        justify-content: center;
    }
    
    .preview-phone {
        width: 240px;
        height: 500px;
    }
    
    .footer {
        padding: 60px 0 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    
    .footer-brand {
        max-width: none;
    }
    
    .footer-sections {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-bottom-links {
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .tracker-items {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .phone-screen-mini {
        width: 100px;
        height: 180px;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .download-btn {
        min-width: 200px;
    }
    
    .download-stats {
        flex-wrap: wrap;
        gap: 16px;
    }
    
    .footer {
        margin-top: 80px;
    }
    
    .footer-sections {
        gap: 32px;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}