/*
Theme Name: Erintigo
Theme URI: https://erintigo.com
Author: Erintigo Team
Description: A mysterious landing page theme for IT services with dark theme and electric blue accents, designed to build anticipation and capture early interest.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: erintigo
*/

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

/* CSS Variables - Dark Theme with Electric Blue */
:root {
    --background: 220 15% 8%;
    --foreground: 0 0% 98%;
    --primary: 210 90% 65%;
    --primary-foreground: 0 0% 100%;
    --muted: 220 15% 25%;
    --muted-foreground: 0 0% 70%;
    --accent: 210 90% 65%;
    --card: 220 15% 12%;
    --card-foreground: 0 0% 98%;
    --border: 220 15% 20%;
    --chart-2: 280 70% 65%;
    --chart-3: 200 80% 60%;
}

/* Base Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: hsl(var(--foreground));
    background-color: hsl(var(--background));
    overflow-x: hidden;
}

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

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: hsl(var(--primary) / 0.2);
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite;
}

.particle-1 {
    top: 25%;
    left: 25%;
    width: 0.5rem;
    height: 0.5rem;
    animation-delay: 0s;
    animation-duration: 3s;
}

.particle-2 {
    top: 33%;
    right: 33%;
    width: 0.25rem;
    height: 0.25rem;
    animation-delay: 1s;
    animation-duration: 4s;
    background: hsl(var(--chart-2) / 0.3);
}

.particle-3 {
    bottom: 33%;
    left: 50%;
    width: 0.75rem;
    height: 0.75rem;
    animation-delay: 2s;
    animation-duration: 5s;
    background: hsl(var(--primary) / 0.1);
}

.particle-4 {
    top: 66%;
    right: 25%;
    width: 0.375rem;
    height: 0.375rem;
    animation-delay: 1.5s;
    animation-duration: 3.5s;
    background: hsl(var(--chart-2) / 0.2);
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

.geometric-line-1 {
    position: absolute;
    top: 50%;
    left: 0;
    width: 8rem;
    height: 1px;
    background: linear-gradient(to right, transparent, hsl(var(--primary) / 0.2), transparent);
    transform: rotate(12deg);
}

.geometric-line-2 {
    position: absolute;
    bottom: 25%;
    right: 0;
    width: 6rem;
    height: 1px;
    background: linear-gradient(to left, transparent, hsl(var(--chart-2) / 0.2), transparent);
    transform: rotate(-12deg);
}

.floating-icon {
    position: absolute;
    opacity: 0.1;
    animation: pulse 6s ease-in-out infinite;
}

.icon-1 {
    top: 25%;
    right: 25%;
    width: 1rem;
    height: 1rem;
    animation-delay: 0.5s;
    animation-duration: 6s;
}

.icon-2 {
    bottom: 33%;
    left: 20%;
    width: 1.25rem;
    height: 1.25rem;
    animation-delay: 2.5s;
    animation-duration: 4s;
}

.icon-3 {
    top: 33%;
    left: 33%;
    width: 0.75rem;
    height: 0.75rem;
    animation-delay: 1.8s;
    animation-duration: 5.5s;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 64rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.company-name {
    font-size: 6rem;
    font-weight: 700;
    margin-bottom: 2rem;
    letter-spacing: -0.05em;
    background: linear-gradient(to right, hsl(var(--foreground)), hsl(var(--primary)), hsl(var(--chart-2)));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.main-tagline {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: hsl(var(--foreground) / 0.9);
}

.subtitle {
    font-size: 1.125rem;
    color: hsl(var(--muted-foreground));
    margin-bottom: 3rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.125rem;
    padding: 1.5rem 2rem;
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.2s;
}

.cta-button:hover {
    background: hsl(var(--primary) / 0.9);
}

/* Services Section */
.services-section {
    padding: 6rem 1.5rem;
}

.services-header {
    text-align: center;
    margin-bottom: 4rem;
}

.services-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.services-title .highlight {
    color: hsl(var(--primary));
}

.services-subtitle {
    font-size: 1.125rem;
    color: hsl(var(--muted-foreground));
    max-width: 42rem;
    margin: 0 auto;
}

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

.service-card {
    position: relative;
    padding: 2rem;
    border-radius: 0.5rem;
    border: 1px solid hsl(var(--primary) / 0.1);
    transition: all 0.3s;
    cursor: pointer;
}

.service-card:hover {
    border-color: hsl(var(--primary) / 0.3);
    transform: translateY(-2px);
}

.service-card.gradient-1 {
    background: linear-gradient(to bottom right, hsl(var(--primary) / 0.2), hsl(var(--primary) / 0.05));
}

.service-card.gradient-2 {
    background: linear-gradient(to bottom right, hsl(var(--chart-2) / 0.2), hsl(var(--chart-2) / 0.05));
}

.service-card.gradient-3 {
    background: linear-gradient(to bottom right, hsl(var(--chart-3) / 0.2), hsl(var(--chart-3) / 0.05));
}

.service-icon {
    width: 3rem;
    height: 3rem;
    margin-bottom: 1.5rem;
    padding: 0.75rem;
    background: hsl(var(--primary) / 0.1);
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: hsl(var(--primary));
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.service-description {
    color: hsl(var(--muted-foreground));
    margin-bottom: 1rem;
}

.service-hint {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: hsl(var(--primary));
}

/* Contact Section */
.contact-section {
    padding: 6rem 1.5rem;
    background: hsl(var(--card) / 0.2);
}

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

.contact-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.contact-title .highlight {
    color: hsl(var(--primary));
}

.contact-subtitle {
    font-size: 1.125rem;
    color: hsl(var(--muted-foreground));
}

.contact-form-wrapper {
    max-width: 42rem;
    margin: 0 auto;
    padding: 2rem;
    background: linear-gradient(to bottom right, hsl(var(--card)), hsl(var(--card) / 0.5));
    border: 1px solid hsl(var(--primary) / 0.2);
    border-radius: 0.5rem;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: hsl(var(--foreground) / 0.8);
    margin-bottom: 0.5rem;
}

.contact-form .input-wrapper {
    position: relative;
}

.contact-form .input-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1rem;
    height: 1rem;
    color: hsl(var(--muted-foreground));
}

.contact-form input[type="email"],
.contact-form input[type="text"] {
    width: 100%;
    padding: 0.75rem 0.75rem 0.75rem 2.5rem;
    background: hsl(var(--background));
    border: 1px solid hsl(var(--border));
    border-radius: 0.375rem;
    color: hsl(var(--foreground));
    font-size: 1rem;
    transition: border-color 0.2s;
}

.contact-form input[type="email"]:focus,
.contact-form input[type="text"]:focus {
    outline: none;
    border-color: hsl(var(--primary));
}

.contact-form .submit-button {
    width: 100%;
    padding: 1.5rem;
    font-size: 1.125rem;
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background-color 0.2s;
}

.contact-form .submit-button:hover:not(:disabled) {
    background: hsl(var(--primary) / 0.9);
}

.contact-form .submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.contact-form .privacy-hint {
    margin-top: 1rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: hsl(var(--muted-foreground) / 0.6);
    text-align: center;
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 3rem;
    background: linear-gradient(to bottom right, hsl(var(--primary) / 0.1), hsl(var(--chart-2) / 0.1));
    border: 1px solid hsl(var(--primary) / 0.2);
    border-radius: 0.5rem;
    max-width: 42rem;
    margin: 0 auto;
}

.success-icon {
    width: 4rem;
    height: 4rem;
    color: hsl(var(--primary));
    margin: 0 auto 1.5rem;
}

.success-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.success-description {
    font-size: 1.125rem;
    color: hsl(var(--muted-foreground));
    margin-bottom: 1rem;
}

.success-hint {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground) / 0.6);
    margin-top: 1rem;
}

.back-button {
    margin-top: 2rem;
    padding: 0.75rem 2rem;
    background: transparent;
    color: hsl(var(--primary));
    border: 1px solid hsl(var(--primary));
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
}

.back-button:hover {
    background: hsl(var(--primary) / 0.1);
}

/* Spinner Animation */
@keyframes spin {
    to { transform: rotate(360deg); }
}

.spinner {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid hsl(var(--primary-foreground) / 0.3);
    border-top-color: hsl(var(--primary-foreground));
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    .company-name {
        font-size: 3.5rem;
    }
    
    .main-tagline {
        font-size: 1.5rem;
    }
    
    .services-title,
    .contact-title {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .company-name {
        font-size: 2.5rem;
    }
    
    .main-tagline {
        font-size: 1.25rem;
    }
}
