/*
Theme Name: Terra Tools SWARM
Theme URI: https://terra.tools
Description: Marine Autonomous Rescue System - AI-coordinated drone fleet technology for offshore operations
Version: 4.5
Author: Terra Tools
Author URI: https://terra.tools
*/

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

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

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

/* Header Banner */
.header-banner {
    width: 100%;
    background: #000;
    margin: 0;
    padding: 0;
}

.header-banner img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 350px;
    object-fit: cover;
    object-position: center;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
    color: white;
    padding: 120px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 50px,
            rgba(59, 130, 246, 0.03) 50px,
            rgba(59, 130, 246, 0.03) 51px
        ),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 50px,
            rgba(59, 130, 246, 0.03) 50px,
            rgba(59, 130, 246, 0.03) 51px
        );
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 120px;
    font-weight: 900;
    letter-spacing: 20px;
    margin-bottom: 20px;
    text-shadow: 0 0 40px rgba(59, 130, 246, 0.5);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 20px rgba(59, 130, 246, 0.5); }
    to { text-shadow: 0 0 40px rgba(59, 130, 246, 0.8), 0 0 60px rgba(59, 130, 246, 0.5); }
}

.hero-subtitle {
    font-size: 24px;
    letter-spacing: 4px;
    margin-bottom: 30px;
    color: #60a5fa;
    font-weight: 300;
}

.hero-description {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 40px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
}

.btn-primary:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background: white;
    color: #0f172a;
}

/* Technology Section */
.technology-section {
    padding: 100px 20px;
    background: linear-gradient(to bottom, #f8fafc 0%, #ffffff 100%);
}

.technology-section h2 {
    text-align: center;
    font-size: 48px;
    margin-bottom: 60px;
    color: #0f172a;
}

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

.tech-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    border-color: #3b82f6;
}

.tech-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.tech-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #0f172a;
}

.tech-card p {
    color: #64748b;
    line-height: 1.7;
}

/* SWARM Intelligence Section */
.swarm-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
    color: white;
}

.swarm-content {
    display: grid;
    grid-template-columns: 450px 1fr;
    gap: 60px;
    align-items: start;
}

.swarm-section h2 {
    font-size: 42px;
    margin-bottom: 30px;
}

.swarm-list {
    list-style: none;
    margin-top: 30px;
}

.swarm-list li {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    line-height: 1.8;
}

.swarm-list li:last-child {
    border-bottom: none;
}

.swarm-image {
    position: sticky;
    top: 20px;
}

/* Marine Division Section */
.marine-division-section {
    padding: 100px 20px;
    background: white;
}

.marine-division-section h2 {
    text-align: center;
    font-size: 48px;
    margin-bottom: 20px;
    color: #0f172a;
}

.section-intro {
    text-align: center;
    font-size: 20px;
    color: #64748b;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.industry-card {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 40px;
    border-radius: 12px;
    border-left: 4px solid #3b82f6;
}

.industry-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #0f172a;
}

.industry-card p {
    color: #64748b;
    line-height: 1.7;
}

/* Partnership Section */
.partnership-section {
    padding: 100px 20px;
    background: linear-gradient(to bottom, #f8fafc 0%, #ffffff 100%);
}

.partnership-section h2 {
    text-align: center;
    font-size: 48px;
    margin-bottom: 20px;
    color: #0f172a;
}

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

.partner-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    border-color: #3b82f6;
}

.partner-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #0f172a;
}

.partner-card p {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 20px;
}

.partner-link {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.partner-link:hover {
    color: #2563eb;
    transform: translateX(5px);
}

/* Contact Section */
.contact-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
    color: white;
    text-align: center;
}

.contact-section h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.contact-section p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.contact-options {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.site-footer {
    background: #0f172a;
    color: rgba(255, 255, 255, 0.8);
    padding: 40px 20px;
    text-align: center;
}

.site-footer p {
    margin: 10px 0;
}

.site-footer a {
    color: #60a5fa;
    text-decoration: none;
}

.site-footer a:hover {
    color: #3b82f6;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 60px;
        letter-spacing: 10px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .swarm-content {
        grid-template-columns: 1fr;
    }
    
    .swarm-image {
        position: static;
        margin-top: 40px;
    }
    
    #swarm-visualization-root {
        height: 500px !important;
    }
    
    .tech-grid,
    .industries-grid,
    .partnership-grid {
        grid-template-columns: 1fr;
    }
    
    .header-banner img {
        max-height: 200px;
    }
}
