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

:root {
    /* Brand Colors */
    --primary-color: #30D5C8;
    --primary-dark: #1a9d93;
    
    /* Grayscale */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --gray-950: #030712;
    
    /* Instagram Gradient */
    --instagram-from: #9333ea;
    --instagram-via: #ec4899;
    --instagram-to: #f97316;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Transitions */
    --transition-fast: 150ms;
    --transition-base: 300ms;
    --transition-slow: 500ms;
}

body {
    font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: var(--gray-900);
    background: var(--gray-50);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1 {
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.5;
    margin: 0;
}

h2 {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.5;
    margin: 0;
}

h3 {
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1.5;
    margin: 0;
}

p {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Icons */
.icon {
    stroke-linecap: round;
    stroke-linejoin: round;
}

.icon-sm {
    width: 1rem;
    height: 1rem;
}

.icon-md {
    width: 1.25rem;
    height: 1.25rem;
}

.icon-lg {
    width: 1.75rem;
    height: 1.75rem;
}

.icon-xl {
    width: 2rem;
    height: 2rem;
}

/* Page Wrapper */
.page-wrapper {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--gray-50) 0%, #ffffff 50%, var(--gray-50) 100%);
}

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--gray-100);
}

.hero-gradient {
    position: relative;
    padding: 4rem 1rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    background-image: radial-gradient(circle at 2px 2px, white 1px, transparent 0);
    background-size: 32px 32px;
}

.hero-content {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    text-align: center;
    color: white;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-sm) var(--spacing-md);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.95);
}

.hero-description {
    max-width: 36rem;
    margin: var(--spacing-md) auto 0;
    color: #000000;
}

/* Contact Section */
.contact-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 4rem 1rem;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.section-header h2 {
    margin-bottom: var(--spacing-md);
    color: var(--gray-900);
}

.section-header p {
    color: var(--gray-600);
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Contact Card */
.contact-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base) ease;
}

.contact-card:hover {
    border-color: rgba(48, 213, 200, 0.4);
    box-shadow: var(--shadow-md);
}

.contact-card-instagram:hover {
    border-color: rgba(236, 72, 153, 0.4);
}

.card-content {
    padding: var(--spacing-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Icon Wrapper */
.icon-wrapper {
    width: 4rem;
    height: 4rem;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base) ease;
}

.contact-card:hover .icon-wrapper {
    transform: scale(1.1);
}

.icon-wrapper-primary {
    background-color: var(--primary-color);
    color: white;
}

.icon-wrapper-instagram {
    background: linear-gradient(135deg, var(--instagram-from) 0%, var(--instagram-via) 50%, var(--instagram-to) 100%);
    color: white;
}

.card-content h3 {
    margin-bottom: 0.25rem;
    color: var(--gray-900);
}

.card-subtitle {
    color: var(--gray-500);
    margin-bottom: var(--spacing-md);
}

/* Contact Links */
.contact-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-lg);
    background: var(--gray-50);
    color: var(--gray-700);
    transition: all var(--transition-base) ease;
}

.contact-link:hover {
    background: rgba(48, 213, 200, 0.1);
    color: var(--primary-color);
}

.contact-link-email {
    font-size: 0.875rem;
    word-break: break-all;
}

.contact-link-instagram:hover {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
    color: var(--instagram-via);
}

/* Address Text */
.address-text {
    color: var(--gray-700);
}

.address-text p {
    margin-bottom: 0.25rem;
}

.address-text p:last-child {
    margin-bottom: 0;
}

/* Footer */
.footer {
    background: linear-gradient(to bottom, var(--gray-900) 0%, var(--gray-950) 100%);
    color: white;
    border-top: 1px solid var(--gray-800);
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 4rem 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-column {
    text-align: center;
}

/* Footer Logo */
.footer-logo {
    display: flex;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
}

.logo-icon {
    width: 4rem;
    height: 4rem;
    border-radius: var(--radius-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    color: white;
}

.footer-column h3 {
    margin-bottom: var(--spacing-sm);
    color: white;
}

.footer-company {
    color: var(--gray-400);
    margin-bottom: var(--spacing-md);
}

.footer-description {
    color: var(--gray-400);
    margin-bottom: var(--spacing-lg);
    max-width: 20rem;
    margin-left: auto;
    margin-right: auto;
}

/* Social Links */
.social-links {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
}

.social-link {
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base) ease;
    color: white;
}

.social-link:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

.social-instagram {
    background: linear-gradient(135deg, var(--instagram-from) 0%, var(--instagram-via) 50%, var(--instagram-to) 100%);
}

.social-primary {
    background-color: var(--primary-color);
}

/* Footer Contact List */
.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-icon-wrapper {
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(48, 213, 200, 0.15);
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    transition: transform var(--transition-base) ease;
}

.footer-icon-wrapper:hover {
    transform: scale(1.1);
}

.footer-label {
    color: var(--gray-500);
    margin-bottom: 0.25rem;
}

.footer-link {
    color: white;
    transition: color var(--transition-base) ease;
    word-break: break-all;
}

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

/* Footer Address */
.footer-address {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-address .footer-icon-wrapper {
    margin-bottom: var(--spacing-md);
}

.footer-address-text {
    color: var(--gray-400);
}

/* Footer Bottom */
.footer-bottom {
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--gray-800);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
}

.copyright {
    color: var(--gray-400);
    text-align: center;
}

.footer-credits {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--gray-400);
}

.heart-icon {
    width: 1.25rem;
    height: 1.25rem;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: white;
    font-size: 0.875rem;
}

/* Responsive Adjustments */
@media (max-width: 767px) {
    .hero-gradient {
        padding: 3rem 1rem;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    h2 {
        font-size: 1.25rem;
    }
    
    .contact-section {
        padding: 3rem 1rem;
    }
    
    .footer-content {
        padding: 3rem 1rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Performance Optimizations */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
