/* =====================================================
   ATMACASOFT - Hero Section Özel Stilleri
   ===================================================== */

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--hero-gradient);
    overflow: hidden;
    padding-top: 100px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

.hero-text {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: rgba(6, 214, 160, 0.1);
    border: 1px solid rgba(6, 214, 160, 0.3);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    color: var(--accent);
    margin-bottom: var(--space-6);
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: glowPulse 2s ease-in-out infinite;
}

.hero-title {
    margin-bottom: var(--space-6);
    line-height: 1.1;
}

.hero-title .highlight {
    display: block;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: var(--text-xl);
    color: var(--text-muted);
    margin-bottom: var(--space-8);
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: var(--space-4);
    margin-bottom: var(--space-12);
}

.hero-stats {
    display: flex;
    gap: var(--space-10);
}

.hero-stat {
    text-align: left;
}

.hero-stat-value {
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--accent);
    margin-bottom: var(--space-1);
}

.hero-stat-label {
    font-size: var(--text-sm);
    color: var(--text-muted);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-mockup {
    position: relative;
    width: 100%;
    max-width: 600px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg), 0 0 80px rgba(6, 214, 160, 0.15);
    border: 1px solid var(--glass-border);
}

.hero-mockup::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(13, 27, 42, 0.5) 100%);
    pointer-events: none;
    z-index: 1;
}

.hero-mockup img {
    width: 100%;
    display: block;
}

/* Browser Frame */
.browser-frame {
    background: var(--bg-darker);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.browser-header {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--glass-border);
}

.browser-dots {
    display: flex;
    gap: var(--space-2);
}

.browser-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.browser-dots span:nth-child(1) {
    background: #ff5f57;
}

.browser-dots span:nth-child(2) {
    background: #febc2e;
}

.browser-dots span:nth-child(3) {
    background: #28c840;
}

.browser-url {
    flex: 1;
    background: var(--glass-bg);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-md);
    font-size: var(--text-xs);
    color: var(--text-muted);
}

.browser-content {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.browser-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Floating Elements */
.floating-card {
    position: absolute;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    display: flex;
    align-items: center;
    gap: var(--space-3);
    animation: float 6s ease-in-out infinite;
    box-shadow: var(--shadow-md);
    z-index: 20;
}

.floating-card.card-1 {
    top: 10%;
    left: -30px;
    animation-delay: 0s;
}

.floating-card.card-2 {
    bottom: 20%;
    right: -30px;
    animation-delay: -2s;
}

.floating-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gradient);
    border-radius: var(--radius-md);
    font-size: var(--text-lg);
}

.floating-text {
    font-size: var(--text-sm);
    font-weight: 500;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: var(--section-gradient);
    position: relative;
    overflow: hidden;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-title {
    margin-bottom: var(--space-6);
}

.cta-text {
    font-size: var(--text-lg);
    margin-bottom: var(--space-8);
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: var(--space-4);
}

/* ===== SERVICES SECTION ===== */
.services-section {
    background: var(--bg-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

/* ===== FEATURES TAB SECTION ===== */
.features-section {
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
}

.features-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: var(--space-10);
}

.features-tabs {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.feature-tab {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-4) var(--space-5);
    background: transparent;
    border: 1px solid transparent;
    border-radius: var(--radius-lg);
    text-align: left;
    color: var(--text-muted);
    font-weight: 500;
    transition: all var(--transition-base);
}

.feature-tab:hover {
    background: var(--glass-bg);
    color: var(--text-primary);
}

.feature-tab.active {
    background: var(--glass-bg);
    border-color: var(--accent);
    color: var(--text-primary);
}

.feature-tab-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border-radius: var(--radius-md);
    font-size: var(--text-lg);
    transition: background var(--transition-base);
}

.feature-tab.active .feature-tab-icon {
    background: var(--accent-gradient);
}

.features-display {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    min-height: 400px;
}

.feature-panel {
    display: none;
}

.feature-panel.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.feature-panel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
    align-items: center;
}

.feature-panel-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.feature-panel-image img {
    width: 100%;
}

/* ===== PROJECTS SECTION ===== */
.projects-section {
    background: var(--bg-dark);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.project-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
    position: relative;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
}

.project-image {
    aspect-ratio: 16/10;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-content {
    padding: var(--space-5);
}

.project-category {
    font-size: var(--text-xs);
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    margin-bottom: var(--space-2);
    display: block;
}

.project-title {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-3);
    line-height: 1.4;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--text-muted);
    font-size: var(--text-sm);
    transition: color var(--transition-base);
}

.project-card:hover .project-link {
    color: var(--accent);
}

/* ===== PROCESS SECTION ===== */
.process-section {
    background: var(--bg-darker);
}

/* ===== PRICING SECTION ===== */
.pricing-section {
    background: var(--section-gradient);
    position: relative;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
    align-items: stretch;
}

/* ===== TECH SECTION ===== */
.tech-section {
    background: var(--bg-dark);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--space-6);
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-6);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.tech-item:hover {
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    border-color: var(--accent);
}

.tech-item img,
.tech-item svg {
    width: 48px;
    height: 48px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all var(--transition-base);
}

.tech-item:hover img,
.tech-item:hover svg {
    filter: grayscale(0%);
    opacity: 1;
}

.tech-item span {
    font-size: var(--text-sm);
    color: var(--text-muted);
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
    background: var(--bg-darker);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .tech-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-12);
    }

    .hero-text {
        max-width: none;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }

    .hero-mockup {
        max-width: 500px;
    }

    .floating-card {
        display: none;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-content {
        grid-template-columns: 1fr;
    }

    .features-tabs {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: var(--space-2);
    }

    .feature-tab {
        white-space: nowrap;
    }

    .feature-panel-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .pricing-card.featured {
        transform: none;
    }

    .tech-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 80px;
        min-height: auto;
        padding-bottom: var(--space-16);
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--space-4);
    }

    .hero-stat {
        text-align: center;
    }

    .services-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}